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 useDataEncoder
The role of this component is to encode the @seeData
record meta information into the internal service representation. The implementation of this interface is required to know the definition of the system (entity & partition key information).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description K
encodeEntityKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecord
for entity key values.P
encodePartitionKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecord
for partition key values.S
encodeRecordFieldDefinitions(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecord
for record field definitions.T
encodeTimeKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecord
for time key values.
-
-
-
Method Detail
-
encodeEntityKeyValues
K encodeEntityKeyValues(cern.cmw.datax.ImmutableData record)
Deprecated.Provide encoding ofrecord
for 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 ofrecord
for 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 ofrecord
for 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 ofrecord
for time key values.- Parameters:
record
- Data to encode.- Returns:
- an internal representation of the time key values.
-
-