Uses of Class
org.apache.drill.exec.physical.impl.scan.convert.DirectConverter
Package
Description
Standard type conversion tools for the case in which the input
types are the standard Java types already supported by the
ValuesWriter
interface.-
Uses of DirectConverter in org.apache.drill.exec.physical.impl.scan.convert
Modifier and TypeClassDescriptionclass
Abstract class for string-to-something conversions.class
class
class
class
class
class
class
class
class
class
class
class
Convert a VARCHAR column to an BIT column following the Java rules for parsing Boolean values, then using 1 if the boolean is true, 0 if false.class
Convert a VARCHAR column to an DATE column following the Java rules for parsing a date time, optionally using the formatter provided in the column schema.class
Convert a VARCHAR column to an decimal column following the Java rules for parsing integers (i.e.class
Convert a VARCHAR column to a DOUBLE column following the Java rules for parsing doubles (i.e.class
Convert a VARCHAR column to an INT column following the Java rules for parsing integers (i.e.class
Convert a VARCHAR column to an INTERVAL column following the Java rules for parsing a period.class
Convert a VARCHAR column to an BIGINT column following the Java rules for parsing longs (i.e.class
Convert a VARCHAR column to an TIME column following the Java rules for parsing a date time, optionally using the formatter provided in the column schema.class
Convert a VARCHAR column to an TIMESTAMP column following the Java rules for parsing a date time, optionally using the formatter provided in the column schema.class
class
Modifier and TypeFieldDescriptionfinal Class<? extends DirectConverter>
StandardConversions.ConversionDefn.conversionClass
Modifier and TypeMethodDescriptionStandardConversions.newInstance
(Class<? extends DirectConverter> conversionClass, ScalarWriter baseWriter) StandardConversions.newInstance
(Class<? extends DirectConverter> conversionClass, ScalarWriter baseWriter, Map<String, String> properties) Modifier and TypeMethodDescriptionClass<? extends DirectConverter>
StandardConversions.convertFromVarchar
(ColumnMetadata outputDefn) Modifier and TypeMethodDescriptionStandardConversions.newInstance
(Class<? extends DirectConverter> conversionClass, ScalarWriter baseWriter) StandardConversions.newInstance
(Class<? extends DirectConverter> conversionClass, ScalarWriter baseWriter, Map<String, String> properties)