Uses of Class
com.pervasive.datarush.io.BinaryBuilder
-
Packages that use BinaryBuilder 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. -
-
Uses of BinaryBuilder in com.pervasive.datarush.encoding
Methods in com.pervasive.datarush.encoding with parameters of type BinaryBuilder Modifier and Type Method 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. -
Uses of BinaryBuilder in com.pervasive.datarush.encoding.binary
Methods in com.pervasive.datarush.encoding.binary with parameters of type BinaryBuilder Modifier and Type Method Description void
AbstractScalarEncoder. encode(BinaryBuilder buffer)
This implementation invokesAbstractScalarEncoder.encodeScalar(BinaryBuilder)
in the event that the source is non-null.void
AbstractScalarEncoder. encodeField(BinaryBuilder buffer, int index)
void
AbstractTokenEncoder. encodeField(BinaryBuilder buffer, int index)
This implementation delegates toTokenEncoder.encode(BinaryBuilder)
.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.
-