Package org.rcsb.cif.binary.encoding
Interface Encoding<E extends EncodedData<?>>
-
- All Known Implementing Classes:
ByteArrayEncoding,DeltaEncoding,FixedPointEncoding,IntegerPackingEncoding,IntervalQuantizationEncoding,RunLengthEncoding,StringArrayEncoding
public interface Encoding<E extends EncodedData<?>>Represents a single encoding or decoding step for a column.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncodedData<?>decode(E current)Let this Encoding work its magic and decode some data.StringgetKind()The name of this encoding.
-
-
-
Method Detail
-
getKind
String getKind()
The name of this encoding. Used for serialization and to retrieve the necessaryCodecimplementations.- Returns:
- a String representing the name of this encoding
-
decode
EncodedData<?> decode(E current)
Let this Encoding work its magic and decode some data.- Parameters:
current- the container to decode- Returns:
- the decoded information
-
-