Class StoreVersionState

java.lang.Object
org.apache.avro.specific.SpecificRecordBase
com.linkedin.venice.meta.systemstore.schemas.StoreVersionState
All Implemented Interfaces:
Externalizable, Serializable, 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:
  • Field Details

    • SCHEMA$

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

      public int versionNumber
    • pushJobId

      public CharSequence pushJobId
    • partitionCount

      public int partitionCount
    • creationTime

      public long creationTime
    • chunkingEnabled

      public boolean chunkingEnabled
    • compressionStrategy

      public CharSequence compressionStrategy
    • leaderFollowerModelEnabled

      public boolean leaderFollowerModelEnabled
    • bufferReplayEnabledForHybrid

      public boolean bufferReplayEnabledForHybrid
    • pushType

      public CharSequence pushType
    • nativeReplicationEnabled

      public boolean nativeReplicationEnabled
    • status

      public CharSequence status
    • pushStreamSourceAddress

      public CharSequence pushStreamSourceAddress
    • partitionerConfig

      public PartitionerConfig partitionerConfig
  • Constructor Details

    • 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(Integer versionNumber, CharSequence pushJobId, Integer partitionCount, Long creationTime, Boolean chunkingEnabled, CharSequence compressionStrategy, Boolean leaderFollowerModelEnabled, Boolean bufferReplayEnabledForHybrid, CharSequence pushType, Boolean nativeReplicationEnabled, CharSequence status, 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 Details

    • 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 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$, 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 CharSequence getPushJobId()
      Gets the value of the 'pushJobId' field.
      Returns:
      The value of the 'pushJobId' field.
    • setPushJobId

      public void setPushJobId(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 CharSequence getCompressionStrategy()
      Gets the value of the 'compressionStrategy' field.
      Returns:
      The value of the 'compressionStrategy' field.
    • setCompressionStrategy

      public void setCompressionStrategy(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 CharSequence getPushType()
      Gets the value of the 'pushType' field.
      Returns:
      The value of the 'pushType' field.
    • setPushType

      public void setPushType(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 CharSequence getStatus()
      Gets the value of the 'status' field.
      Returns:
      The value of the 'status' field.
    • setStatus

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

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

      public void setPushStreamSourceAddress(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(ObjectOutput out) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Overrides:
      writeExternal in class org.apache.avro.specific.SpecificRecordBase
      Throws:
      IOException
    • readExternal

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