Package org.apache.calcite.schema
Interface Path
-
- All Superinterfaces:
java.util.Collection<Pair<java.lang.String,Schema>>
,java.lang.Iterable<Pair<java.lang.String,Schema>>
,java.util.List<Pair<java.lang.String,Schema>>
,java.util.RandomAccess
- All Known Implementing Classes:
Schemas.PathImpl
public interface Path extends java.util.List<Pair<java.lang.String,Schema>>, java.util.RandomAccess
Path from a root schema to a particular object (schema, table, function).Examples:
- The root schema has a single element [(root, "")].
- A direct child "foo" of the root schema has a two elements [(root, ""), (child, "foo")].
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
names()
Returns the names of this path, not including the name of the root.Path
parent()
Returns the parent path, or null if the path is empty.java.util.List<Schema>
schemas()
Returns the schemas of this path.-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-