public abstract class VectorKeySeriesSerializedImpl<T extends SerializeWrite> extends VectorKeySeriesSingleImpl implements VectorKeySeriesSerialized
| Modifier and Type | Field and Description |
|---|---|
protected int |
bufferOffset |
protected ByteStream.Output |
output |
byte[] |
serializedBytes |
protected int[] |
serializedKeyLengths |
int |
serializedLength |
int |
serializedStart |
protected T |
serializeWrite |
currentBatchSize, duplicateCounts, hashCodes, nonNullKeyCount, nonNullKeyPosition, seriesCount, seriesIsAllNull, seriesPositioncurrentDuplicateCount, currentHasAnyNulls, currentHashCode, currentIsAllNull, currentLogical| Constructor and Description |
|---|
VectorKeySeriesSerializedImpl(T serializeWrite) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeSerializedHashCodes()
Batch compute the hash codes for all the serialized keys.
|
byte[] |
getSerializedBytes() |
int |
getSerializedLength() |
int |
getSerializedStart() |
void |
positionToFirst()
Position to the beginning of the key series.
|
void |
setNextNonNullKey(int nonNullKeyPosition) |
boolean |
validate() |
advance, nextgetCurrentDuplicateCount, getCurrentHasAnyNulls, getCurrentHashCode, getCurrentIsAllNull, getCurrentLogicalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentDuplicateCount, getCurrentHasAnyNulls, getCurrentHashCode, getCurrentIsAllNull, getCurrentLogical, next, processBatchprotected T extends SerializeWrite serializeWrite
protected int bufferOffset
public int serializedStart
public int serializedLength
public byte[] serializedBytes
protected final ByteStream.Output output
protected final int[] serializedKeyLengths
public VectorKeySeriesSerializedImpl(T serializeWrite)
public boolean validate()
validate in class VectorKeySeriesSingleImplpublic byte[] getSerializedBytes()
getSerializedBytes in interface VectorKeySeriesSerializedpublic int getSerializedStart()
getSerializedStart in interface VectorKeySeriesSerializedpublic int getSerializedLength()
getSerializedLength in interface VectorKeySeriesSerializedprotected void computeSerializedHashCodes()
public void positionToFirst()
VectorKeySeriespositionToFirst in interface VectorKeySeriespositionToFirst in class VectorKeySeriesSingleImplpublic void setNextNonNullKey(int nonNullKeyPosition)
setNextNonNullKey in class VectorKeySeriesSingleImplCopyright © 2019 The Apache Software Foundation. All Rights Reserved.