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.
-
Method Summary
Modifier and TypeMethodDescriptionencodeEntityKeyValues(cern.cmw.datax.ImmutableData record) Deprecated.Provide encoding ofrecordfor entity key values.encodePartitionKeyValues(cern.cmw.datax.ImmutableData record) Deprecated.Provide encoding ofrecordfor partition key values.encodeRecordFieldDefinitions(cern.cmw.datax.ImmutableData record) Deprecated.Provide encoding ofrecordfor record field definitions.encodeTimeKeyValues(cern.cmw.datax.ImmutableData record) Deprecated.Provide encoding ofrecordfor time key values.
-
Method Details
-
encodeEntityKeyValues
Deprecated.Provide encoding ofrecordfor entity key values.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the entity key values
-
encodePartitionKeyValues
Deprecated.Provide encoding ofrecordfor partition key values.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the partition key values
-
encodeRecordFieldDefinitions
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
Deprecated.Provide encoding ofrecordfor time key values.- Parameters:
record- Data to encode.- Returns:
- an internal representation of the time key values.
-
DataEncoderThe 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).