Package org.apache.drill.exec.store.pojo
Class PojoDataType
java.lang.Object
org.apache.drill.exec.store.RecordDataType
org.apache.drill.exec.store.pojo.PojoDataType
This class uses reflection of a Java class to construct a
RecordDataType
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<AbstractMap.SimpleImmutableEntry<org.apache.calcite.sql.type.SqlTypeName,
Boolean>> Class<?>
Methods inherited from class org.apache.drill.exec.store.RecordDataType
getRowType
-
Constructor Details
-
PojoDataType
-
-
Method Details
-
getPojoClass
-
getFieldSqlTypeNames
public List<AbstractMap.SimpleImmutableEntry<org.apache.calcite.sql.type.SqlTypeName,Boolean>> getFieldSqlTypeNames()- Specified by:
getFieldSqlTypeNames
in classRecordDataType
- Returns:
- the
SqlTypeName
of columns in the table as a pair with its nullability
-
getFieldNames
- Specified by:
getFieldNames
in classRecordDataType
- Returns:
- the column names in the table
-