org.openfast.template.operator
Class AlwaysPresentOperatorCodec
java.lang.Object
org.openfast.template.operator.OperatorCodec
org.openfast.template.operator.AlwaysPresentOperatorCodec
- All Implemented Interfaces:
- java.io.Serializable
public abstract class AlwaysPresentOperatorCodec
- extends OperatorCodec
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AlwaysPresentOperatorCodec
protected AlwaysPresentOperatorCodec(Operator operator,
Type[] types)
usesPresenceMapBit
public boolean usesPresenceMapBit(boolean optional)
- Description copied from class:
OperatorCodec
- Use this to show that there is a MapBit present
- Overrides:
usesPresenceMapBit in class OperatorCodec
- Parameters:
optional - The Optional boolean
- Returns:
- Returns false
getValueToEncode
public ScalarValue getValueToEncode(ScalarValue value,
ScalarValue priorValue,
Scalar scalar,
BitVectorBuilder presenceMapBuilder)
- Overrides:
getValueToEncode in class OperatorCodec
- Returns:
- the value that should be encoded given the previous value
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class OperatorCodec
Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.