Class StoreVersionState

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

    public class StoreVersionState
    extends org.apache.avro.specific.SpecificRecordBase
    implements org.apache.avro.specific.SpecificRecord
    See Also:
    Serialized Form
    • Field Detail

      • SCHEMA$

        public static final org.apache.avro.Schema SCHEMA$
      • versionNumber

        public int versionNumber
      • pushJobId

        public java.lang.CharSequence pushJobId
      • partitionCount

        public int partitionCount
      • creationTime

        public long creationTime
      • chunkingEnabled

        public boolean chunkingEnabled
      • compressionStrategy

        public java.lang.CharSequence compressionStrategy
      • leaderFollowerModelEnabled

        public boolean leaderFollowerModelEnabled
      • bufferReplayEnabledForHybrid

        public boolean bufferReplayEnabledForHybrid
      • pushType

        public java.lang.CharSequence pushType
      • nativeReplicationEnabled

        public boolean nativeReplicationEnabled
      • status

        public java.lang.CharSequence status
      • pushStreamSourceAddress

        public java.lang.CharSequence pushStreamSourceAddress
    • Constructor Detail

      • StoreVersionState

        public StoreVersionState()
        Default constructor. Note that this does not initialize fields to their default values from the schema. If that is desired then one should use newBuilder().
      • StoreVersionState

        public StoreVersionState​(java.lang.Integer versionNumber,
                                 java.lang.CharSequence pushJobId,
                                 java.lang.Integer partitionCount,
                                 java.lang.Long creationTime,
                                 java.lang.Boolean chunkingEnabled,
                                 java.lang.CharSequence compressionStrategy,
                                 java.lang.Boolean leaderFollowerModelEnabled,
                                 java.lang.Boolean bufferReplayEnabledForHybrid,
                                 java.lang.CharSequence pushType,
                                 java.lang.Boolean nativeReplicationEnabled,
                                 java.lang.CharSequence status,
                                 java.lang.CharSequence pushStreamSourceAddress,
                                 PartitionerConfig partitionerConfig)
        All-args constructor.
        Parameters:
        versionNumber - The new value for versionNumber
        pushJobId - The new value for pushJobId
        partitionCount - The new value for partitionCount
        creationTime - The new value for creationTime
        chunkingEnabled - The new value for chunkingEnabled
        compressionStrategy - The new value for compressionStrategy
        leaderFollowerModelEnabled - The new value for leaderFollowerModelEnabled
        bufferReplayEnabledForHybrid - The new value for bufferReplayEnabledForHybrid
        pushType - The new value for pushType
        nativeReplicationEnabled - The new value for nativeReplicationEnabled
        status - The new value for status
        pushStreamSourceAddress - The new value for pushStreamSourceAddress
        partitionerConfig - The new value for partitionerConfig
    • Method Detail

      • getClassSchema

        public static org.apache.avro.Schema getClassSchema()
      • getSpecificData

        public org.apache.avro.specific.SpecificData getSpecificData()
        Overrides:
        getSpecificData in class org.apache.avro.specific.SpecificRecordBase
      • getSchema

        public org.apache.avro.Schema getSchema()
        Specified by:
        getSchema in interface org.apache.avro.generic.GenericContainer
        Specified by:
        getSchema in class org.apache.avro.specific.SpecificRecordBase
      • get

        public java.lang.Object get​(int field$)
        Specified by:
        get in interface org.apache.avro.generic.IndexedRecord
        Specified by:
        get in class org.apache.avro.specific.SpecificRecordBase
      • put

        public void put​(int field$,
                        java.lang.Object value$)
        Specified by:
        put in interface org.apache.avro.generic.IndexedRecord
        Specified by:
        put in class org.apache.avro.specific.SpecificRecordBase
      • getVersionNumber

        public int getVersionNumber()
        Gets the value of the 'versionNumber' field.
        Returns:
        The value of the 'versionNumber' field.
      • setVersionNumber

        public void setVersionNumber​(int value)
        Sets the value of the 'versionNumber' field.
        Parameters:
        value - the value to set.
      • getPushJobId

        public java.lang.CharSequence getPushJobId()
        Gets the value of the 'pushJobId' field.
        Returns:
        The value of the 'pushJobId' field.
      • setPushJobId

        public void setPushJobId​(java.lang.CharSequence value)
        Sets the value of the 'pushJobId' field.
        Parameters:
        value - the value to set.
      • getPartitionCount

        public int getPartitionCount()
        Gets the value of the 'partitionCount' field.
        Returns:
        The value of the 'partitionCount' field.
      • setPartitionCount

        public void setPartitionCount​(int value)
        Sets the value of the 'partitionCount' field.
        Parameters:
        value - the value to set.
      • getCreationTime

        public long getCreationTime()
        Gets the value of the 'creationTime' field.
        Returns:
        The value of the 'creationTime' field.
      • setCreationTime

        public void setCreationTime​(long value)
        Sets the value of the 'creationTime' field.
        Parameters:
        value - the value to set.
      • getChunkingEnabled

        public boolean getChunkingEnabled()
        Gets the value of the 'chunkingEnabled' field.
        Returns:
        The value of the 'chunkingEnabled' field.
      • setChunkingEnabled

        public void setChunkingEnabled​(boolean value)
        Sets the value of the 'chunkingEnabled' field.
        Parameters:
        value - the value to set.
      • getCompressionStrategy

        public java.lang.CharSequence getCompressionStrategy()
        Gets the value of the 'compressionStrategy' field.
        Returns:
        The value of the 'compressionStrategy' field.
      • setCompressionStrategy

        public void setCompressionStrategy​(java.lang.CharSequence value)
        Sets the value of the 'compressionStrategy' field.
        Parameters:
        value - the value to set.
      • getLeaderFollowerModelEnabled

        public boolean getLeaderFollowerModelEnabled()
        Gets the value of the 'leaderFollowerModelEnabled' field.
        Returns:
        The value of the 'leaderFollowerModelEnabled' field.
      • setLeaderFollowerModelEnabled

        public void setLeaderFollowerModelEnabled​(boolean value)
        Sets the value of the 'leaderFollowerModelEnabled' field.
        Parameters:
        value - the value to set.
      • getBufferReplayEnabledForHybrid

        public boolean getBufferReplayEnabledForHybrid()
        Gets the value of the 'bufferReplayEnabledForHybrid' field.
        Returns:
        The value of the 'bufferReplayEnabledForHybrid' field.
      • setBufferReplayEnabledForHybrid

        public void setBufferReplayEnabledForHybrid​(boolean value)
        Sets the value of the 'bufferReplayEnabledForHybrid' field.
        Parameters:
        value - the value to set.
      • getPushType

        public java.lang.CharSequence getPushType()
        Gets the value of the 'pushType' field.
        Returns:
        The value of the 'pushType' field.
      • setPushType

        public void setPushType​(java.lang.CharSequence value)
        Sets the value of the 'pushType' field.
        Parameters:
        value - the value to set.
      • getNativeReplicationEnabled

        public boolean getNativeReplicationEnabled()
        Gets the value of the 'nativeReplicationEnabled' field.
        Returns:
        The value of the 'nativeReplicationEnabled' field.
      • setNativeReplicationEnabled

        public void setNativeReplicationEnabled​(boolean value)
        Sets the value of the 'nativeReplicationEnabled' field.
        Parameters:
        value - the value to set.
      • getStatus

        public java.lang.CharSequence getStatus()
        Gets the value of the 'status' field.
        Returns:
        The value of the 'status' field.
      • setStatus

        public void setStatus​(java.lang.CharSequence value)
        Sets the value of the 'status' field.
        Parameters:
        value - the value to set.
      • getPushStreamSourceAddress

        public java.lang.CharSequence getPushStreamSourceAddress()
        Gets the value of the 'pushStreamSourceAddress' field.
        Returns:
        The value of the 'pushStreamSourceAddress' field.
      • setPushStreamSourceAddress

        public void setPushStreamSourceAddress​(java.lang.CharSequence value)
        Sets the value of the 'pushStreamSourceAddress' field.
        Parameters:
        value - the value to set.
      • getPartitionerConfig

        public PartitionerConfig getPartitionerConfig()
        Gets the value of the 'partitionerConfig' field.
        Returns:
        The value of the 'partitionerConfig' field.
      • setPartitionerConfig

        public void setPartitionerConfig​(PartitionerConfig value)
        Sets the value of the 'partitionerConfig' field.
        Parameters:
        value - the value to set.
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class org.apache.avro.specific.SpecificRecordBase
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class org.apache.avro.specific.SpecificRecordBase
        Throws:
        java.io.IOException