Package | Description |
---|---|
com.pervasive.datarush.encoding |
Provides basic interfaces used when converting tokens
into various formats.
|
com.pervasive.datarush.encoding.binary |
Implementations of encoders of tokens
into binary formats.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenEncoder.encode(BinaryBuilder buffer)
Appends the encoded version of the current value of the
source to the supplied buffer.
|
void |
TokenEncoder.encodeField(BinaryBuilder buffer,
int index)
Appends the encoded version of the current value of the
source to the supplied buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractScalarEncoder.encode(BinaryBuilder buffer)
This implementation invokes
AbstractScalarEncoder.encodeScalar(BinaryBuilder)
in the event that the source is non-null. |
void |
AbstractTokenEncoder.encodeField(BinaryBuilder buffer,
int index)
This implementation delegates to
TokenEncoder.encode(BinaryBuilder) . |
void |
AbstractScalarEncoder.encodeField(BinaryBuilder buffer,
int index) |
void |
ComparableTokenEncoder.encodeFieldAdditionalBytes(BinaryBuilder buffer,
int index)
Appends the additional bytes ( those that are required for
storage but not for comparison) to the buffer.
|
void |
ComparableTokenEncoder.encodeFieldComparisonBytes(BinaryBuilder buffer,
int index)
Appends those bytes that are needed for byte-wise comparison.
|
protected abstract void |
AbstractScalarEncoder.encodeScalar(BinaryBuilder buffer)
Subclasses must override this method to handle the encoding
of the value.
|
Copyright © 2020 Actian Corporation. All rights reserved.