public class ConvertIntervalToString extends DirectConverter
baseWriter| Constructor and Description |
|---|
ConvertIntervalToString(ScalarWriter baseWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
setPeriod(org.joda.time.Period value) |
void |
setValue(Object value)
Write value to a vector as a Java object of the "native" type for
the column.
|
appendBytes, setBoolean, setBytes, setDate, setDecimal, setDouble, setFloat, setInt, setLong, setNull, setString, setTime, setTimestampconversionError, schema, writerpublic ConvertIntervalToString(ScalarWriter baseWriter)
public void setPeriod(org.joda.time.Period value)
setPeriod in interface ValueWritersetPeriod in class DirectConverterpublic void setValue(Object value)
ValueWriterPrimarily to be used when the code already knows the object type.
setValue in interface ValueWritersetValue in class DirectConvertervalue - a value that matches the primary setter above, or null
to set the column to nullfor the generic caseCopyright © 2021 The Apache Software Foundation. All rights reserved.