Module datarush.library
Package com.pervasive.datarush.encoding.binary
Implementations of encoders of tokens
into binary formats. These formats are used internally for storing
staged datasets;
while not generally required elsewhere, it may be necessary to implement a specific
encoding for an object-valued token.
-
Interface Summary Interface Description ComparableTokenDecoder A decoder for byte-wise comparable binary encodings.ComparableTokenEncoder Converts token values into a byte-wise comparable binary encoding.EncoderFactory An interface defining a factory that provides an encoder and decoder for a particular class or set of classes. -
Class Summary Class Description AbstractObjectEncoderFactory Base implementation ofEncoderFactory
for customizing the encoding/decoding ofObjectTokenType
.AbstractScalarEncoder Base class for scalar encoders.AbstractTokenDecoder Base class for TokenEncodersAbstractTokenEncoder Base class for TokenEncoders.AnnotationEncoderFactory An encoder factory that works with annotations placed on class methods that mark the methods for getting an encoder and decoder for the class.SparseRecordDecoder The matching decoder forSparseRecordEncoder
.TokenEncodings A factory for obtaining standard encoders/decoders for token values. -
Annotation Types Summary Annotation Type Description Decoder An annotation for a static method of a class marking the method as the getter of aTokenDecoder
for the class.Encoder An annotation for a static method of a class marking the method as the getter of aTokenEncoder
for the class.