| Constructor and Description |
|---|
PojoRow(POJO_TYPE pojoObject,
StructType schema,
java.util.Map<java.lang.Integer,java.util.function.Function<POJO_TYPE,java.lang.Object>> ordinalToAccessor) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
getArray(int ordinal)
Return array value of the column located at the given ordinal.
|
byte[] |
getBinary(int ordinal)
Return binary value of the column located at the given ordinal.
|
boolean |
getBoolean(int ordinal)
Return boolean value of the column located at the given ordinal.
|
byte |
getByte(int ordinal)
Return byte value of the column located at the given ordinal.
|
double |
getDouble(int ordinal)
Return double value of the column located at the given ordinal.
|
float |
getFloat(int ordinal)
Return float value of the column located at the given ordinal.
|
int |
getInt(int ordinal)
Return integer value of the column located at the given ordinal.
|
long |
getLong(int ordinal)
Return long value of the column located at the given ordinal.
|
<K,V> java.util.Map<K,V> |
getMap(int ordinal)
Return map value of the column located at the given ordinal.
|
StructType |
getSchema() |
short |
getShort(int ordinal)
Return short value of the column located at the given ordinal.
|
java.lang.String |
getString(int ordinal)
Return string value of the column located at the given ordinal.
|
Row |
getStruct(int ordinal)
Return struct value of the column located at the given ordinal.
|
boolean |
isNullAt(int ordinal) |
public PojoRow(POJO_TYPE pojoObject, StructType schema, java.util.Map<java.lang.Integer,java.util.function.Function<POJO_TYPE,java.lang.Object>> ordinalToAccessor)
public StructType getSchema()
public boolean isNullAt(int ordinal)
public boolean getBoolean(int ordinal)
RowgetBoolean in interface Rowpublic byte getByte(int ordinal)
Rowpublic short getShort(int ordinal)
Rowpublic int getInt(int ordinal)
Rowpublic long getLong(int ordinal)
Rowpublic float getFloat(int ordinal)
Rowpublic double getDouble(int ordinal)
Rowpublic java.lang.String getString(int ordinal)
Rowpublic byte[] getBinary(int ordinal)
Rowpublic Row getStruct(int ordinal)
Rowpublic <T> java.util.List<T> getArray(int ordinal)
Row