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
Constructors -
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:
getFieldSqlTypeNamesin classRecordDataType- Returns:
- the
SqlTypeNameof columns in the table as a pair with its nullability
-
getFieldNames
- Specified by:
getFieldNamesin classRecordDataType- Returns:
- the column names in the table
-