public interface ComparableTokenEncoder extends TokenEncoder
Modifier and Type | Method and Description |
---|---|
void |
encodeFieldAdditionalBytes(BinaryBuilder buffer,
int index)
Appends the additional bytes ( those that are required for
storage but not for comparison) to the buffer.
|
void |
encodeFieldComparisonBytes(BinaryBuilder buffer,
int index)
Appends those bytes that are needed for byte-wise comparison.
|
boolean |
isInverted()
Indicates whether normal ordering is inverted.
|
encode, encodeField, setSource
boolean isInverted()
true
if ordering is descending,
false
otherwise.void encodeFieldComparisonBytes(BinaryBuilder buffer, int index)
buffer
- the buffer to which to append the encodingindex
- the index of the field to encodevoid encodeFieldAdditionalBytes(BinaryBuilder buffer, int index)
buffer
- the buffer to which to append the encodingindex
- the index of the field to encodeCopyright © 2020 Actian Corporation. All rights reserved.