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 Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanlongbooleanbooleanintstatic final org.apache.avro.Schemaint -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.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. -
Method Summary
Modifier and TypeMethodDescriptionget(int field$) booleanGets the value of the 'bufferReplayEnabledForHybrid' field.booleanGets the value of the 'chunkingEnabled' field.static org.apache.avro.SchemaGets the value of the 'compressionStrategy' field.longGets the value of the 'creationTime' field.booleanGets the value of the 'leaderFollowerModelEnabled' field.booleanGets the value of the 'nativeReplicationEnabled' field.intGets the value of the 'partitionCount' field.Gets the value of the 'partitionerConfig' field.Gets the value of the 'pushJobId' field.Gets the value of the 'pushStreamSourceAddress' field.Gets the value of the 'pushType' field.org.apache.avro.Schemaorg.apache.avro.specific.SpecificDataGets the value of the 'status' field.intGets the value of the 'versionNumber' field.voidvoidvoidsetBufferReplayEnabledForHybrid(boolean value) Sets the value of the 'bufferReplayEnabledForHybrid' field.voidsetChunkingEnabled(boolean value) Sets the value of the 'chunkingEnabled' field.voidSets the value of the 'compressionStrategy' field.voidsetCreationTime(long value) Sets the value of the 'creationTime' field.voidsetLeaderFollowerModelEnabled(boolean value) Sets the value of the 'leaderFollowerModelEnabled' field.voidsetNativeReplicationEnabled(boolean value) Sets the value of the 'nativeReplicationEnabled' field.voidsetPartitionCount(int value) Sets the value of the 'partitionCount' field.voidSets the value of the 'partitionerConfig' field.voidsetPushJobId(CharSequence value) Sets the value of the 'pushJobId' field.voidSets the value of the 'pushStreamSourceAddress' field.voidsetPushType(CharSequence value) Sets the value of the 'pushType' field.voidsetStatus(CharSequence value) Sets the value of the 'status' field.voidsetVersionNumber(int value) Sets the value of the 'versionNumber' field.voidMethods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, customDecode, customEncode, equals, get, getConversion, getConversion, hasCustomCoders, hashCode, put, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.avro.generic.GenericRecord
hasField
-
Field Details
-
SCHEMA$
public static final org.apache.avro.Schema SCHEMA$ -
versionNumber
public int versionNumber -
pushJobId
-
partitionCount
public int partitionCount -
creationTime
public long creationTime -
chunkingEnabled
public boolean chunkingEnabled -
compressionStrategy
-
leaderFollowerModelEnabled
public boolean leaderFollowerModelEnabled -
bufferReplayEnabledForHybrid
public boolean bufferReplayEnabledForHybrid -
pushType
-
nativeReplicationEnabled
public boolean nativeReplicationEnabled -
status
-
pushStreamSourceAddress
-
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 usenewBuilder(). -
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 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 Details
-
getClassSchema
public static org.apache.avro.Schema getClassSchema() -
getSpecificData
public org.apache.avro.specific.SpecificData getSpecificData()- Overrides:
getSpecificDatain classorg.apache.avro.specific.SpecificRecordBase
-
getSchema
public org.apache.avro.Schema getSchema()- Specified by:
getSchemain interfaceorg.apache.avro.generic.GenericContainer- Specified by:
getSchemain classorg.apache.avro.specific.SpecificRecordBase
-
get
- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Specified by:
getin classorg.apache.avro.specific.SpecificRecordBase
-
put
- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Specified by:
putin 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
Gets the value of the 'pushJobId' field.- Returns:
- The value of the 'pushJobId' field.
-
setPushJobId
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
Gets the value of the 'compressionStrategy' field.- Returns:
- The value of the 'compressionStrategy' field.
-
setCompressionStrategy
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
Gets the value of the 'pushType' field.- Returns:
- The value of the 'pushType' field.
-
setPushType
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
Gets the value of the 'status' field.- Returns:
- The value of the 'status' field.
-
setStatus
Sets the value of the 'status' field.- Parameters:
value- the value to set.
-
getPushStreamSourceAddress
Gets the value of the 'pushStreamSourceAddress' field.- Returns:
- The value of the 'pushStreamSourceAddress' field.
-
setPushStreamSourceAddress
Sets the value of the 'pushStreamSourceAddress' field.- Parameters:
value- the value to set.
-
getPartitionerConfig
Gets the value of the 'partitionerConfig' field.- Returns:
- The value of the 'partitionerConfig' field.
-
setPartitionerConfig
Sets the value of the 'partitionerConfig' field.- Parameters:
value- the value to set.
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classorg.apache.avro.specific.SpecificRecordBase- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classorg.apache.avro.specific.SpecificRecordBase- Throws:
IOException
-