public interface TokenEncoder
AbstractTokenEncoder rather than implementing
this interface directly.| Modifier and Type | Method and Description |
|---|---|
void |
encode(BinaryBuilder buffer)
Appends the encoded version of the current value of the
source to the supplied buffer.
|
void |
encodeField(BinaryBuilder buffer,
int index)
Appends the encoded version of the current value of the
source to the supplied buffer.
|
void |
setSource(TokenValued source)
Sets the container holding values to be encoded.
|
void setSource(TokenValued source)
source - the value container to encodevoid encode(BinaryBuilder buffer)
buffer - the buffer to which to append the encodingvoid encodeField(BinaryBuilder buffer, int index)
buffer - the buffer to which to append the encodingindex - the index of the field to encodeCopyright © 2021 Actian Corporation. All rights reserved.