Class StoreVersionState
- java.lang.Object
-
- org.apache.avro.specific.SpecificRecordBase
-
- com.linkedin.venice.meta.systemstore.schemas.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 Summary
Fields Modifier and Type Field Description boolean
bufferReplayEnabledForHybrid
boolean
chunkingEnabled
java.lang.CharSequence
compressionStrategy
long
creationTime
boolean
leaderFollowerModelEnabled
boolean
nativeReplicationEnabled
int
partitionCount
PartitionerConfig
partitionerConfig
java.lang.CharSequence
pushJobId
java.lang.CharSequence
pushStreamSourceAddress
java.lang.CharSequence
pushType
static org.apache.avro.Schema
SCHEMA$
java.lang.CharSequence
status
int
versionNumber
-
Constructor Summary
Constructors Constructor Description StoreVersionState()
Default constructor.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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(int field$)
boolean
getBufferReplayEnabledForHybrid()
Gets the value of the 'bufferReplayEnabledForHybrid' field.boolean
getChunkingEnabled()
Gets the value of the 'chunkingEnabled' field.static org.apache.avro.Schema
getClassSchema()
java.lang.CharSequence
getCompressionStrategy()
Gets the value of the 'compressionStrategy' field.long
getCreationTime()
Gets the value of the 'creationTime' field.boolean
getLeaderFollowerModelEnabled()
Gets the value of the 'leaderFollowerModelEnabled' field.boolean
getNativeReplicationEnabled()
Gets the value of the 'nativeReplicationEnabled' field.int
getPartitionCount()
Gets the value of the 'partitionCount' field.PartitionerConfig
getPartitionerConfig()
Gets the value of the 'partitionerConfig' field.java.lang.CharSequence
getPushJobId()
Gets the value of the 'pushJobId' field.java.lang.CharSequence
getPushStreamSourceAddress()
Gets the value of the 'pushStreamSourceAddress' field.java.lang.CharSequence
getPushType()
Gets the value of the 'pushType' field.org.apache.avro.Schema
getSchema()
org.apache.avro.specific.SpecificData
getSpecificData()
java.lang.CharSequence
getStatus()
Gets the value of the 'status' field.int
getVersionNumber()
Gets the value of the 'versionNumber' field.void
put(int field$, java.lang.Object value$)
void
readExternal(java.io.ObjectInput in)
void
setBufferReplayEnabledForHybrid(boolean value)
Sets the value of the 'bufferReplayEnabledForHybrid' field.void
setChunkingEnabled(boolean value)
Sets the value of the 'chunkingEnabled' field.void
setCompressionStrategy(java.lang.CharSequence value)
Sets the value of the 'compressionStrategy' field.void
setCreationTime(long value)
Sets the value of the 'creationTime' field.void
setLeaderFollowerModelEnabled(boolean value)
Sets the value of the 'leaderFollowerModelEnabled' field.void
setNativeReplicationEnabled(boolean value)
Sets the value of the 'nativeReplicationEnabled' field.void
setPartitionCount(int value)
Sets the value of the 'partitionCount' field.void
setPartitionerConfig(PartitionerConfig value)
Sets the value of the 'partitionerConfig' field.void
setPushJobId(java.lang.CharSequence value)
Sets the value of the 'pushJobId' field.void
setPushStreamSourceAddress(java.lang.CharSequence value)
Sets the value of the 'pushStreamSourceAddress' field.void
setPushType(java.lang.CharSequence value)
Sets the value of the 'pushType' field.void
setStatus(java.lang.CharSequence value)
Sets the value of the 'status' field.void
setVersionNumber(int value)
Sets the value of the 'versionNumber' field.void
writeExternal(java.io.ObjectOutput out)
-
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, customDecode, customEncode, equals, get, getConversion, getConversion, hasCustomCoders, hashCode, put, toString
-
-
-
-
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
-
partitionerConfig
public PartitionerConfig partitionerConfig
-
-
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 usenewBuilder()
.
-
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 versionNumberpushJobId
- The new value for pushJobIdpartitionCount
- The new value for partitionCountcreationTime
- The new value for creationTimechunkingEnabled
- The new value for chunkingEnabledcompressionStrategy
- The new value for compressionStrategyleaderFollowerModelEnabled
- The new value for leaderFollowerModelEnabledbufferReplayEnabledForHybrid
- The new value for bufferReplayEnabledForHybridpushType
- The new value for pushTypenativeReplicationEnabled
- The new value for nativeReplicationEnabledstatus
- The new value for statuspushStreamSourceAddress
- The new value for pushStreamSourceAddresspartitionerConfig
- 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 classorg.apache.avro.specific.SpecificRecordBase
-
getSchema
public org.apache.avro.Schema getSchema()
- Specified by:
getSchema
in interfaceorg.apache.avro.generic.GenericContainer
- Specified by:
getSchema
in classorg.apache.avro.specific.SpecificRecordBase
-
get
public java.lang.Object get(int field$)
- Specified by:
get
in interfaceorg.apache.avro.generic.IndexedRecord
- Specified by:
get
in classorg.apache.avro.specific.SpecificRecordBase
-
put
public void put(int field$, java.lang.Object value$)
- Specified by:
put
in interfaceorg.apache.avro.generic.IndexedRecord
- Specified by:
put
in classorg.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 interfacejava.io.Externalizable
- Overrides:
writeExternal
in classorg.apache.avro.specific.SpecificRecordBase
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Overrides:
readExternal
in classorg.apache.avro.specific.SpecificRecordBase
- Throws:
java.io.IOException
-
-