Class ColumnConverter
java.lang.Object
org.apache.drill.exec.physical.impl.scan.convert.ColumnConverter
- Direct Known Subclasses:
DirectConverter
Base class for any kind of column converter. Extend this class if
your columns work with reader-specific types, such as having to
call a type-specific method on some row object. In this case,
all your subclasses would implement the same method, say
void convertValue(MyRow row)
. Subclases might know their
column indexes within the row object, extract the value using
type-specific methods, then pass the value onto the scalar writer.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected UnsupportedConversionError
conversionError
(String javaType) schema()
writer()
-
Field Details
-
baseWriter
-
-
Constructor Details
-
ColumnConverter
-
-
Method Details
-
writer
-
schema
-
conversionError
-