Class TypeDescriptor
java.lang.Object
org.apache.drill.common.scanner.persistence.TypeDescriptor
represents the type of a field
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDescriptorstatic TypeDescriptorforPrimitive(char c, int arrayDim) intabstract Class<?> getType()booleanisArray()boolean
-
Method Details
-
isPrimitive
public boolean isPrimitive() -
isArray
public boolean isArray() -
getArrayDim
public int getArrayDim()- Returns:
- the number of dimensions of the array or 0 if it's not an array
-
getType
- Returns:
- the type (element type if an array)
-
forClass
-
forPrimitive
-