public interface DataSetters
BinaryRow.| 限定符和类型 | 方法和说明 |
|---|---|
void |
setBoolean(int pos,
boolean value) |
void |
setByte(int pos,
byte value) |
void |
setDecimal(int pos,
Decimal value,
int precision)
Set the decimal column value.
|
void |
setDouble(int pos,
double value) |
void |
setFloat(int pos,
float value) |
void |
setInt(int pos,
int value) |
void |
setLong(int pos,
long value) |
void |
setNullAt(int pos) |
void |
setShort(int pos,
short value) |
void |
setTimestamp(int pos,
Timestamp value,
int precision)
Set Timestamp value.
|
void setNullAt(int pos)
void setBoolean(int pos,
boolean value)
void setByte(int pos,
byte value)
void setShort(int pos,
short value)
void setInt(int pos,
int value)
void setLong(int pos,
long value)
void setFloat(int pos,
float value)
void setDouble(int pos,
double value)
void setDecimal(int pos,
Decimal value,
int precision)
Note: Precision is compact: can call setNullAt(int) when decimal is null. Precision is
not compact: can not call setNullAt(int) when decimal is null, must call setDecimal(pos, null, precision) because we need update var-length-part.
void setTimestamp(int pos,
Timestamp value,
int precision)
Note: If precision is compact: can call setNullAt(int) when TimestampData value is
null. Otherwise: can not call setNullAt(int) when TimestampData value is null, must call
setTimestamp(pos, null, precision) because we need to update var-length-part.
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.