Package cern.nxcals.api.ingestion
Interface DataServiceEncoder<K,P,S,T>
-
- Type Parameters:
K- Entity key values encoding type.P- Partition key values type.S- Record field definitions type.T- Time key values type.
- All Known Implementing Classes:
DataServiceEncoderImpl
@Deprecated public interface DataServiceEncoder<K,P,S,T>Deprecated.- please useDataEncoderThe role of this component is to encode the @seeDatarecord meta information into the internal service representation. The implementation of this interface is required to know the definition of the system (entity and partition key information).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description KencodeEntityKeyValues(cern.cmw.datax.ImmutableData record)Deprecated.Provide encoding ofrecordfor entity key values.PencodePartitionKeyValues(cern.cmw.datax.ImmutableData record)Deprecated.Provide encoding ofrecordfor partition key values.SencodeRecordFieldDefinitions(cern.cmw.datax.ImmutableData record)Deprecated.Provide encoding ofrecordfor record field definitions.TencodeTimeKeyValues(cern.cmw.datax.ImmutableData record)Deprecated.Provide encoding ofrecordfor time key values.
-
-
-
Method Detail
-
encodeEntityKeyValues
K encodeEntityKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecordfor entity key values.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the entity key values
-
encodePartitionKeyValues
P encodePartitionKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecordfor partition key values.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the partition key values
-
encodeRecordFieldDefinitions
S encodeRecordFieldDefinitions(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecordfor record field definitions.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the record definition (fields + types), aka schema.
-
encodeTimeKeyValues
T encodeTimeKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecordfor time key values.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the time key values.
-
-