Class ConvertTimeStampToString
java.lang.Object
org.apache.drill.exec.physical.impl.scan.convert.ColumnConverter
org.apache.drill.exec.physical.impl.scan.convert.DirectConverter
org.apache.drill.exec.physical.impl.scan.convert.ConvertTimeStampToString
- All Implemented Interfaces:
ValueWriter
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.scan.convert.ColumnConverter
baseWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setTimestamp
(Instant value) void
Write value to a vector as a Java object of the "native" type for the column.Methods inherited from class org.apache.drill.exec.physical.impl.scan.convert.DirectConverter
appendBytes, setBoolean, setBytes, setDate, setDecimal, setDouble, setFloat, setInt, setLong, setNull, setPeriod, setString, setTime
Methods inherited from class org.apache.drill.exec.physical.impl.scan.convert.ColumnConverter
conversionError, schema, writer
-
Constructor Details
-
ConvertTimeStampToString
-
-
Method Details
-
setTimestamp
- Specified by:
setTimestamp
in interfaceValueWriter
- Overrides:
setTimestamp
in classDirectConverter
-
setValue
Description copied from interface:ValueWriter
Write value to a vector as a Java object of the "native" type for the column. This form is available only on scalar writers. The object must be of the form for the primary write method above.Primarily to be used when the code already knows the object type.
- Specified by:
setValue
in interfaceValueWriter
- Overrides:
setValue
in classDirectConverter
- Parameters:
value
- a value that matches the primary setter above, or null to set the column to null- See Also:
-