public class CopyOperatorCodec extends OptionallyPresentOperatorCodec
CONSTANT_ALL, COPY_ALL, DEFAULT_ALL, DELTA_DECIMAL, DELTA_INTEGER, DELTA_STRING, INCREMENT_INTEGER, NONE_ALL, TAIL| Modifier | Constructor and Description |
|---|---|
protected |
CopyOperatorCodec() |
| Modifier and Type | Method and Description |
|---|---|
ScalarValue |
decodeValue(ScalarValue newValue,
ScalarValue priorValue,
Scalar field) |
boolean |
equals(Object obj) |
protected ScalarValue |
getEmptyValue(ScalarValue priorValue) |
protected ScalarValue |
getInitialValue(Scalar field)
Get the initial value of the passed Scalar object as long as the object
is defined
|
protected ScalarValue |
getValueToEncode(ScalarValue value,
ScalarValue priorValue,
ScalarValue defaultValue)
Determine which values to encode from the passed ScalarValue objects
|
decodeEmptyValue, getValueToEncodecanEncode, getCodec, getOperator, getValueToEncode, isPresenceMapBitSet, shouldDecodeType, toString, usesPresenceMapBitprotected ScalarValue getValueToEncode(ScalarValue value, ScalarValue priorValue, ScalarValue defaultValue)
getValueToEncode in class OptionallyPresentOperatorCodecvalue - The ScalarValue object to be encodedpriorValue - The priorValue object to be encodeddefaultValue - The defaultValue object to be encodedprotected ScalarValue getInitialValue(Scalar field)
getInitialValue in class OptionallyPresentOperatorCodecfield - The Scalar object that the initial value is trying to returnprotected ScalarValue getEmptyValue(ScalarValue priorValue)
getEmptyValue in class OptionallyPresentOperatorCodecpublic ScalarValue decodeValue(ScalarValue newValue, ScalarValue priorValue, Scalar field)
decodeValue in class OperatorCodecpublic boolean equals(Object obj)
equals in class OperatorCodecCopyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.