public interface TypeEncoder
Modifier and Type | Method and Description |
---|---|
byte[] |
encodeConstant(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with constant operator.
|
byte[] |
encodeCopy(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with copy operator.
|
byte[] |
encodeDefault(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with default operator.
|
byte[] |
encodeDelta(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with delta operator.
|
byte[] |
encodeIncrement(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with increment operator.
|
byte[] |
encodeNone(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with none operator.
|
byte[] |
encodeTail(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with tail operator.
|
byte[] encodeDefault(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mapbyte[] encodeDelta(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mapbyte[] encodeCopy(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mapbyte[] encodeIncrement(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mapbyte[] encodeConstant(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- context
- the contextpresenceMapBuilder
- the PM Mapbyte[] encodeTail(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mapbyte[] encodeNone(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM MapCopyright © 2000-2017 EPAM Systems. All Rights Reserved.