public class VectorHashKeyWrapperGeneral extends VectorHashKeyWrapperBase
VectorHashKeyWrapperBatch
to hash vectorized processing units (batches).VectorHashKeyWrapperBase.HashContext| Modifier and Type | Field and Description |
|---|---|
protected boolean[] |
isNull |
hashcode| Constructor and Description |
|---|
VectorHashKeyWrapperGeneral(VectorHashKeyWrapperBase.HashContext ctx,
int longValuesCount,
int doubleValuesCount,
int byteValuesCount,
int decimalValuesCount,
int timestampValuesCount,
int intervalDayTimeValuesCount,
int keyCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignDecimal(int index,
HiveDecimalWritable value) |
void |
assignDouble(int index,
double d) |
void |
assignIntervalDayTime(int index,
HiveIntervalDayTime value) |
void |
assignIntervalDayTime(int index,
IntervalDayTimeColumnVector colVector,
int elementNum) |
void |
assignLong(int keyIndex,
int index,
long v) |
void |
assignLong(int index,
long v)
Deprecated.
|
void |
assignNullDecimal(int keyIndex,
int index) |
void |
assignNullDouble(int keyIndex,
int index) |
void |
assignNullIntervalDayTime(int keyIndex,
int index) |
void |
assignNullLong(int keyIndex,
int index) |
void |
assignNullString(int keyIndex,
int index) |
void |
assignNullTimestamp(int keyIndex,
int index) |
void |
assignString(int index,
byte[] bytes,
int start,
int length) |
void |
assignTimestamp(int index,
Timestamp value) |
void |
assignTimestamp(int index,
TimestampColumnVector colVector,
int elementNum) |
void |
clearIsNull() |
protected Object |
clone() |
void |
copyKey(KeyWrapper oldWrapper) |
boolean |
equals(Object that) |
int |
getByteLength(int i) |
byte[] |
getBytes(int i) |
int |
getByteStart(int i) |
HiveDecimalWritable |
getDecimal(int i) |
double |
getDoubleValue(int i) |
HiveIntervalDayTime |
getIntervalDayTime(int i) |
long |
getLongValue(int i) |
Timestamp |
getTimestamp(int i) |
int |
getVariableSize() |
int |
hashCode() |
boolean |
isNull(int keyIndex) |
void |
setHashKey() |
void |
setNull() |
String |
stringifyKeys(VectorColumnSetInfo columnSetInfo) |
String |
toString() |
copyKey, getKeyArray, getNewKey, isCopypublic VectorHashKeyWrapperGeneral(VectorHashKeyWrapperBase.HashContext ctx, int longValuesCount, int doubleValuesCount, int byteValuesCount, int decimalValuesCount, int timestampValuesCount, int intervalDayTimeValuesCount, int keyCount)
public void setHashKey()
setHashKey in class VectorHashKeyWrapperBasepublic int hashCode()
hashCode in class VectorHashKeyWrapperBasepublic boolean equals(Object that)
equals in class VectorHashKeyWrapperBaseprotected Object clone()
clone in class VectorHashKeyWrapperBasepublic void copyKey(KeyWrapper oldWrapper)
copyKey in class VectorHashKeyWrapperBasepublic void assignLong(int keyIndex,
int index,
long v)
assignLong in class VectorHashKeyWrapperBase@Deprecated public void assignLong(int index, long v)
assignLong in class VectorHashKeyWrapperBasepublic void assignNullLong(int keyIndex,
int index)
assignNullLong in class VectorHashKeyWrapperBasepublic void assignDouble(int index,
double d)
assignDouble in class VectorHashKeyWrapperBasepublic void assignNullDouble(int keyIndex,
int index)
assignNullDouble in class VectorHashKeyWrapperBasepublic void assignString(int index,
byte[] bytes,
int start,
int length)
assignString in class VectorHashKeyWrapperBasepublic void assignNullString(int keyIndex,
int index)
assignNullString in class VectorHashKeyWrapperBasepublic void assignDecimal(int index,
HiveDecimalWritable value)
assignDecimal in class VectorHashKeyWrapperBasepublic void assignNullDecimal(int keyIndex,
int index)
assignNullDecimal in class VectorHashKeyWrapperBasepublic void assignTimestamp(int index,
Timestamp value)
assignTimestamp in class VectorHashKeyWrapperBasepublic void assignTimestamp(int index,
TimestampColumnVector colVector,
int elementNum)
assignTimestamp in class VectorHashKeyWrapperBasepublic void assignNullTimestamp(int keyIndex,
int index)
assignNullTimestamp in class VectorHashKeyWrapperBasepublic void assignIntervalDayTime(int index,
HiveIntervalDayTime value)
assignIntervalDayTime in class VectorHashKeyWrapperBasepublic void assignIntervalDayTime(int index,
IntervalDayTimeColumnVector colVector,
int elementNum)
assignIntervalDayTime in class VectorHashKeyWrapperBasepublic void assignNullIntervalDayTime(int keyIndex,
int index)
assignNullIntervalDayTime in class VectorHashKeyWrapperBasepublic String stringifyKeys(VectorColumnSetInfo columnSetInfo)
stringifyKeys in class VectorHashKeyWrapperBasepublic String toString()
toString in class VectorHashKeyWrapperBasepublic long getLongValue(int i)
getLongValue in class VectorHashKeyWrapperBasepublic double getDoubleValue(int i)
getDoubleValue in class VectorHashKeyWrapperBasepublic byte[] getBytes(int i)
getBytes in class VectorHashKeyWrapperBasepublic int getByteStart(int i)
getByteStart in class VectorHashKeyWrapperBasepublic int getByteLength(int i)
getByteLength in class VectorHashKeyWrapperBasepublic HiveDecimalWritable getDecimal(int i)
getDecimal in class VectorHashKeyWrapperBasepublic Timestamp getTimestamp(int i)
getTimestamp in class VectorHashKeyWrapperBasepublic HiveIntervalDayTime getIntervalDayTime(int i)
getIntervalDayTime in class VectorHashKeyWrapperBasepublic int getVariableSize()
getVariableSize in class VectorHashKeyWrapperBasepublic void clearIsNull()
clearIsNull in class VectorHashKeyWrapperBasepublic void setNull()
setNull in class VectorHashKeyWrapperBasepublic boolean isNull(int keyIndex)
isNull in class VectorHashKeyWrapperBaseCopyright © 2024 The Apache Software Foundation. All rights reserved.