public abstract class AbstractScalarWriter extends Object implements ScalarWriter
| Constructor and Description |
|---|
AbstractScalarWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindListener(WriterEvents.ColumnWriterListener listener) |
protected UnsupportedConversionError |
conversionError(String javaType) |
ValueType |
extendedType()
The extended type of the value, describes the secondary type
for DATE, TIME and TIMESTAMP for which the value type is
int or long.
|
void |
setObject(Object value)
Generic technique to write data as a generic Java object.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetDefaultValue, valueTypecopy, isProjected, nullable, schema, setNull, typeappendBytes, setBoolean, setBytes, setDate, setDecimal, setDouble, setFloat, setInt, setLong, setNull, setPeriod, setString, setTime, setTimestamp, setValuepublic ValueType extendedType()
ScalarWriterextendedType in interface ScalarWriterpublic void setObject(Object value)
ColumnWritersetObject in interface ColumnWritervalue - value to write to the vector. The Java type of the
object indicates the Drill storage typeprotected UnsupportedConversionError conversionError(String javaType)
public void bindListener(WriterEvents.ColumnWriterListener listener)
Copyright © 2021 The Apache Software Foundation. All rights reserved.