Class CpkChunkId

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class CpkChunkId
    extends SpecificRecordBase implements SpecificRecord
                        

    Identifies a CPK chunk uniquely having as key the CPK checksum and the chunk part

    • Constructor Detail

      • CpkChunkId

        CpkChunkId()
        Default constructor.
      • CpkChunkId

        CpkChunkId(SecureHash cpkChecksum, Integer cpkChunkPartNumber)
        All-args constructor.
        Parameters:
        cpkChecksum - CPK's checksum to which this chunk belongs to
        cpkChunkPartNumber - number of CPK chunk