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, seriesPosition
currentDuplicateCount, 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, next
getCurrentDuplicateCount, getCurrentHasAnyNulls, getCurrentHashCode, getCurrentIsAllNull, getCurrentLogical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentDuplicateCount, getCurrentHasAnyNulls, getCurrentHashCode, getCurrentIsAllNull, getCurrentLogical, next, processBatch
protected 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 VectorKeySeriesSingleImpl
public byte[] getSerializedBytes()
getSerializedBytes
in interface VectorKeySeriesSerialized
public int getSerializedStart()
getSerializedStart
in interface VectorKeySeriesSerialized
public int getSerializedLength()
getSerializedLength
in interface VectorKeySeriesSerialized
protected void computeSerializedHashCodes()
public void positionToFirst()
VectorKeySeries
positionToFirst
in interface VectorKeySeries
positionToFirst
in class VectorKeySeriesSingleImpl
public void setNextNonNullKey(int nonNullKeyPosition)
setNextNonNullKey
in class VectorKeySeriesSingleImpl
Copyright © 2016 The Apache Software Foundation. All rights reserved.