public abstract class VectorHashKeyWrapperBase extends KeyWrapper
VectorHashKeyWrapperBatch
to hash vectorized processing units (batches).| Modifier and Type | Class and Description |
|---|---|
static class |
VectorHashKeyWrapperBase.HashContext |
| Modifier and Type | Field and Description |
|---|---|
protected int |
hashcode |
| Modifier | Constructor and Description |
|---|---|
protected |
VectorHashKeyWrapperBase() |
| 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() |
KeyWrapper |
copyKey() |
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) |
Object[] |
getKeyArray() |
long |
getLongValue(int i) |
void |
getNewKey(Object row,
ObjectInspector rowInspector) |
Timestamp |
getTimestamp(int i) |
int |
getVariableSize() |
int |
hashCode() |
boolean |
isCopy() |
boolean |
isNull(int keyIndex) |
void |
setHashKey() |
void |
setNull() |
String |
stringifyKeys(VectorColumnSetInfo columnSetInfo) |
String |
toString() |
public void getNewKey(Object row, ObjectInspector rowInspector) throws HiveException
getNewKey in class KeyWrapperHiveExceptionpublic void setHashKey()
setHashKey in class KeyWrapperpublic KeyWrapper copyKey()
copyKey in class KeyWrapperpublic void copyKey(KeyWrapper oldWrapper)
copyKey in class KeyWrapperpublic Object[] getKeyArray()
getKeyArray in class KeyWrapperpublic void assignLong(int keyIndex,
int index,
long v)
@Deprecated public void assignLong(int index, long v)
public void assignNullLong(int keyIndex,
int index)
public void assignDouble(int index,
double d)
public void assignNullDouble(int keyIndex,
int index)
public void assignString(int index,
byte[] bytes,
int start,
int length)
public void assignNullString(int keyIndex,
int index)
public void assignDecimal(int index,
HiveDecimalWritable value)
public void assignNullDecimal(int keyIndex,
int index)
public void assignTimestamp(int index,
Timestamp value)
public void assignTimestamp(int index,
TimestampColumnVector colVector,
int elementNum)
public void assignNullTimestamp(int keyIndex,
int index)
public void assignIntervalDayTime(int index,
HiveIntervalDayTime value)
public void assignIntervalDayTime(int index,
IntervalDayTimeColumnVector colVector,
int elementNum)
public void assignNullIntervalDayTime(int keyIndex,
int index)
public String stringifyKeys(VectorColumnSetInfo columnSetInfo)
public long getLongValue(int i)
public double getDoubleValue(int i)
public byte[] getBytes(int i)
public int getByteStart(int i)
public int getByteLength(int i)
public HiveDecimalWritable getDecimal(int i)
public Timestamp getTimestamp(int i)
public HiveIntervalDayTime getIntervalDayTime(int i)
public int getVariableSize()
public void clearIsNull()
public void setNull()
public boolean isNull(int keyIndex)
public boolean isCopy()
isCopy in class KeyWrapperCopyright © 2022 The Apache Software Foundation. All rights reserved.