@Public public interface DataGetters
Modifier and Type | Method and Description |
---|---|
InternalArray |
getArray(int pos)
Returns the array value at the given position.
|
byte[] |
getBinary(int pos)
Returns the binary value at the given position.
|
boolean |
getBoolean(int pos)
Returns the boolean value at the given position.
|
byte |
getByte(int pos)
Returns the byte value at the given position.
|
Decimal |
getDecimal(int pos,
int precision,
int scale)
Returns the decimal value at the given position.
|
double |
getDouble(int pos)
Returns the double value at the given position.
|
float |
getFloat(int pos)
Returns the float value at the given position.
|
int |
getInt(int pos)
Returns the integer value at the given position.
|
long |
getLong(int pos)
Returns the long value at the given position.
|
InternalMap |
getMap(int pos)
Returns the map value at the given position.
|
InternalRow |
getRow(int pos,
int numFields)
Returns the row value at the given position.
|
short |
getShort(int pos)
Returns the short value at the given position.
|
BinaryString |
getString(int pos)
Returns the string value at the given position.
|
Timestamp |
getTimestamp(int pos,
int precision)
Returns the timestamp value at the given position.
|
boolean |
isNullAt(int pos)
Returns true if the element is null at the given position.
|
boolean isNullAt(int pos)
boolean getBoolean(int pos)
byte getByte(int pos)
short getShort(int pos)
int getInt(int pos)
long getLong(int pos)
float getFloat(int pos)
double getDouble(int pos)
BinaryString getString(int pos)
Decimal getDecimal(int pos, int precision, int scale)
The precision and scale are required to determine whether the decimal value was stored in
a compact representation (see Decimal
).
Timestamp getTimestamp(int pos, int precision)
The precision is required to determine whether the timestamp value was stored in a compact
representation (see Timestamp
).
byte[] getBinary(int pos)
InternalArray getArray(int pos)
InternalMap getMap(int pos)
InternalRow getRow(int pos, int numFields)
The number of fields is required to correctly extract the row.
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.