Class TypeDescriptor
java.lang.Object
org.apache.drill.common.scanner.persistence.TypeDescriptor
represents the type of a field
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDescriptor
static TypeDescriptor
forPrimitive
(char c, int arrayDim) int
abstract Class<?>
getType()
boolean
isArray()
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
-