public final class JoinedRow extends Object implements BaseRow
| Constructor and Description |
|---|
JoinedRow() |
JoinedRow(BaseRow row1,
BaseRow row2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getArity()
Get the number of fields in the BaseRow.
|
BaseArray |
getArray(int i)
Get array value, internal format is BaseArray.
|
byte[] |
getBinary(int i)
Get binary value, internal format is byte[].
|
boolean |
getBoolean(int i)
Get boolean value.
|
byte |
getByte(int i)
Get byte value.
|
Decimal |
getDecimal(int i,
int precision,
int scale)
Get decimal value, internal format is Decimal.
|
double |
getDouble(int i)
Get double value.
|
float |
getFloat(int i)
Get float value.
|
<T> BinaryGeneric<T> |
getGeneric(int i)
Get generic value, internal format is BinaryGeneric.
|
byte |
getHeader()
The header represents the type of this Row.
|
int |
getInt(int i)
Get int value.
|
long |
getLong(int i)
Get long value.
|
BaseMap |
getMap(int i)
Get map value, internal format is BaseMap.
|
BaseRow |
getRow(int i,
int numFields)
Get row value, internal format is BaseRow.
|
short |
getShort(int i)
Get short value.
|
BinaryString |
getString(int i)
Get string value, internal format is BinaryString.
|
int |
hashCode() |
boolean |
isNullAt(int i)
Because the specific row implementation such as BinaryRow uses the binary format.
|
JoinedRow |
replace(BaseRow row1,
BaseRow row2) |
void |
setBoolean(int i,
boolean value)
Set boolean value.
|
void |
setByte(int i,
byte value)
Set byte value.
|
void |
setDecimal(int i,
Decimal value,
int precision)
Set the decimal column value.
|
void |
setDouble(int i,
double value)
Set double value.
|
void |
setFloat(int i,
float value)
Set float value.
|
void |
setHeader(byte header)
Set the byte header.
|
void |
setInt(int i,
int value)
Set int value.
|
void |
setLong(int i,
long value)
Set long value.
|
void |
setNullAt(int i)
Set null to this field.
|
void |
setShort(int i,
short value)
Set short value.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetpublic int getArity()
BaseRowpublic byte getHeader()
BaseRowpublic void setHeader(byte header)
BaseRowpublic boolean isNullAt(int i)
TypeGetterSettersisNullAt in interface TypeGetterSetterspublic boolean getBoolean(int i)
TypeGetterSettersgetBoolean in interface TypeGetterSetterspublic byte getByte(int i)
TypeGetterSettersgetByte in interface TypeGetterSetterspublic short getShort(int i)
TypeGetterSettersgetShort in interface TypeGetterSetterspublic int getInt(int i)
TypeGetterSettersgetInt in interface TypeGetterSetterspublic long getLong(int i)
TypeGetterSettersgetLong in interface TypeGetterSetterspublic float getFloat(int i)
TypeGetterSettersgetFloat in interface TypeGetterSetterspublic double getDouble(int i)
TypeGetterSettersgetDouble in interface TypeGetterSetterspublic Decimal getDecimal(int i, int precision, int scale)
TypeGetterSettersgetDecimal in interface TypeGetterSetterspublic <T> BinaryGeneric<T> getGeneric(int i)
TypeGetterSettersgetGeneric in interface TypeGetterSetterspublic byte[] getBinary(int i)
TypeGetterSettersgetBinary in interface TypeGetterSetterspublic BinaryString getString(int i)
TypeGetterSettersgetString in interface TypeGetterSetterspublic BaseRow getRow(int i, int numFields)
TypeGetterSettersgetRow in interface TypeGetterSetterspublic BaseArray getArray(int i)
TypeGetterSettersgetArray in interface TypeGetterSetterspublic BaseMap getMap(int i)
TypeGetterSettersgetMap in interface TypeGetterSetterspublic void setNullAt(int i)
TypeGetterSetterssetNullAt in interface TypeGetterSetterspublic void setBoolean(int i,
boolean value)
TypeGetterSetterssetBoolean in interface TypeGetterSetterspublic void setByte(int i,
byte value)
TypeGetterSetterssetByte in interface TypeGetterSetterspublic void setShort(int i,
short value)
TypeGetterSetterssetShort in interface TypeGetterSetterspublic void setInt(int i,
int value)
TypeGetterSetterssetInt in interface TypeGetterSetterspublic void setLong(int i,
long value)
TypeGetterSetterssetLong in interface TypeGetterSetterspublic void setFloat(int i,
float value)
TypeGetterSetterssetFloat in interface TypeGetterSetterspublic void setDouble(int i,
double value)
TypeGetterSetterssetDouble in interface TypeGetterSetterspublic void setDecimal(int i,
Decimal value,
int precision)
TypeGetterSettersNote: Precision is compact: can call setNullAt when decimal is null. Precision is not compact: can not call setNullAt when decimal is null, must call setDecimal(i, null, precision) because we need update var-length-part.
setDecimal in interface TypeGetterSettersCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.