Package org.apache.drill.exec.ops
Class ViewExpansionContext.ViewExpansionToken
java.lang.Object
org.apache.drill.exec.ops.ViewExpansionContext.ViewExpansionToken
- Enclosing class:
- ViewExpansionContext
Represents token issued to a view owner for expanding the view.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.schema.SchemaPlus
Get schema tree for view owner who owns this token.void
release()
Release the token.
-
Method Details
-
getSchemaTree
public org.apache.calcite.schema.SchemaPlus getSchemaTree()Get schema tree for view owner who owns this token.- Returns:
- Root of schema tree.
-
release
public void release()Release the token. Once released all method calls (except release) causeIllegalStateException
.
-