Class ColumnConverter

java.lang.Object
org.apache.drill.exec.physical.impl.scan.convert.ColumnConverter
Direct Known Subclasses:
DirectConverter

public class ColumnConverter extends Object
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.