Class DataServiceEncoderImpl

java.lang.Object
cern.nxcals.api.ingestion.DataServiceEncoderImpl
All Implemented Interfaces:
DataServiceEncoder<KeyValues,KeyValues,String,Long>, Function<cern.nxcals.api.ingestion.RecordData,byte[]>

@Deprecated public class DataServiceEncoderImpl extends Object implements DataServiceEncoder<KeyValues,KeyValues,String,Long>, Function<cern.nxcals.api.ingestion.RecordData,byte[]>
Deprecated.
- please use DataEncoderImpl
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataServiceEncoderImpl(org.apache.avro.Schema entityKeyDefs, org.apache.avro.Schema partitionKeyDefs, org.apache.avro.Schema timeKeyDefs, org.apache.avro.Schema recordVersionKeySchema, cern.nxcals.common.converters.TimeConverter timeConverter)
    Deprecated.
    Constructor that builds encoder based on supplied schemas.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    apply(cern.nxcals.api.ingestion.RecordData record)
    Deprecated.
     
    encodeEntityKeyValues(cern.cmw.datax.ImmutableData data)
    Deprecated.
    Provide encoding of record for entity key values.
    encodePartitionKeyValues(cern.cmw.datax.ImmutableData data)
    Deprecated.
    Provide encoding of record for partition key values.
    encodeRecordFieldDefinitions(cern.cmw.datax.ImmutableData record)
    Deprecated.
    Creates a Schema from a given CMW Data record.
    encodeTimeKeyValues(cern.cmw.datax.ImmutableData record)
    Deprecated.
    Provide encoding of record for time key values.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

    • DataServiceEncoderImpl

      public DataServiceEncoderImpl(org.apache.avro.Schema entityKeyDefs, org.apache.avro.Schema partitionKeyDefs, org.apache.avro.Schema timeKeyDefs, org.apache.avro.Schema recordVersionKeySchema, cern.nxcals.common.converters.TimeConverter timeConverter)
      Deprecated.
      Constructor that builds encoder based on supplied schemas.
      Parameters:
      entityKeyDefs - Entity schema definition.
      partitionKeyDefs - Partition schema definition.
      timeKeyDefs - Time schema definition.
      recordVersionKeySchema - Record version schema definition.
      timeConverter - Timestamp converter from generic record.
  • Method Details