public class ConvertLongToString extends DirectConverter
baseWriter
Constructor and Description |
---|
ConvertLongToString(ScalarWriter baseWriter) |
Modifier and Type | Method and Description |
---|---|
void |
setLong(long 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, setNull, setPeriod, setString, setTime, setTimestamp
conversionError, schema, writer
public ConvertLongToString(ScalarWriter baseWriter)
public void setLong(long value)
setLong
in interface ValueWriter
setLong
in class DirectConverter
public void setValue(Object value)
ValueWriter
Primarily to be used when the code already knows the object type.
setValue
in interface ValueWriter
setValue
in class DirectConverter
value
- a value that matches the primary setter above, or null
to set the column to nullfor the generic case
Copyright © 1970 The Apache Software Foundation. All rights reserved.