Package org.apache.drill.exec.dotdrill
Class View
java.lang.Object
org.apache.drill.exec.dotdrill.View
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()org.apache.calcite.rel.type.RelDataTypegetRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory) If view fields are present then attempts to gather them into struct type, otherwise returns extension ofDynamicRecordType.getSql()booleanhasStar()booleanvoid
-
Constructor Details
-
View
-
View
-
-
Method Details
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory) If view fields are present then attempts to gather them into struct type, otherwise returns extension ofDynamicRecordType.- Parameters:
factory- factory for rel data types creation- Returns:
- struct type that describes names and types of all
view fields or extension of
DynamicRecordTypewhen view fields are empty
-
isDynamic
public boolean isDynamic() -
hasStar
public boolean hasStar() -
getSql
-
setSql
-
getName
-
getFields
-
getWorkspaceSchemaPath
-