public interface ComparableTokenDecoder extends TokenDecoder
Modifier and Type | Method and Description |
---|---|
void |
decodeFieldAdditionalBytes(BinaryReader source,
int fieldIndex,
boolean skip)
Decodes the additional bytes ( those that are required for
storage but not for comparison) to the buffer.
|
void |
decodeFieldComparisonBytes(BinaryReader source,
int fieldIndex,
boolean skip)
Decodes those bytes that are needed for byte-wise comparison.
|
boolean |
isInverted()
Indicates whether normal ordering is inverted.
|
decode, decodeField, setTarget
boolean isInverted()
true
if ordering is descending,
false
otherwise.void decodeFieldComparisonBytes(BinaryReader source, int fieldIndex, boolean skip)
source
- the reader containing the encodingfieldIndex
- the index of the field being decodedskip
- a value of true means decode the bytes but don't set on targetvoid decodeFieldAdditionalBytes(BinaryReader source, int fieldIndex, boolean skip)
source
- the reader containing the encodingfieldIndex
- the index of the field being decodedskip
- a value of true means decode the bytes but don't set on targetCopyright © 2021 Actian Corporation. All rights reserved.