Package org.apache.calcite.schema
Interface Path
- All Superinterfaces:
Collection<Pair<String,
,Schema>> Iterable<Pair<String,
,Schema>> List<Pair<String,
,Schema>> 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
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
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
-
Method Details
-
parent
Path parent()Returns the parent path, or null if the path is empty. -
names
Returns the names of this path, not including the name of the root. -
schemas
Returns the schemas of this path.
-