public class Row extends Object implements Iterator<Row>
Table
.
Getters are provided for most vector types. The exceptions being NullVector
,
which only contains null values and has no getter, and ZeroVector
,
which is a zero-length vector of any type
This API is EXPERIMENTAL.
Modifier and Type | Field and Description |
---|---|
protected int |
rowNumber
the current row number.
|
protected BaseTable |
table
The table we're enumerating.
|
Constructor and Description |
---|
Row(BaseTable table)
Constructs a new Row backed by the given table.
|
Modifier and Type | Method and Description |
---|---|
long |
getBigInt(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getBigInt(int columnIndex,
NullableBigIntHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
long |
getBigInt(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getBigInt(String columnName,
NullableBigIntHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
int |
getBit(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getBit(int columnIndex,
NullableBitHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
int |
getBit(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getBit(String columnName,
NullableBitHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
int |
getDateDay(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getDateDay(int columnIndex,
NullableDateDayHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
int |
getDateDay(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getDateDay(String columnName,
NullableDateDayHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
long |
getDateMilli(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getDateMilli(int columnIndex,
NullableDateMilliHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
long |
getDateMilli(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getDateMilli(String columnName,
NullableDateMilliHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
ArrowBuf |
getDecimal(int columnIndex)
Returns an ArrowBuf from the column with the given index at the current row.
|
void |
getDecimal(int columnIndex,
NullableDecimalHolder holder)
Updates the value of the holder with data from vector at the given index at the current row.
|
ArrowBuf |
getDecimal(String columnName)
Returns an ArrowBuf from the column of the given name at the current row.
|
void |
getDecimal(String columnName,
NullableDecimalHolder holder)
Updates the value of the holder with data from the vector with given name at the current row.
|
BigDecimal |
getDecimalObj(int columnIndex)
Returns a BigDecimal from the column with the given index at the current row.
|
BigDecimal |
getDecimalObj(String columnName)
Returns a BigDecimal from the column of the given name at the current row.
|
Charset |
getDefaultCharacterSet()
Returns the default character set for use with character vectors.
|
Object |
getDenseUnion(int vectorIndex)
Returns an Object from the column with the given vectorIndex at the current row.
|
Object |
getDenseUnion(String columnName)
Returns an Object from the column of the given name at the current row.
|
ArrowBuf |
getDuration(int columnIndex)
Returns an ArrowBuf from the column with the given index at the current row.
|
void |
getDuration(int columnIndex,
NullableDurationHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
ArrowBuf |
getDuration(String columnName)
Returns an ArrowBuf from the column of the given name at the current row.
|
void |
getDuration(String columnName,
NullableDurationHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
Duration |
getDurationObj(int columnIndex)
Returns a Duration from the column with the given index at the current row.
|
Duration |
getDurationObj(String columnName)
Returns a Duration from the column of the given name at the current row.
|
Object |
getExtensionType(int vectorIndex)
Returns an object representing the value in the ExtensionTypeVector at the currentRow and vectorIndex.
|
Object |
getExtensionType(String columnName)
Returns an object representing the value in the named ExtensionTypeVector at the currentRow.
|
byte[] |
getFixedSizeBinary(int columnIndex)
Returns a byte[] from the column with the given index at the current row.
|
byte[] |
getFixedSizeBinary(String columnName)
Returns a byte[] from the column of the given name at the current row.
|
float |
getFloat4(int columnIndex)
Returns a float from the column with the given index at the current row.
|
void |
getFloat4(int columnIndex,
NullableFloat4Holder holder)
Updates the holder with the value in the column with the given index at the current row.
|
float |
getFloat4(String columnName)
Returns a float from the column of the given name at the current row.
|
void |
getFloat4(String columnName,
NullableFloat4Holder holder)
Updates the holder with the value in the column of the given name at the current row.
|
double |
getFloat8(int columnIndex)
Returns a double from the column with the given index at the current row.
|
void |
getFloat8(int columnIndex,
NullableFloat8Holder holder)
Updates the holder with the value in the column with the given index at the current row.
|
double |
getFloat8(String columnName)
Returns a double from the column of the given name at the current row.
|
void |
getFloat8(String columnName,
NullableFloat8Holder holder)
Updates the holder with the value in the column with the given index at the current row.
|
int |
getInt(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getInt(int columnIndex,
NullableIntHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
int |
getInt(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getInt(String columnName,
NullableIntHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
ArrowBuf |
getIntervalDay(int columnIndex)
Returns an ArrowBuf from the column with the given index at the current row.
|
void |
getIntervalDay(int columnIndex,
NullableIntervalDayHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
ArrowBuf |
getIntervalDay(String columnName)
Returns an ArrowBuf from the column of the given name at the current row.
|
void |
getIntervalDay(String columnName,
NullableIntervalDayHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
Duration |
getIntervalDayObj(int columnIndex)
Returns a Duration from the column with the given index at the current row.
|
Duration |
getIntervalDayObj(String columnName)
Returns a Duration from the column of the given name at the current row.
|
ArrowBuf |
getIntervalMonthDayNano(int columnIndex)
Returns an ArrowBuf from the column with the given index at the current row.
|
void |
getIntervalMonthDayNano(int columnIndex,
NullableIntervalMonthDayNanoHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
ArrowBuf |
getIntervalMonthDayNano(String columnName)
Returns an ArrowBuf from the column of the given name at the current row.
|
void |
getIntervalMonthDayNano(String columnName,
NullableIntervalMonthDayNanoHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
PeriodDuration |
getIntervalMonthDayNanoObj(int columnIndex)
Returns a PeriodDuration from the column with the given index at the current row.
|
PeriodDuration |
getIntervalMonthDayNanoObj(String columnName)
Returns a PeriodDuration from the column of the given name at the current row.
|
int |
getIntervalYear(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getIntervalYear(int columnIndex,
NullableIntervalYearHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
int |
getIntervalYear(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getIntervalYear(String columnName,
NullableIntervalYearHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
Period |
getIntervalYearObj(int columnIndex)
Returns a Period from the column with the given index at the current row.
|
Period |
getIntervalYearObj(String columnName)
Returns a Period from the column of the given name at the current row.
|
byte[] |
getLargeVarBinary(int columnIndex)
Returns a byte[] from the column with the given index at the current row.
|
byte[] |
getLargeVarBinary(String columnName)
Returns a byte[] from the column of the given name at the current row.
|
byte[] |
getLargeVarChar(int columnIndex)
Returns a byte[] from the column with the given index at the current row.
|
byte[] |
getLargeVarChar(String columnName)
Returns a byte[] from the column of the given name at the current row.
|
String |
getLargeVarCharObj(int columnIndex)
Returns a String from the column with the given index at the current row.
|
String |
getLargeVarCharObj(String columnName)
Returns a String from the column of the given name at the current row.
|
List<?> |
getList(int columnIndex)
Returns a List from the column with the given index at the current row.
|
List<?> |
getList(String columnName)
Returns a List from the column of the given name at the current row.
|
List<?> |
getMap(int vectorIndex)
Returns a Map from the column of the given vectorIndex at the current row.
|
List<?> |
getMap(String columnName)
Returns a Map from the column of the given name at the current row.
|
int |
getRowNumber() |
short |
getSmallInt(int columnIndex)
Returns a short from the column with the given index at the current row.
|
void |
getSmallInt(int columnIndex,
NullableSmallIntHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
short |
getSmallInt(String columnName)
Returns a short from the column of the given name at the current row.
|
void |
getSmallInt(String columnName,
NullableSmallIntHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
Object |
getStruct(int vectorIndex)
Returns an Object from the column at vectorIndex at the current row.
|
Object |
getStruct(String columnName)
Returns an Object from the column of the given name at the current row.
|
long |
getTimeMicro(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeMicro(int columnIndex,
NullableTimeMicroHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeMicro(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeMicro(String columnName,
NullableTimeMicroHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
int |
getTimeMilli(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getTimeMilli(int columnIndex,
NullableTimeMilliHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
int |
getTimeMilli(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getTimeMilli(String columnName,
NullableTimeMilliHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
LocalDateTime |
getTimeMilliObj(int columnIndex)
Returns a LocalDateTime from the column with the given index at the current row.
|
LocalDateTime |
getTimeMilliObj(String columnName)
Returns a LocalDateTime from the column of the given name at the current row.
|
long |
getTimeNano(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeNano(int columnIndex,
NullableTimeNanoHolder holder)
Updates the holder with the value in the column with the given index at the current row.
|
long |
getTimeNano(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeNano(String columnName,
NullableTimeNanoHolder holder)
Updates the holder with the value in the column with the given name at the current row.
|
int |
getTimeSec(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getTimeSec(int columnIndex,
NullableTimeSecHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
int |
getTimeSec(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getTimeSec(String columnName,
NullableTimeSecHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
long |
getTimeStampMicro(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampMicro(int columnIndex,
NullableTimeStampMicroHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampMicro(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampMicro(String columnName,
NullableTimeStampMicroHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
LocalDateTime |
getTimeStampMicroObj(int columnIndex)
Returns a LocalDateTime from the column with the given index at the current row.
|
LocalDateTime |
getTimeStampMicroObj(String columnName)
Returns a LocalDateTime from the column of the given name at the current row.
|
long |
getTimeStampMicroTZ(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampMicroTZ(int columnIndex,
NullableTimeStampMicroTZHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampMicroTZ(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampMicroTZ(String columnName,
NullableTimeStampMicroTZHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
long |
getTimeStampMilli(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampMilli(int columnIndex,
NullableTimeStampMilliHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampMilli(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampMilli(String columnName,
NullableTimeStampMilliHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
LocalDateTime |
getTimeStampMilliObj(int columnIndex)
Returns a LocalDateTime from the column with the given index at the current row.
|
LocalDateTime |
getTimeStampMilliObj(String columnName)
Returns a LocalDateTime from the column of the given name at the current row.
|
long |
getTimeStampMilliTZ(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampMilliTZ(int columnIndex,
NullableTimeStampMilliTZHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampMilliTZ(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampMilliTZ(String columnName,
NullableTimeStampMilliTZHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
long |
getTimeStampNano(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampNano(int columnIndex,
NullableTimeStampNanoHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampNano(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampNano(String columnName,
NullableTimeStampNanoHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
LocalDateTime |
getTimeStampNanoObj(int columnIndex)
Returns a LocalDateTime from the column with the given index at the current row.
|
LocalDateTime |
getTimeStampNanoObj(String columnName)
Returns a LocalDateTime from the column of the given name at the current row.
|
long |
getTimeStampNanoTZ(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampNanoTZ(int columnIndex,
NullableTimeStampNanoTZHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampNanoTZ(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampNanoTZ(String columnName,
NullableTimeStampNanoTZHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
long |
getTimeStampSec(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampSec(int columnIndex,
NullableTimeStampSecHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampSec(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getTimeStampSec(String columnName,
NullableTimeStampSecHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
LocalDateTime |
getTimeStampSecObj(int columnIndex)
Returns a LocalDateTime from the column with the given index at the current row.
|
LocalDateTime |
getTimeStampSecObj(String columnName)
Returns a LocalDateTime from the column of the given name at the current row.
|
long |
getTimeStampSecTZ(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getTimeStampSecTZ(int columnIndex,
NullableTimeStampSecTZHolder holder)
Updates the holder with the value from the column with the given index at the current row.
|
long |
getTimeStampSecTZ(String columnName)
Updates the holder with the value from the column of the given name at the current row.
|
void |
getTimeStampSecTZ(String columnName,
NullableTimeStampSecTZHolder holder)
Updates the holder with the value from the column of the given name at the current row.
|
byte |
getTinyInt(int columnIndex)
Returns a byte from the column with the given index at the current row.
|
void |
getTinyInt(int columnIndex,
NullableTinyIntHolder holder)
Updates the holder with the value in the column at the given index and current row.
|
byte |
getTinyInt(String columnName)
Returns a byte from the column of the given name at the current row.
|
void |
getTinyInt(String columnName,
NullableTinyIntHolder holder)
Updates the holder with the value in the column of the given name at the current row.
|
byte |
getUInt1(int columnIndex)
Returns a byte from the column with the given index at the current row.
|
void |
getUInt1(int columnIndex,
NullableUInt1Holder holder)
Updates the holder with the value in the column with the given index at the current row.
|
byte |
getUInt1(String columnName)
Returns a byte from the column of the given name at the current row.
|
void |
getUInt1(String columnName,
NullableUInt1Holder holder)
Updates the holder with the value in the column of the given name at the current row.
|
char |
getUInt2(int columnIndex)
Returns a char from the column with the given index at the current row.
|
void |
getUInt2(int columnIndex,
NullableUInt2Holder holder)
Updates the holder with the value in the column with the given index at the current row.
|
char |
getUInt2(String columnName)
Returns a char from the column of the given name at the current row.
|
void |
getUInt2(String columnName,
NullableUInt2Holder holder)
Updates the holder with the value in the column of the given name at the current row.
|
int |
getUInt4(int columnIndex)
Returns an int from the column with the given index at the current row.
|
void |
getUInt4(int columnIndex,
NullableUInt4Holder holder)
Updates the holder with the value at the column with the given index at the current row.
|
int |
getUInt4(String columnName)
Returns an int from the column of the given name at the current row.
|
void |
getUInt4(String columnName,
NullableUInt4Holder holder)
Updates the holder with the value at the column of the given name at the current row.
|
long |
getUInt8(int columnIndex)
Returns a long from the column with the given index at the current row.
|
void |
getUInt8(int columnIndex,
NullableUInt8Holder holder)
Updates the holder with the value in the column with the given index at the current row.
|
long |
getUInt8(String columnName)
Returns a long from the column of the given name at the current row.
|
void |
getUInt8(String columnName,
NullableUInt8Holder holder)
Updates the holder with the value in the column of the given name at the current row.
|
Object |
getUnion(int vectorIndex)
Returns an Object from the column with the given index at the current row.
|
Object |
getUnion(String columnName)
Returns an Object from the column of the given name at the current row.
|
byte[] |
getVarBinary(int columnIndex)
Returns a byte[] from the column with the given index at the current row.
|
byte[] |
getVarBinary(String columnName)
Returns a byte[] from the column of the given name at the current row.
|
byte[] |
getVarChar(int columnIndex)
Returns a byte[] from the column with the given index at the current row.
|
byte[] |
getVarChar(String columnName)
Returns a byte[] from the column of the given name at the current row.
|
String |
getVarCharObj(int columnIndex)
Returns a String from the column with the given index at the current row.
|
String |
getVarCharObj(String columnName)
Returns a String from the column of the given name at the current row.
|
boolean |
hasNext()
Returns true if there is at least one more non-deleted row in the table that has yet to be
processed.
|
boolean |
isNull(int columnIndex)
For vectors other than Union and DenseUnion, returns true if the value at columnIndex is null,
and false otherwise.
|
boolean |
isNull(String columnName)
For vectors other than Union and DenseUnion, returns true if the value at columnName is null,
and false otherwise.
|
Row |
next()
Returns the next non-deleted row in the table.
|
Row |
resetPosition()
Resets the current row to -1 and returns this object.
|
Row |
setPosition(int rowNumber)
Moves this Row to the given 0-based row index.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
protected final BaseTable table
protected int rowNumber
public Row(BaseTable table)
table
- the table that this Row object representspublic Row resetPosition()
public Row setPosition(int rowNumber)
public boolean isNull(String columnName)
UnionVector#isNull always returns false, but the underlying vector may hold null values.
public boolean isNull(int columnIndex)
UnionVector#isNull always returns false, but the underlying vector may hold null values.
public Object getExtensionType(int vectorIndex)
public Object getExtensionType(String columnName)
columnName
- The name of the vector providing the resultpublic List<?> getMap(int vectorIndex)
public List<?> getMap(String columnName)
public Object getStruct(int vectorIndex)
public Object getStruct(String columnName)
public Object getUnion(int vectorIndex)
public Object getUnion(String columnName)
public Object getDenseUnion(String columnName)
public Object getDenseUnion(int vectorIndex)
public List<?> getList(String columnName)
public List<?> getList(int columnIndex)
public int getInt(String columnName)
public int getInt(int columnIndex)
public void getInt(String columnName, NullableIntHolder holder)
public void getInt(int columnIndex, NullableIntHolder holder)
public int getUInt4(String columnName)
public int getUInt4(int columnIndex)
public void getUInt4(String columnName, NullableUInt4Holder holder)
public void getUInt4(int columnIndex, NullableUInt4Holder holder)
public short getSmallInt(String columnName)
public short getSmallInt(int columnIndex)
public void getSmallInt(String columnName, NullableSmallIntHolder holder)
public void getSmallInt(int columnIndex, NullableSmallIntHolder holder)
public char getUInt2(String columnName)
public char getUInt2(int columnIndex)
public void getUInt2(String columnName, NullableUInt2Holder holder)
public void getUInt2(int columnIndex, NullableUInt2Holder holder)
public byte getTinyInt(String columnName)
public byte getTinyInt(int columnIndex)
public void getTinyInt(String columnName, NullableTinyIntHolder holder)
public void getTinyInt(int columnIndex, NullableTinyIntHolder holder)
public byte getUInt1(String columnName)
public byte getUInt1(int columnIndex)
public void getUInt1(String columnName, NullableUInt1Holder holder)
public void getUInt1(int columnIndex, NullableUInt1Holder holder)
public long getBigInt(String columnName)
public long getBigInt(int columnIndex)
public void getBigInt(String columnName, NullableBigIntHolder holder)
public void getBigInt(int columnIndex, NullableBigIntHolder holder)
public long getUInt8(String columnName)
public long getUInt8(int columnIndex)
public void getUInt8(String columnName, NullableUInt8Holder holder)
public void getUInt8(int columnIndex, NullableUInt8Holder holder)
public float getFloat4(String columnName)
public float getFloat4(int columnIndex)
public void getFloat4(String columnName, NullableFloat4Holder holder)
public void getFloat4(int columnIndex, NullableFloat4Holder holder)
public double getFloat8(String columnName)
public double getFloat8(int columnIndex)
public void getFloat8(String columnName, NullableFloat8Holder holder)
public void getFloat8(int columnIndex, NullableFloat8Holder holder)
public int getBit(String columnName)
public int getBit(int columnIndex)
public void getBit(String columnName, NullableBitHolder holder)
public void getBit(int columnIndex, NullableBitHolder holder)
public long getDateMilli(String columnName)
public long getDateMilli(int columnIndex)
public void getDateMilli(String columnName, NullableDateMilliHolder holder)
public void getDateMilli(int columnIndex, NullableDateMilliHolder holder)
public int getDateDay(String columnName)
public int getDateDay(int columnIndex)
public void getDateDay(String columnName, NullableDateDayHolder holder)
public void getDateDay(int columnIndex, NullableDateDayHolder holder)
public long getTimeNano(String columnName)
public long getTimeNano(int columnIndex)
public void getTimeNano(String columnName, NullableTimeNanoHolder holder)
public void getTimeNano(int columnIndex, NullableTimeNanoHolder holder)
public long getTimeMicro(String columnName)
public long getTimeMicro(int columnIndex)
public void getTimeMicro(String columnName, NullableTimeMicroHolder holder)
public void getTimeMicro(int columnIndex, NullableTimeMicroHolder holder)
public int getTimeMilli(String columnName)
public int getTimeMilli(int columnIndex)
public void getTimeMilli(String columnName, NullableTimeMilliHolder holder)
public void getTimeMilli(int columnIndex, NullableTimeMilliHolder holder)
public LocalDateTime getTimeMilliObj(String columnName)
public LocalDateTime getTimeMilliObj(int columnIndex)
public int getTimeSec(String columnName)
public int getTimeSec(int columnIndex)
public void getTimeSec(String columnName, NullableTimeSecHolder holder)
public void getTimeSec(int columnIndex, NullableTimeSecHolder holder)
public long getTimeStampSec(String columnName)
public long getTimeStampSec(int columnIndex)
public void getTimeStampSec(String columnName, NullableTimeStampSecHolder holder)
public void getTimeStampSec(int columnIndex, NullableTimeStampSecHolder holder)
public LocalDateTime getTimeStampSecObj(String columnName)
public LocalDateTime getTimeStampSecObj(int columnIndex)
public long getTimeStampSecTZ(String columnName)
public long getTimeStampSecTZ(int columnIndex)
public void getTimeStampSecTZ(String columnName, NullableTimeStampSecTZHolder holder)
public void getTimeStampSecTZ(int columnIndex, NullableTimeStampSecTZHolder holder)
public long getTimeStampNano(String columnName)
public long getTimeStampNano(int columnIndex)
public void getTimeStampNano(String columnName, NullableTimeStampNanoHolder holder)
public void getTimeStampNano(int columnIndex, NullableTimeStampNanoHolder holder)
public LocalDateTime getTimeStampNanoObj(String columnName)
public LocalDateTime getTimeStampNanoObj(int columnIndex)
public long getTimeStampNanoTZ(String columnName)
public long getTimeStampNanoTZ(int columnIndex)
public void getTimeStampNanoTZ(String columnName, NullableTimeStampNanoTZHolder holder)
public void getTimeStampNanoTZ(int columnIndex, NullableTimeStampNanoTZHolder holder)
public long getTimeStampMilli(String columnName)
public long getTimeStampMilli(int columnIndex)
public void getTimeStampMilli(String columnName, NullableTimeStampMilliHolder holder)
public void getTimeStampMilli(int columnIndex, NullableTimeStampMilliHolder holder)
public LocalDateTime getTimeStampMilliObj(String columnName)
public LocalDateTime getTimeStampMilliObj(int columnIndex)
public long getTimeStampMilliTZ(String columnName)
public long getTimeStampMilliTZ(int columnIndex)
public void getTimeStampMilliTZ(String columnName, NullableTimeStampMilliTZHolder holder)
public void getTimeStampMilliTZ(int columnIndex, NullableTimeStampMilliTZHolder holder)
public long getTimeStampMicro(String columnName)
public long getTimeStampMicro(int columnIndex)
public void getTimeStampMicro(String columnName, NullableTimeStampMicroHolder holder)
public void getTimeStampMicro(int columnIndex, NullableTimeStampMicroHolder holder)
public LocalDateTime getTimeStampMicroObj(String columnName)
public LocalDateTime getTimeStampMicroObj(int columnIndex)
public long getTimeStampMicroTZ(String columnName)
public long getTimeStampMicroTZ(int columnIndex)
public void getTimeStampMicroTZ(String columnName, NullableTimeStampMicroTZHolder holder)
public void getTimeStampMicroTZ(int columnIndex, NullableTimeStampMicroTZHolder holder)
public Duration getDurationObj(String columnName)
public Duration getDurationObj(int columnIndex)
public ArrowBuf getDuration(String columnName)
public ArrowBuf getDuration(int columnIndex)
public void getDuration(String columnName, NullableDurationHolder holder)
public void getDuration(int columnIndex, NullableDurationHolder holder)
public PeriodDuration getIntervalMonthDayNanoObj(String columnName)
public PeriodDuration getIntervalMonthDayNanoObj(int columnIndex)
public ArrowBuf getIntervalMonthDayNano(String columnName)
public ArrowBuf getIntervalMonthDayNano(int columnIndex)
public void getIntervalMonthDayNano(String columnName, NullableIntervalMonthDayNanoHolder holder)
public void getIntervalMonthDayNano(int columnIndex, NullableIntervalMonthDayNanoHolder holder)
public ArrowBuf getIntervalDay(String columnName)
public ArrowBuf getIntervalDay(int columnIndex)
public void getIntervalDay(String columnName, NullableIntervalDayHolder holder)
public void getIntervalDay(int columnIndex, NullableIntervalDayHolder holder)
public Duration getIntervalDayObj(int columnIndex)
public Duration getIntervalDayObj(String columnName)
public Period getIntervalYearObj(String columnName)
public Period getIntervalYearObj(int columnIndex)
public int getIntervalYear(String columnName)
public int getIntervalYear(int columnIndex)
public void getIntervalYear(String columnName, NullableIntervalYearHolder holder)
holder
- a holder to store the interval. Note that the value of the holder represents MONTHS not yearspublic void getIntervalYear(int columnIndex, NullableIntervalYearHolder holder)
holder
- a holder to store the interval. Note that the value of the holder represents MONTHS not yearspublic void getDecimal(int columnIndex, NullableDecimalHolder holder)
public void getDecimal(String columnName, NullableDecimalHolder holder)
public BigDecimal getDecimalObj(String columnName)
public BigDecimal getDecimalObj(int columnIndex)
public ArrowBuf getDecimal(String columnName)
public ArrowBuf getDecimal(int columnIndex)
public byte[] getVarBinary(String columnName)
public byte[] getVarBinary(int columnIndex)
public byte[] getFixedSizeBinary(String columnName)
public byte[] getFixedSizeBinary(int columnIndex)
public byte[] getLargeVarBinary(String columnName)
public byte[] getLargeVarBinary(int columnIndex)
public String getVarCharObj(String columnName)
StandardCharsets.UTF_8 is used as the charset
public String getVarCharObj(int columnIndex)
columnIndex
- the index of the FieldVector holding the valuepublic byte[] getVarChar(String columnName)
StandardCharsets.UTF_8 is used as the charset
public byte[] getVarChar(int columnIndex)
columnIndex
- the index of the FieldVector holding the valuepublic String getLargeVarCharObj(String columnName)
StandardCharsets.UTF_8 is used as the charset, unless this cursor was created with a default Charset
public String getLargeVarCharObj(int columnIndex)
public byte[] getLargeVarChar(String columnName)
StandardCharsets.UTF_8 is used as the charset, unless this cursor was created with a default Charset
public byte[] getLargeVarChar(int columnIndex)
public boolean hasNext()
public Row next()
next
in interface Iterator<Row>
NoSuchElementException
- if there are no more rowspublic int getRowNumber()
public Charset getDefaultCharacterSet()
Copyright © 2023 The Apache Software Foundation. All rights reserved.