public interface ValueWriter
Modifier and Type | Method and Description |
---|---|
void |
appendBytes(byte[] value,
int len) |
void |
setBoolean(boolean value) |
void |
setBytes(byte[] value,
int len) |
void |
setDate(LocalDate value) |
void |
setDecimal(BigDecimal value) |
void |
setDouble(double value) |
void |
setFloat(float value) |
void |
setInt(int value) |
void |
setLong(long value) |
void |
setNull()
Set the current value to null.
|
void |
setPeriod(org.joda.time.Period value) |
void |
setString(String value) |
void |
setTime(LocalTime value) |
void |
setTimestamp(Instant value) |
void |
setValue(Object value)
Write value to a vector as a Java object of the "native" type for
the column.
|
void setNull()
void setBoolean(boolean value)
void setInt(int value)
void setLong(long value)
void setFloat(float value)
void setDouble(double value)
void setString(String value)
void appendBytes(byte[] value, int len)
void setBytes(byte[] value, int len)
void setDecimal(BigDecimal value)
void setPeriod(org.joda.time.Period value)
void setDate(LocalDate value)
void setTime(LocalTime value)
void setTimestamp(Instant value)
void setValue(Object value)
Primarily to be used when the code already knows the object type.
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.