public abstract class AlwaysPresentOperatorCodec extends OperatorCodec
CONSTANT_ALL, COPY_ALL, DEFAULT_ALL, DELTA_DECIMAL, DELTA_INTEGER, DELTA_STRING, INCREMENT_INTEGER, NONE_ALL, TAIL
Modifier | Constructor and Description |
---|---|
protected |
AlwaysPresentOperatorCodec(Operator operator,
Type[] types) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ScalarValue |
getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar scalar,
BitVectorBuilder presenceMapBuilder) |
boolean |
usesPresenceMapBit(boolean optional)
Use this to show that there is a MapBit present
|
canEncode, decodeEmptyValue, decodeValue, getCodec, getOperator, getValueToEncode, isPresenceMapBitSet, shouldDecodeType, toString
public boolean usesPresenceMapBit(boolean optional)
OperatorCodec
usesPresenceMapBit
in class OperatorCodec
optional
- The Optional booleanpublic ScalarValue getValueToEncode(ScalarValue value, ScalarValue priorValue, Scalar scalar, BitVectorBuilder presenceMapBuilder)
getValueToEncode
in class OperatorCodec
public boolean equals(Object obj)
equals
in class OperatorCodec
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.