Class UpdateStore
java.lang.Object
org.apache.avro.specific.SpecificRecordBase
com.linkedin.venice.controller.kafka.protocol.admin.UpdateStore
- 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 UpdateStore
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
A command option to enable/disable Active/Active replication feature for a storeboolean
An UpdateStore command option to enable/disable applying the target version filter for incremental pushesint
Strategies to store backup versions.long
Backup version retention time after a new version is promoted to the current version, if not specified, Venice will use the configured retention as the default policyint
The max key number allowed in batch get request, and Venice will use cluster-level config if the limit (not positive) is not validboolean
boolean
Flag to indicate if the blob transfer is allowed or notint
Maximum number of hours allowed for the store to transition from bootstrap to online stateboolean
boolean
int
Using int because Avro Enums are not evolvableint
boolean
An UpdateStore command option to disable the companion davinci push status storeboolean
An UpdateStore command option to disable the companion meta system storeboolean
boolean
boolean
Whether or not to enable disk storage quota for a hybrid storeboolean
boolean
a flag to see if the store supports incremental push or notint
Incremental Push Policy to reconcile with real time pushes.boolean
Flag to indicate whether DVC is bootstrapping and sending heartbeatsboolean
Whether or not the store is in the process of migrationint
The schema id for the latest superset schemaboolean
Whether or not to use leader follower state transition model for upcoming versionlong
Store-level version topic max compaction lagint
Store-level maximum size of any record in bytes for nearline jobs with partial updatesint
Store-level maximum size of any record in bytes for batch push jobsboolean
Whether or not the store is a duplicate store in the process of migrationlong
Store-level version topic min compaction lagboolean
The source fabric to be used when the store is running in Native Replication mode.boolean
Flag to control whether the producer in Server for nearline workload will enable compression or notint
How many producers will be used for the nearline producer in Server to improve producing throughputint
The max number of versions the store should preserve.int
boolean
Whether read-path computation feature is enabled for this storelong
A list of regions that will be impacted by the UpdateStore commandboolean
A flag to indicate whether all store configs in parent cluster will be replicated to child clusters; true by default, so that existing UpdateStore messages in Admin topic will behave the same as before.int
number of replica each store version will haveint
RMD (Replication metadata) version ID on the store-level.boolean
static final org.apache.avro.Schema
boolean
boolean
Flag to see if the store supports separate real-time topic for incremental push.boolean
boolean
Whether storage node read quota is enabled for this storeThe name of the StoragePersona to add to the storelong
Controls what region to swap in the current version during target colo pushint
Controls how long to wait in minutes before swapping the version on the regionsboolean
Whether unused schema deletion is enabled or not.The list that contains all updated configs by the UpdateStore command.A map of views which describe and configure a downstream view of a venice store.boolean
Whether write-path computation feature is enabled for this store -
Constructor Summary
ConstructorDescriptionDefault constructor.UpdateStore
(CharSequence clusterName, CharSequence storeName, CharSequence owner, Integer partitionNum, Integer currentVersion, Boolean enableReads, Boolean enableWrites, Long storageQuotaInByte, Long readQuotaInCU, HybridStoreConfigRecord hybridStoreConfig, Boolean accessControlled, Integer compressionStrategy, Boolean chunkingEnabled, Boolean rmdChunkingEnabled, Boolean singleGetRouterCacheEnabled, Boolean batchGetRouterCacheEnabled, Integer batchGetLimit, Integer numVersionsToPreserve, Boolean incrementalPushEnabled, Boolean separateRealTimeTopicEnabled, Boolean isMigrating, Boolean writeComputationEnabled, Integer replicationMetadataVersionID, Boolean readComputationEnabled, Integer bootstrapToOnlineTimeoutInHours, Boolean leaderFollowerModelEnabled, Integer backupStrategy, Boolean clientDecompressionEnabled, Boolean schemaAutoRegisterFromPushJobEnabled, Boolean hybridStoreOverheadBypass, Boolean hybridStoreDiskQuotaEnabled, ETLStoreConfigRecord ETLStoreConfig, PartitionerConfigRecord partitionerConfig, Boolean nativeReplicationEnabled, CharSequence pushStreamSourceAddress, Integer largestUsedVersionNumber, Integer incrementalPushPolicy, Long backupVersionRetentionMs, Integer replicationFactor, Boolean migrationDuplicateStore, CharSequence nativeReplicationSourceFabric, Boolean activeActiveReplicationEnabled, Boolean disableMetaStore, Boolean disableDavinciPushStatusStore, Boolean applyTargetVersionFilterForIncPush, List<CharSequence> updatedConfigsList, Boolean replicateAllConfigs, CharSequence regionsFilter, CharSequence storagePersona, Map<String, StoreViewConfigRecord> views, Integer latestSuperSetValueSchemaId, Boolean storageNodeReadQuotaEnabled, Long minCompactionLagSeconds, Long maxCompactionLagSeconds, Integer maxRecordSizeBytes, Integer maxNearlineRecordSizeBytes, Boolean unusedSchemaDeletionEnabled, Boolean blobTransferEnabled, Boolean nearlineProducerCompressionEnabled, Integer nearlineProducerCountPerWriter, CharSequence targetSwapRegion, Integer targetSwapRegionWaitTime, Boolean isDaVinciHeartBeatReported) All-args constructor. -
Method Summary
Modifier and TypeMethodDescriptionget
(int field$) boolean
Gets the value of the 'accessControlled' field.boolean
Gets the value of the 'activeActiveReplicationEnabled' field.boolean
Gets the value of the 'applyTargetVersionFilterForIncPush' field.int
Gets the value of the 'backupStrategy' field.long
Gets the value of the 'backupVersionRetentionMs' field.int
Gets the value of the 'batchGetLimit' field.boolean
Gets the value of the 'batchGetRouterCacheEnabled' field.boolean
Gets the value of the 'blobTransferEnabled' field.int
Gets the value of the 'bootstrapToOnlineTimeoutInHours' field.boolean
Gets the value of the 'chunkingEnabled' field.static org.apache.avro.Schema
boolean
Gets the value of the 'clientDecompressionEnabled' field.Gets the value of the 'clusterName' field.int
Gets the value of the 'compressionStrategy' field.int
Gets the value of the 'currentVersion' field.boolean
Gets the value of the 'disableDavinciPushStatusStore' field.boolean
Gets the value of the 'disableMetaStore' field.boolean
Gets the value of the 'enableReads' field.boolean
Gets the value of the 'enableWrites' field.Gets the value of the 'ETLStoreConfig' field.Gets the value of the 'hybridStoreConfig' field.boolean
Gets the value of the 'hybridStoreDiskQuotaEnabled' field.boolean
Gets the value of the 'hybridStoreOverheadBypass' field.boolean
Gets the value of the 'incrementalPushEnabled' field.int
Gets the value of the 'incrementalPushPolicy' field.boolean
Gets the value of the 'isDaVinciHeartBeatReported' field.boolean
Gets the value of the 'isMigrating' field.Gets the value of the 'largestUsedVersionNumber' field.int
Gets the value of the 'latestSuperSetValueSchemaId' field.boolean
Gets the value of the 'leaderFollowerModelEnabled' field.long
Gets the value of the 'maxCompactionLagSeconds' field.int
Gets the value of the 'maxNearlineRecordSizeBytes' field.int
Gets the value of the 'maxRecordSizeBytes' field.boolean
Gets the value of the 'migrationDuplicateStore' field.long
Gets the value of the 'minCompactionLagSeconds' field.boolean
Gets the value of the 'nativeReplicationEnabled' field.Gets the value of the 'nativeReplicationSourceFabric' field.boolean
Gets the value of the 'nearlineProducerCompressionEnabled' field.int
Gets the value of the 'nearlineProducerCountPerWriter' field.int
Gets the value of the 'numVersionsToPreserve' field.getOwner()
Gets the value of the 'owner' field.Gets the value of the 'partitionerConfig' field.int
Gets the value of the 'partitionNum' field.Gets the value of the 'pushStreamSourceAddress' field.boolean
Gets the value of the 'readComputationEnabled' field.long
Gets the value of the 'readQuotaInCU' field.Gets the value of the 'regionsFilter' field.boolean
Gets the value of the 'replicateAllConfigs' field.int
Gets the value of the 'replicationFactor' field.int
Gets the value of the 'replicationMetadataVersionID' field.boolean
Gets the value of the 'rmdChunkingEnabled' field.org.apache.avro.Schema
boolean
Gets the value of the 'schemaAutoRegisterFromPushJobEnabled' field.boolean
Gets the value of the 'separateRealTimeTopicEnabled' field.boolean
Gets the value of the 'singleGetRouterCacheEnabled' field.org.apache.avro.specific.SpecificData
boolean
Gets the value of the 'storageNodeReadQuotaEnabled' field.Gets the value of the 'storagePersona' field.long
Gets the value of the 'storageQuotaInByte' field.Gets the value of the 'storeName' field.Gets the value of the 'targetSwapRegion' field.int
Gets the value of the 'targetSwapRegionWaitTime' field.boolean
Gets the value of the 'unusedSchemaDeletionEnabled' field.Gets the value of the 'updatedConfigsList' field.getViews()
Gets the value of the 'views' field.boolean
Gets the value of the 'writeComputationEnabled' field.void
void
void
setAccessControlled
(boolean value) Sets the value of the 'accessControlled' field.void
setActiveActiveReplicationEnabled
(boolean value) Sets the value of the 'activeActiveReplicationEnabled' field.void
setApplyTargetVersionFilterForIncPush
(boolean value) Sets the value of the 'applyTargetVersionFilterForIncPush' field.void
setBackupStrategy
(int value) Sets the value of the 'backupStrategy' field.void
setBackupVersionRetentionMs
(long value) Sets the value of the 'backupVersionRetentionMs' field.void
setBatchGetLimit
(int value) Sets the value of the 'batchGetLimit' field.void
setBatchGetRouterCacheEnabled
(boolean value) Sets the value of the 'batchGetRouterCacheEnabled' field.void
setBlobTransferEnabled
(boolean value) Sets the value of the 'blobTransferEnabled' field.void
setBootstrapToOnlineTimeoutInHours
(int value) Sets the value of the 'bootstrapToOnlineTimeoutInHours' field.void
setChunkingEnabled
(boolean value) Sets the value of the 'chunkingEnabled' field.void
setClientDecompressionEnabled
(boolean value) Sets the value of the 'clientDecompressionEnabled' field.void
setClusterName
(CharSequence value) Sets the value of the 'clusterName' field.void
setCompressionStrategy
(int value) Sets the value of the 'compressionStrategy' field.void
setCurrentVersion
(int value) Sets the value of the 'currentVersion' field.void
setDisableDavinciPushStatusStore
(boolean value) Sets the value of the 'disableDavinciPushStatusStore' field.void
setDisableMetaStore
(boolean value) Sets the value of the 'disableMetaStore' field.void
setEnableReads
(boolean value) Sets the value of the 'enableReads' field.void
setEnableWrites
(boolean value) Sets the value of the 'enableWrites' field.void
Sets the value of the 'ETLStoreConfig' field.void
Sets the value of the 'hybridStoreConfig' field.void
setHybridStoreDiskQuotaEnabled
(boolean value) Sets the value of the 'hybridStoreDiskQuotaEnabled' field.void
setHybridStoreOverheadBypass
(boolean value) Sets the value of the 'hybridStoreOverheadBypass' field.void
setIncrementalPushEnabled
(boolean value) Sets the value of the 'incrementalPushEnabled' field.void
setIncrementalPushPolicy
(int value) Sets the value of the 'incrementalPushPolicy' field.void
setIsDaVinciHeartBeatReported
(boolean value) Sets the value of the 'isDaVinciHeartBeatReported' field.void
setIsMigrating
(boolean value) Sets the value of the 'isMigrating' field.void
Sets the value of the 'largestUsedVersionNumber' field.void
setLatestSuperSetValueSchemaId
(int value) Sets the value of the 'latestSuperSetValueSchemaId' field.void
setLeaderFollowerModelEnabled
(boolean value) Sets the value of the 'leaderFollowerModelEnabled' field.void
setMaxCompactionLagSeconds
(long value) Sets the value of the 'maxCompactionLagSeconds' field.void
setMaxNearlineRecordSizeBytes
(int value) Sets the value of the 'maxNearlineRecordSizeBytes' field.void
setMaxRecordSizeBytes
(int value) Sets the value of the 'maxRecordSizeBytes' field.void
setMigrationDuplicateStore
(boolean value) Sets the value of the 'migrationDuplicateStore' field.void
setMinCompactionLagSeconds
(long value) Sets the value of the 'minCompactionLagSeconds' field.void
setNativeReplicationEnabled
(boolean value) Sets the value of the 'nativeReplicationEnabled' field.void
Sets the value of the 'nativeReplicationSourceFabric' field.void
setNearlineProducerCompressionEnabled
(boolean value) Sets the value of the 'nearlineProducerCompressionEnabled' field.void
setNearlineProducerCountPerWriter
(int value) Sets the value of the 'nearlineProducerCountPerWriter' field.void
setNumVersionsToPreserve
(int value) Sets the value of the 'numVersionsToPreserve' field.void
setOwner
(CharSequence value) Sets the value of the 'owner' field.void
Sets the value of the 'partitionerConfig' field.void
setPartitionNum
(int value) Sets the value of the 'partitionNum' field.void
Sets the value of the 'pushStreamSourceAddress' field.void
setReadComputationEnabled
(boolean value) Sets the value of the 'readComputationEnabled' field.void
setReadQuotaInCU
(long value) Sets the value of the 'readQuotaInCU' field.void
setRegionsFilter
(CharSequence value) Sets the value of the 'regionsFilter' field.void
setReplicateAllConfigs
(boolean value) Sets the value of the 'replicateAllConfigs' field.void
setReplicationFactor
(int value) Sets the value of the 'replicationFactor' field.void
setReplicationMetadataVersionID
(int value) Sets the value of the 'replicationMetadataVersionID' field.void
setRmdChunkingEnabled
(boolean value) Sets the value of the 'rmdChunkingEnabled' field.void
setSchemaAutoRegisterFromPushJobEnabled
(boolean value) Sets the value of the 'schemaAutoRegisterFromPushJobEnabled' field.void
setSeparateRealTimeTopicEnabled
(boolean value) Sets the value of the 'separateRealTimeTopicEnabled' field.void
setSingleGetRouterCacheEnabled
(boolean value) Sets the value of the 'singleGetRouterCacheEnabled' field.void
setStorageNodeReadQuotaEnabled
(boolean value) Sets the value of the 'storageNodeReadQuotaEnabled' field.void
setStoragePersona
(CharSequence value) Sets the value of the 'storagePersona' field.void
setStorageQuotaInByte
(long value) Sets the value of the 'storageQuotaInByte' field.void
setStoreName
(CharSequence value) Sets the value of the 'storeName' field.void
setTargetSwapRegion
(CharSequence value) Sets the value of the 'targetSwapRegion' field.void
setTargetSwapRegionWaitTime
(int value) Sets the value of the 'targetSwapRegionWaitTime' field.void
setUnusedSchemaDeletionEnabled
(boolean value) Sets the value of the 'unusedSchemaDeletionEnabled' field.void
setUpdatedConfigsList
(List<CharSequence> value) Sets the value of the 'updatedConfigsList' field.void
setViews
(Map<String, StoreViewConfigRecord> value) Sets the value of the 'views' field.void
setWriteComputationEnabled
(boolean value) Sets the value of the 'writeComputationEnabled' field.void
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, customDecode, customEncode, equals, get, getConversion, getConversion, hasCustomCoders, hashCode, put, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.avro.generic.GenericRecord
hasField
-
Field Details
-
SCHEMA$
public static final org.apache.avro.Schema SCHEMA$ -
clusterName
-
storeName
-
owner
-
partitionNum
public int partitionNum -
currentVersion
public int currentVersion -
enableReads
public boolean enableReads -
enableWrites
public boolean enableWrites -
storageQuotaInByte
public long storageQuotaInByte -
readQuotaInCU
public long readQuotaInCU -
hybridStoreConfig
-
accessControlled
public boolean accessControlled -
compressionStrategy
public int compressionStrategyUsing int because Avro Enums are not evolvable -
chunkingEnabled
public boolean chunkingEnabled -
rmdChunkingEnabled
public boolean rmdChunkingEnabled -
singleGetRouterCacheEnabled
public boolean singleGetRouterCacheEnabled -
batchGetRouterCacheEnabled
public boolean batchGetRouterCacheEnabled -
batchGetLimit
public int batchGetLimitThe max key number allowed in batch get request, and Venice will use cluster-level config if the limit (not positive) is not valid -
numVersionsToPreserve
public int numVersionsToPreserveThe max number of versions the store should preserve. Venice will use cluster-level config if the number is 0 here. -
incrementalPushEnabled
public boolean incrementalPushEnableda flag to see if the store supports incremental push or not -
separateRealTimeTopicEnabled
public boolean separateRealTimeTopicEnabledFlag to see if the store supports separate real-time topic for incremental push. -
isMigrating
public boolean isMigratingWhether or not the store is in the process of migration -
writeComputationEnabled
public boolean writeComputationEnabledWhether write-path computation feature is enabled for this store -
replicationMetadataVersionID
public int replicationMetadataVersionIDRMD (Replication metadata) version ID on the store-level. Default -1 means NOT_SET and the cluster-level RMD version ID should be used for stores. -
readComputationEnabled
public boolean readComputationEnabledWhether read-path computation feature is enabled for this store -
bootstrapToOnlineTimeoutInHours
public int bootstrapToOnlineTimeoutInHoursMaximum number of hours allowed for the store to transition from bootstrap to online state -
leaderFollowerModelEnabled
public boolean leaderFollowerModelEnabledWhether or not to use leader follower state transition model for upcoming version -
backupStrategy
public int backupStrategyStrategies to store backup versions. -
clientDecompressionEnabled
public boolean clientDecompressionEnabled -
schemaAutoRegisterFromPushJobEnabled
public boolean schemaAutoRegisterFromPushJobEnabled -
hybridStoreOverheadBypass
public boolean hybridStoreOverheadBypass -
hybridStoreDiskQuotaEnabled
public boolean hybridStoreDiskQuotaEnabledWhether or not to enable disk storage quota for a hybrid store -
ETLStoreConfig
-
partitionerConfig
-
nativeReplicationEnabled
public boolean nativeReplicationEnabled -
pushStreamSourceAddress
-
largestUsedVersionNumber
-
incrementalPushPolicy
public int incrementalPushPolicyIncremental Push Policy to reconcile with real time pushes. Using int because Avro Enums are not evolvable 0 => PUSH_TO_VERSION_TOPIC, 1 => INCREMENTAL_PUSH_SAME_AS_REAL_TIME -
backupVersionRetentionMs
public long backupVersionRetentionMsBackup version retention time after a new version is promoted to the current version, if not specified, Venice will use the configured retention as the default policy -
replicationFactor
public int replicationFactornumber of replica each store version will have -
migrationDuplicateStore
public boolean migrationDuplicateStoreWhether or not the store is a duplicate store in the process of migration -
nativeReplicationSourceFabric
The source fabric to be used when the store is running in Native Replication mode. -
activeActiveReplicationEnabled
public boolean activeActiveReplicationEnabledA command option to enable/disable Active/Active replication feature for a store -
disableMetaStore
public boolean disableMetaStoreAn UpdateStore command option to disable the companion meta system store -
disableDavinciPushStatusStore
public boolean disableDavinciPushStatusStoreAn UpdateStore command option to disable the companion davinci push status store -
applyTargetVersionFilterForIncPush
public boolean applyTargetVersionFilterForIncPushAn UpdateStore command option to enable/disable applying the target version filter for incremental pushes -
updatedConfigsList
The list that contains all updated configs by the UpdateStore command. Most of the fields in UpdateStore are not optional, and changing those fields to Optional (Union) is not a backward compatible change, so we have to add an addition array field to record all updated configs in parent controller. -
replicateAllConfigs
public boolean replicateAllConfigsA flag to indicate whether all store configs in parent cluster will be replicated to child clusters; true by default, so that existing UpdateStore messages in Admin topic will behave the same as before. -
regionsFilter
A list of regions that will be impacted by the UpdateStore command -
storagePersona
The name of the StoragePersona to add to the store -
views
A map of views which describe and configure a downstream view of a venice store. Keys in this map are for convenience of managing configs. -
latestSuperSetValueSchemaId
public int latestSuperSetValueSchemaIdThe schema id for the latest superset schema -
storageNodeReadQuotaEnabled
public boolean storageNodeReadQuotaEnabledWhether storage node read quota is enabled for this store -
minCompactionLagSeconds
public long minCompactionLagSecondsStore-level version topic min compaction lag -
maxCompactionLagSeconds
public long maxCompactionLagSecondsStore-level version topic max compaction lag -
maxRecordSizeBytes
public int maxRecordSizeBytesStore-level maximum size of any record in bytes for batch push jobs -
maxNearlineRecordSizeBytes
public int maxNearlineRecordSizeBytesStore-level maximum size of any record in bytes for nearline jobs with partial updates -
unusedSchemaDeletionEnabled
public boolean unusedSchemaDeletionEnabledWhether unused schema deletion is enabled or not. -
blobTransferEnabled
public boolean blobTransferEnabledFlag to indicate if the blob transfer is allowed or not -
nearlineProducerCompressionEnabled
public boolean nearlineProducerCompressionEnabledFlag to control whether the producer in Server for nearline workload will enable compression or not -
nearlineProducerCountPerWriter
public int nearlineProducerCountPerWriterHow many producers will be used for the nearline producer in Server to improve producing throughput -
targetSwapRegion
Controls what region to swap in the current version during target colo push -
targetSwapRegionWaitTime
public int targetSwapRegionWaitTimeControls how long to wait in minutes before swapping the version on the regions -
isDaVinciHeartBeatReported
public boolean isDaVinciHeartBeatReportedFlag to indicate whether DVC is bootstrapping and sending heartbeats
-
-
Constructor Details
-
UpdateStore
public UpdateStore()Default constructor. Note that this does not initialize fields to their default values from the schema. If that is desired then one should usenewBuilder()
. -
UpdateStore
public UpdateStore(CharSequence clusterName, CharSequence storeName, CharSequence owner, Integer partitionNum, Integer currentVersion, Boolean enableReads, Boolean enableWrites, Long storageQuotaInByte, Long readQuotaInCU, HybridStoreConfigRecord hybridStoreConfig, Boolean accessControlled, Integer compressionStrategy, Boolean chunkingEnabled, Boolean rmdChunkingEnabled, Boolean singleGetRouterCacheEnabled, Boolean batchGetRouterCacheEnabled, Integer batchGetLimit, Integer numVersionsToPreserve, Boolean incrementalPushEnabled, Boolean separateRealTimeTopicEnabled, Boolean isMigrating, Boolean writeComputationEnabled, Integer replicationMetadataVersionID, Boolean readComputationEnabled, Integer bootstrapToOnlineTimeoutInHours, Boolean leaderFollowerModelEnabled, Integer backupStrategy, Boolean clientDecompressionEnabled, Boolean schemaAutoRegisterFromPushJobEnabled, Boolean hybridStoreOverheadBypass, Boolean hybridStoreDiskQuotaEnabled, ETLStoreConfigRecord ETLStoreConfig, PartitionerConfigRecord partitionerConfig, Boolean nativeReplicationEnabled, CharSequence pushStreamSourceAddress, Integer largestUsedVersionNumber, Integer incrementalPushPolicy, Long backupVersionRetentionMs, Integer replicationFactor, Boolean migrationDuplicateStore, CharSequence nativeReplicationSourceFabric, Boolean activeActiveReplicationEnabled, Boolean disableMetaStore, Boolean disableDavinciPushStatusStore, Boolean applyTargetVersionFilterForIncPush, List<CharSequence> updatedConfigsList, Boolean replicateAllConfigs, CharSequence regionsFilter, CharSequence storagePersona, Map<String, StoreViewConfigRecord> views, Integer latestSuperSetValueSchemaId, Boolean storageNodeReadQuotaEnabled, Long minCompactionLagSeconds, Long maxCompactionLagSeconds, Integer maxRecordSizeBytes, Integer maxNearlineRecordSizeBytes, Boolean unusedSchemaDeletionEnabled, Boolean blobTransferEnabled, Boolean nearlineProducerCompressionEnabled, Integer nearlineProducerCountPerWriter, CharSequence targetSwapRegion, Integer targetSwapRegionWaitTime, Boolean isDaVinciHeartBeatReported) All-args constructor.- Parameters:
clusterName
- The new value for clusterNamestoreName
- The new value for storeNameowner
- The new value for ownerpartitionNum
- The new value for partitionNumcurrentVersion
- The new value for currentVersionenableReads
- The new value for enableReadsenableWrites
- The new value for enableWritesstorageQuotaInByte
- The new value for storageQuotaInBytereadQuotaInCU
- The new value for readQuotaInCUhybridStoreConfig
- The new value for hybridStoreConfigaccessControlled
- The new value for accessControlledcompressionStrategy
- Using int because Avro Enums are not evolvablechunkingEnabled
- The new value for chunkingEnabledrmdChunkingEnabled
- The new value for rmdChunkingEnabledsingleGetRouterCacheEnabled
- The new value for singleGetRouterCacheEnabledbatchGetRouterCacheEnabled
- The new value for batchGetRouterCacheEnabledbatchGetLimit
- The max key number allowed in batch get request, and Venice will use cluster-level config if the limit (not positive) is not validnumVersionsToPreserve
- The max number of versions the store should preserve. Venice will use cluster-level config if the number is 0 here.incrementalPushEnabled
- a flag to see if the store supports incremental push or notseparateRealTimeTopicEnabled
- Flag to see if the store supports separate real-time topic for incremental push.isMigrating
- Whether or not the store is in the process of migrationwriteComputationEnabled
- Whether write-path computation feature is enabled for this storereplicationMetadataVersionID
- RMD (Replication metadata) version ID on the store-level. Default -1 means NOT_SET and the cluster-level RMD version ID should be used for stores.readComputationEnabled
- Whether read-path computation feature is enabled for this storebootstrapToOnlineTimeoutInHours
- Maximum number of hours allowed for the store to transition from bootstrap to online stateleaderFollowerModelEnabled
- Whether or not to use leader follower state transition model for upcoming versionbackupStrategy
- Strategies to store backup versions.clientDecompressionEnabled
- The new value for clientDecompressionEnabledschemaAutoRegisterFromPushJobEnabled
- The new value for schemaAutoRegisterFromPushJobEnabledhybridStoreOverheadBypass
- The new value for hybridStoreOverheadBypasshybridStoreDiskQuotaEnabled
- Whether or not to enable disk storage quota for a hybrid storeETLStoreConfig
- The new value for ETLStoreConfigpartitionerConfig
- The new value for partitionerConfignativeReplicationEnabled
- The new value for nativeReplicationEnabledpushStreamSourceAddress
- The new value for pushStreamSourceAddresslargestUsedVersionNumber
- The new value for largestUsedVersionNumberincrementalPushPolicy
- Incremental Push Policy to reconcile with real time pushes. Using int because Avro Enums are not evolvable 0 => PUSH_TO_VERSION_TOPIC, 1 => INCREMENTAL_PUSH_SAME_AS_REAL_TIMEbackupVersionRetentionMs
- Backup version retention time after a new version is promoted to the current version, if not specified, Venice will use the configured retention as the default policyreplicationFactor
- number of replica each store version will havemigrationDuplicateStore
- Whether or not the store is a duplicate store in the process of migrationnativeReplicationSourceFabric
- The source fabric to be used when the store is running in Native Replication mode.activeActiveReplicationEnabled
- A command option to enable/disable Active/Active replication feature for a storedisableMetaStore
- An UpdateStore command option to disable the companion meta system storedisableDavinciPushStatusStore
- An UpdateStore command option to disable the companion davinci push status storeapplyTargetVersionFilterForIncPush
- An UpdateStore command option to enable/disable applying the target version filter for incremental pushesupdatedConfigsList
- The list that contains all updated configs by the UpdateStore command. Most of the fields in UpdateStore are not optional, and changing those fields to Optional (Union) is not a backward compatible change, so we have to add an addition array field to record all updated configs in parent controller.replicateAllConfigs
- A flag to indicate whether all store configs in parent cluster will be replicated to child clusters; true by default, so that existing UpdateStore messages in Admin topic will behave the same as before.regionsFilter
- A list of regions that will be impacted by the UpdateStore commandstoragePersona
- The name of the StoragePersona to add to the storeviews
- A map of views which describe and configure a downstream view of a venice store. Keys in this map are for convenience of managing configs.latestSuperSetValueSchemaId
- The schema id for the latest superset schemastorageNodeReadQuotaEnabled
- Whether storage node read quota is enabled for this storeminCompactionLagSeconds
- Store-level version topic min compaction lagmaxCompactionLagSeconds
- Store-level version topic max compaction lagmaxRecordSizeBytes
- Store-level maximum size of any record in bytes for batch push jobsmaxNearlineRecordSizeBytes
- Store-level maximum size of any record in bytes for nearline jobs with partial updatesunusedSchemaDeletionEnabled
- Whether unused schema deletion is enabled or not.blobTransferEnabled
- Flag to indicate if the blob transfer is allowed or notnearlineProducerCompressionEnabled
- Flag to control whether the producer in Server for nearline workload will enable compression or notnearlineProducerCountPerWriter
- How many producers will be used for the nearline producer in Server to improve producing throughputtargetSwapRegion
- Controls what region to swap in the current version during target colo pushtargetSwapRegionWaitTime
- Controls how long to wait in minutes before swapping the version on the regionsisDaVinciHeartBeatReported
- Flag to indicate whether DVC is bootstrapping and sending heartbeats
-
-
Method Details
-
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
- Specified by:
get
in interfaceorg.apache.avro.generic.IndexedRecord
- Specified by:
get
in classorg.apache.avro.specific.SpecificRecordBase
-
put
- Specified by:
put
in interfaceorg.apache.avro.generic.IndexedRecord
- Specified by:
put
in classorg.apache.avro.specific.SpecificRecordBase
-
getClusterName
Gets the value of the 'clusterName' field.- Returns:
- The value of the 'clusterName' field.
-
setClusterName
Sets the value of the 'clusterName' field.- Parameters:
value
- the value to set.
-
getStoreName
Gets the value of the 'storeName' field.- Returns:
- The value of the 'storeName' field.
-
setStoreName
Sets the value of the 'storeName' field.- Parameters:
value
- the value to set.
-
getOwner
Gets the value of the 'owner' field.- Returns:
- The value of the 'owner' field.
-
setOwner
Sets the value of the 'owner' field.- Parameters:
value
- the value to set.
-
getPartitionNum
public int getPartitionNum()Gets the value of the 'partitionNum' field.- Returns:
- The value of the 'partitionNum' field.
-
setPartitionNum
public void setPartitionNum(int value) Sets the value of the 'partitionNum' field.- Parameters:
value
- the value to set.
-
getCurrentVersion
public int getCurrentVersion()Gets the value of the 'currentVersion' field.- Returns:
- The value of the 'currentVersion' field.
-
setCurrentVersion
public void setCurrentVersion(int value) Sets the value of the 'currentVersion' field.- Parameters:
value
- the value to set.
-
getEnableReads
public boolean getEnableReads()Gets the value of the 'enableReads' field.- Returns:
- The value of the 'enableReads' field.
-
setEnableReads
public void setEnableReads(boolean value) Sets the value of the 'enableReads' field.- Parameters:
value
- the value to set.
-
getEnableWrites
public boolean getEnableWrites()Gets the value of the 'enableWrites' field.- Returns:
- The value of the 'enableWrites' field.
-
setEnableWrites
public void setEnableWrites(boolean value) Sets the value of the 'enableWrites' field.- Parameters:
value
- the value to set.
-
getStorageQuotaInByte
public long getStorageQuotaInByte()Gets the value of the 'storageQuotaInByte' field.- Returns:
- The value of the 'storageQuotaInByte' field.
-
setStorageQuotaInByte
public void setStorageQuotaInByte(long value) Sets the value of the 'storageQuotaInByte' field.- Parameters:
value
- the value to set.
-
getReadQuotaInCU
public long getReadQuotaInCU()Gets the value of the 'readQuotaInCU' field.- Returns:
- The value of the 'readQuotaInCU' field.
-
setReadQuotaInCU
public void setReadQuotaInCU(long value) Sets the value of the 'readQuotaInCU' field.- Parameters:
value
- the value to set.
-
getHybridStoreConfig
Gets the value of the 'hybridStoreConfig' field.- Returns:
- The value of the 'hybridStoreConfig' field.
-
setHybridStoreConfig
Sets the value of the 'hybridStoreConfig' field.- Parameters:
value
- the value to set.
-
getAccessControlled
public boolean getAccessControlled()Gets the value of the 'accessControlled' field.- Returns:
- The value of the 'accessControlled' field.
-
setAccessControlled
public void setAccessControlled(boolean value) Sets the value of the 'accessControlled' field.- Parameters:
value
- the value to set.
-
getCompressionStrategy
public int getCompressionStrategy()Gets the value of the 'compressionStrategy' field.- Returns:
- Using int because Avro Enums are not evolvable
-
setCompressionStrategy
public void setCompressionStrategy(int value) Sets the value of the 'compressionStrategy' field. Using int because Avro Enums are not evolvable- 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.
-
getRmdChunkingEnabled
public boolean getRmdChunkingEnabled()Gets the value of the 'rmdChunkingEnabled' field.- Returns:
- The value of the 'rmdChunkingEnabled' field.
-
setRmdChunkingEnabled
public void setRmdChunkingEnabled(boolean value) Sets the value of the 'rmdChunkingEnabled' field.- Parameters:
value
- the value to set.
-
getSingleGetRouterCacheEnabled
public boolean getSingleGetRouterCacheEnabled()Gets the value of the 'singleGetRouterCacheEnabled' field.- Returns:
- The value of the 'singleGetRouterCacheEnabled' field.
-
setSingleGetRouterCacheEnabled
public void setSingleGetRouterCacheEnabled(boolean value) Sets the value of the 'singleGetRouterCacheEnabled' field.- Parameters:
value
- the value to set.
-
getBatchGetRouterCacheEnabled
public boolean getBatchGetRouterCacheEnabled()Gets the value of the 'batchGetRouterCacheEnabled' field.- Returns:
- The value of the 'batchGetRouterCacheEnabled' field.
-
setBatchGetRouterCacheEnabled
public void setBatchGetRouterCacheEnabled(boolean value) Sets the value of the 'batchGetRouterCacheEnabled' field.- Parameters:
value
- the value to set.
-
getBatchGetLimit
public int getBatchGetLimit()Gets the value of the 'batchGetLimit' field.- Returns:
- The max key number allowed in batch get request, and Venice will use cluster-level config if the limit (not positive) is not valid
-
setBatchGetLimit
public void setBatchGetLimit(int value) Sets the value of the 'batchGetLimit' field. The max key number allowed in batch get request, and Venice will use cluster-level config if the limit (not positive) is not valid- Parameters:
value
- the value to set.
-
getNumVersionsToPreserve
public int getNumVersionsToPreserve()Gets the value of the 'numVersionsToPreserve' field.- Returns:
- The max number of versions the store should preserve. Venice will use cluster-level config if the number is 0 here.
-
setNumVersionsToPreserve
public void setNumVersionsToPreserve(int value) Sets the value of the 'numVersionsToPreserve' field. The max number of versions the store should preserve. Venice will use cluster-level config if the number is 0 here.- Parameters:
value
- the value to set.
-
getIncrementalPushEnabled
public boolean getIncrementalPushEnabled()Gets the value of the 'incrementalPushEnabled' field.- Returns:
- a flag to see if the store supports incremental push or not
-
setIncrementalPushEnabled
public void setIncrementalPushEnabled(boolean value) Sets the value of the 'incrementalPushEnabled' field. a flag to see if the store supports incremental push or not- Parameters:
value
- the value to set.
-
getSeparateRealTimeTopicEnabled
public boolean getSeparateRealTimeTopicEnabled()Gets the value of the 'separateRealTimeTopicEnabled' field.- Returns:
- Flag to see if the store supports separate real-time topic for incremental push.
-
setSeparateRealTimeTopicEnabled
public void setSeparateRealTimeTopicEnabled(boolean value) Sets the value of the 'separateRealTimeTopicEnabled' field. Flag to see if the store supports separate real-time topic for incremental push.- Parameters:
value
- the value to set.
-
getIsMigrating
public boolean getIsMigrating()Gets the value of the 'isMigrating' field.- Returns:
- Whether or not the store is in the process of migration
-
setIsMigrating
public void setIsMigrating(boolean value) Sets the value of the 'isMigrating' field. Whether or not the store is in the process of migration- Parameters:
value
- the value to set.
-
getWriteComputationEnabled
public boolean getWriteComputationEnabled()Gets the value of the 'writeComputationEnabled' field.- Returns:
- Whether write-path computation feature is enabled for this store
-
setWriteComputationEnabled
public void setWriteComputationEnabled(boolean value) Sets the value of the 'writeComputationEnabled' field. Whether write-path computation feature is enabled for this store- Parameters:
value
- the value to set.
-
getReplicationMetadataVersionID
public int getReplicationMetadataVersionID()Gets the value of the 'replicationMetadataVersionID' field.- Returns:
- RMD (Replication metadata) version ID on the store-level. Default -1 means NOT_SET and the cluster-level RMD version ID should be used for stores.
-
setReplicationMetadataVersionID
public void setReplicationMetadataVersionID(int value) Sets the value of the 'replicationMetadataVersionID' field. RMD (Replication metadata) version ID on the store-level. Default -1 means NOT_SET and the cluster-level RMD version ID should be used for stores.- Parameters:
value
- the value to set.
-
getReadComputationEnabled
public boolean getReadComputationEnabled()Gets the value of the 'readComputationEnabled' field.- Returns:
- Whether read-path computation feature is enabled for this store
-
setReadComputationEnabled
public void setReadComputationEnabled(boolean value) Sets the value of the 'readComputationEnabled' field. Whether read-path computation feature is enabled for this store- Parameters:
value
- the value to set.
-
getBootstrapToOnlineTimeoutInHours
public int getBootstrapToOnlineTimeoutInHours()Gets the value of the 'bootstrapToOnlineTimeoutInHours' field.- Returns:
- Maximum number of hours allowed for the store to transition from bootstrap to online state
-
setBootstrapToOnlineTimeoutInHours
public void setBootstrapToOnlineTimeoutInHours(int value) Sets the value of the 'bootstrapToOnlineTimeoutInHours' field. Maximum number of hours allowed for the store to transition from bootstrap to online state- Parameters:
value
- the value to set.
-
getLeaderFollowerModelEnabled
public boolean getLeaderFollowerModelEnabled()Gets the value of the 'leaderFollowerModelEnabled' field.- Returns:
- Whether or not to use leader follower state transition model for upcoming version
-
setLeaderFollowerModelEnabled
public void setLeaderFollowerModelEnabled(boolean value) Sets the value of the 'leaderFollowerModelEnabled' field. Whether or not to use leader follower state transition model for upcoming version- Parameters:
value
- the value to set.
-
getBackupStrategy
public int getBackupStrategy()Gets the value of the 'backupStrategy' field.- Returns:
- Strategies to store backup versions.
-
setBackupStrategy
public void setBackupStrategy(int value) Sets the value of the 'backupStrategy' field. Strategies to store backup versions.- Parameters:
value
- the value to set.
-
getClientDecompressionEnabled
public boolean getClientDecompressionEnabled()Gets the value of the 'clientDecompressionEnabled' field.- Returns:
- The value of the 'clientDecompressionEnabled' field.
-
setClientDecompressionEnabled
public void setClientDecompressionEnabled(boolean value) Sets the value of the 'clientDecompressionEnabled' field.- Parameters:
value
- the value to set.
-
getSchemaAutoRegisterFromPushJobEnabled
public boolean getSchemaAutoRegisterFromPushJobEnabled()Gets the value of the 'schemaAutoRegisterFromPushJobEnabled' field.- Returns:
- The value of the 'schemaAutoRegisterFromPushJobEnabled' field.
-
setSchemaAutoRegisterFromPushJobEnabled
public void setSchemaAutoRegisterFromPushJobEnabled(boolean value) Sets the value of the 'schemaAutoRegisterFromPushJobEnabled' field.- Parameters:
value
- the value to set.
-
getHybridStoreOverheadBypass
public boolean getHybridStoreOverheadBypass()Gets the value of the 'hybridStoreOverheadBypass' field.- Returns:
- The value of the 'hybridStoreOverheadBypass' field.
-
setHybridStoreOverheadBypass
public void setHybridStoreOverheadBypass(boolean value) Sets the value of the 'hybridStoreOverheadBypass' field.- Parameters:
value
- the value to set.
-
getHybridStoreDiskQuotaEnabled
public boolean getHybridStoreDiskQuotaEnabled()Gets the value of the 'hybridStoreDiskQuotaEnabled' field.- Returns:
- Whether or not to enable disk storage quota for a hybrid store
-
setHybridStoreDiskQuotaEnabled
public void setHybridStoreDiskQuotaEnabled(boolean value) Sets the value of the 'hybridStoreDiskQuotaEnabled' field. Whether or not to enable disk storage quota for a hybrid store- Parameters:
value
- the value to set.
-
getETLStoreConfig
Gets the value of the 'ETLStoreConfig' field.- Returns:
- The value of the 'ETLStoreConfig' field.
-
setETLStoreConfig
Sets the value of the 'ETLStoreConfig' 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.
-
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.
-
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.
-
getLargestUsedVersionNumber
Gets the value of the 'largestUsedVersionNumber' field.- Returns:
- The value of the 'largestUsedVersionNumber' field.
-
setLargestUsedVersionNumber
Sets the value of the 'largestUsedVersionNumber' field.- Parameters:
value
- the value to set.
-
getIncrementalPushPolicy
public int getIncrementalPushPolicy()Gets the value of the 'incrementalPushPolicy' field.- Returns:
- Incremental Push Policy to reconcile with real time pushes. Using int because Avro Enums are not evolvable 0 => PUSH_TO_VERSION_TOPIC, 1 => INCREMENTAL_PUSH_SAME_AS_REAL_TIME
-
setIncrementalPushPolicy
public void setIncrementalPushPolicy(int value) Sets the value of the 'incrementalPushPolicy' field. Incremental Push Policy to reconcile with real time pushes. Using int because Avro Enums are not evolvable 0 => PUSH_TO_VERSION_TOPIC, 1 => INCREMENTAL_PUSH_SAME_AS_REAL_TIME- Parameters:
value
- the value to set.
-
getBackupVersionRetentionMs
public long getBackupVersionRetentionMs()Gets the value of the 'backupVersionRetentionMs' field.- Returns:
- Backup version retention time after a new version is promoted to the current version, if not specified, Venice will use the configured retention as the default policy
-
setBackupVersionRetentionMs
public void setBackupVersionRetentionMs(long value) Sets the value of the 'backupVersionRetentionMs' field. Backup version retention time after a new version is promoted to the current version, if not specified, Venice will use the configured retention as the default policy- Parameters:
value
- the value to set.
-
getReplicationFactor
public int getReplicationFactor()Gets the value of the 'replicationFactor' field.- Returns:
- number of replica each store version will have
-
setReplicationFactor
public void setReplicationFactor(int value) Sets the value of the 'replicationFactor' field. number of replica each store version will have- Parameters:
value
- the value to set.
-
getMigrationDuplicateStore
public boolean getMigrationDuplicateStore()Gets the value of the 'migrationDuplicateStore' field.- Returns:
- Whether or not the store is a duplicate store in the process of migration
-
setMigrationDuplicateStore
public void setMigrationDuplicateStore(boolean value) Sets the value of the 'migrationDuplicateStore' field. Whether or not the store is a duplicate store in the process of migration- Parameters:
value
- the value to set.
-
getNativeReplicationSourceFabric
Gets the value of the 'nativeReplicationSourceFabric' field.- Returns:
- The source fabric to be used when the store is running in Native Replication mode.
-
setNativeReplicationSourceFabric
Sets the value of the 'nativeReplicationSourceFabric' field. The source fabric to be used when the store is running in Native Replication mode.- Parameters:
value
- the value to set.
-
getActiveActiveReplicationEnabled
public boolean getActiveActiveReplicationEnabled()Gets the value of the 'activeActiveReplicationEnabled' field.- Returns:
- A command option to enable/disable Active/Active replication feature for a store
-
setActiveActiveReplicationEnabled
public void setActiveActiveReplicationEnabled(boolean value) Sets the value of the 'activeActiveReplicationEnabled' field. A command option to enable/disable Active/Active replication feature for a store- Parameters:
value
- the value to set.
-
getDisableMetaStore
public boolean getDisableMetaStore()Gets the value of the 'disableMetaStore' field.- Returns:
- An UpdateStore command option to disable the companion meta system store
-
setDisableMetaStore
public void setDisableMetaStore(boolean value) Sets the value of the 'disableMetaStore' field. An UpdateStore command option to disable the companion meta system store- Parameters:
value
- the value to set.
-
getDisableDavinciPushStatusStore
public boolean getDisableDavinciPushStatusStore()Gets the value of the 'disableDavinciPushStatusStore' field.- Returns:
- An UpdateStore command option to disable the companion davinci push status store
-
setDisableDavinciPushStatusStore
public void setDisableDavinciPushStatusStore(boolean value) Sets the value of the 'disableDavinciPushStatusStore' field. An UpdateStore command option to disable the companion davinci push status store- Parameters:
value
- the value to set.
-
getApplyTargetVersionFilterForIncPush
public boolean getApplyTargetVersionFilterForIncPush()Gets the value of the 'applyTargetVersionFilterForIncPush' field.- Returns:
- An UpdateStore command option to enable/disable applying the target version filter for incremental pushes
-
setApplyTargetVersionFilterForIncPush
public void setApplyTargetVersionFilterForIncPush(boolean value) Sets the value of the 'applyTargetVersionFilterForIncPush' field. An UpdateStore command option to enable/disable applying the target version filter for incremental pushes- Parameters:
value
- the value to set.
-
getUpdatedConfigsList
Gets the value of the 'updatedConfigsList' field.- Returns:
- The list that contains all updated configs by the UpdateStore command. Most of the fields in UpdateStore are not optional, and changing those fields to Optional (Union) is not a backward compatible change, so we have to add an addition array field to record all updated configs in parent controller.
-
setUpdatedConfigsList
Sets the value of the 'updatedConfigsList' field. The list that contains all updated configs by the UpdateStore command. Most of the fields in UpdateStore are not optional, and changing those fields to Optional (Union) is not a backward compatible change, so we have to add an addition array field to record all updated configs in parent controller.- Parameters:
value
- the value to set.
-
getReplicateAllConfigs
public boolean getReplicateAllConfigs()Gets the value of the 'replicateAllConfigs' field.- Returns:
- A flag to indicate whether all store configs in parent cluster will be replicated to child clusters; true by default, so that existing UpdateStore messages in Admin topic will behave the same as before.
-
setReplicateAllConfigs
public void setReplicateAllConfigs(boolean value) Sets the value of the 'replicateAllConfigs' field. A flag to indicate whether all store configs in parent cluster will be replicated to child clusters; true by default, so that existing UpdateStore messages in Admin topic will behave the same as before.- Parameters:
value
- the value to set.
-
getRegionsFilter
Gets the value of the 'regionsFilter' field.- Returns:
- A list of regions that will be impacted by the UpdateStore command
-
setRegionsFilter
Sets the value of the 'regionsFilter' field. A list of regions that will be impacted by the UpdateStore command- Parameters:
value
- the value to set.
-
getStoragePersona
Gets the value of the 'storagePersona' field.- Returns:
- The name of the StoragePersona to add to the store
-
setStoragePersona
Sets the value of the 'storagePersona' field. The name of the StoragePersona to add to the store- Parameters:
value
- the value to set.
-
getViews
Gets the value of the 'views' field.- Returns:
- A map of views which describe and configure a downstream view of a venice store. Keys in this map are for convenience of managing configs.
-
setViews
Sets the value of the 'views' field. A map of views which describe and configure a downstream view of a venice store. Keys in this map are for convenience of managing configs.- Parameters:
value
- the value to set.
-
getLatestSuperSetValueSchemaId
public int getLatestSuperSetValueSchemaId()Gets the value of the 'latestSuperSetValueSchemaId' field.- Returns:
- The schema id for the latest superset schema
-
setLatestSuperSetValueSchemaId
public void setLatestSuperSetValueSchemaId(int value) Sets the value of the 'latestSuperSetValueSchemaId' field. The schema id for the latest superset schema- Parameters:
value
- the value to set.
-
getStorageNodeReadQuotaEnabled
public boolean getStorageNodeReadQuotaEnabled()Gets the value of the 'storageNodeReadQuotaEnabled' field.- Returns:
- Whether storage node read quota is enabled for this store
-
setStorageNodeReadQuotaEnabled
public void setStorageNodeReadQuotaEnabled(boolean value) Sets the value of the 'storageNodeReadQuotaEnabled' field. Whether storage node read quota is enabled for this store- Parameters:
value
- the value to set.
-
getMinCompactionLagSeconds
public long getMinCompactionLagSeconds()Gets the value of the 'minCompactionLagSeconds' field.- Returns:
- Store-level version topic min compaction lag
-
setMinCompactionLagSeconds
public void setMinCompactionLagSeconds(long value) Sets the value of the 'minCompactionLagSeconds' field. Store-level version topic min compaction lag- Parameters:
value
- the value to set.
-
getMaxCompactionLagSeconds
public long getMaxCompactionLagSeconds()Gets the value of the 'maxCompactionLagSeconds' field.- Returns:
- Store-level version topic max compaction lag
-
setMaxCompactionLagSeconds
public void setMaxCompactionLagSeconds(long value) Sets the value of the 'maxCompactionLagSeconds' field. Store-level version topic max compaction lag- Parameters:
value
- the value to set.
-
getMaxRecordSizeBytes
public int getMaxRecordSizeBytes()Gets the value of the 'maxRecordSizeBytes' field.- Returns:
- Store-level maximum size of any record in bytes for batch push jobs
-
setMaxRecordSizeBytes
public void setMaxRecordSizeBytes(int value) Sets the value of the 'maxRecordSizeBytes' field. Store-level maximum size of any record in bytes for batch push jobs- Parameters:
value
- the value to set.
-
getMaxNearlineRecordSizeBytes
public int getMaxNearlineRecordSizeBytes()Gets the value of the 'maxNearlineRecordSizeBytes' field.- Returns:
- Store-level maximum size of any record in bytes for nearline jobs with partial updates
-
setMaxNearlineRecordSizeBytes
public void setMaxNearlineRecordSizeBytes(int value) Sets the value of the 'maxNearlineRecordSizeBytes' field. Store-level maximum size of any record in bytes for nearline jobs with partial updates- Parameters:
value
- the value to set.
-
getUnusedSchemaDeletionEnabled
public boolean getUnusedSchemaDeletionEnabled()Gets the value of the 'unusedSchemaDeletionEnabled' field.- Returns:
- Whether unused schema deletion is enabled or not.
-
setUnusedSchemaDeletionEnabled
public void setUnusedSchemaDeletionEnabled(boolean value) Sets the value of the 'unusedSchemaDeletionEnabled' field. Whether unused schema deletion is enabled or not.- Parameters:
value
- the value to set.
-
getBlobTransferEnabled
public boolean getBlobTransferEnabled()Gets the value of the 'blobTransferEnabled' field.- Returns:
- Flag to indicate if the blob transfer is allowed or not
-
setBlobTransferEnabled
public void setBlobTransferEnabled(boolean value) Sets the value of the 'blobTransferEnabled' field. Flag to indicate if the blob transfer is allowed or not- Parameters:
value
- the value to set.
-
getNearlineProducerCompressionEnabled
public boolean getNearlineProducerCompressionEnabled()Gets the value of the 'nearlineProducerCompressionEnabled' field.- Returns:
- Flag to control whether the producer in Server for nearline workload will enable compression or not
-
setNearlineProducerCompressionEnabled
public void setNearlineProducerCompressionEnabled(boolean value) Sets the value of the 'nearlineProducerCompressionEnabled' field. Flag to control whether the producer in Server for nearline workload will enable compression or not- Parameters:
value
- the value to set.
-
getNearlineProducerCountPerWriter
public int getNearlineProducerCountPerWriter()Gets the value of the 'nearlineProducerCountPerWriter' field.- Returns:
- How many producers will be used for the nearline producer in Server to improve producing throughput
-
setNearlineProducerCountPerWriter
public void setNearlineProducerCountPerWriter(int value) Sets the value of the 'nearlineProducerCountPerWriter' field. How many producers will be used for the nearline producer in Server to improve producing throughput- Parameters:
value
- the value to set.
-
getTargetSwapRegion
Gets the value of the 'targetSwapRegion' field.- Returns:
- Controls what region to swap in the current version during target colo push
-
setTargetSwapRegion
Sets the value of the 'targetSwapRegion' field. Controls what region to swap in the current version during target colo push- Parameters:
value
- the value to set.
-
getTargetSwapRegionWaitTime
public int getTargetSwapRegionWaitTime()Gets the value of the 'targetSwapRegionWaitTime' field.- Returns:
- Controls how long to wait in minutes before swapping the version on the regions
-
setTargetSwapRegionWaitTime
public void setTargetSwapRegionWaitTime(int value) Sets the value of the 'targetSwapRegionWaitTime' field. Controls how long to wait in minutes before swapping the version on the regions- Parameters:
value
- the value to set.
-
getIsDaVinciHeartBeatReported
public boolean getIsDaVinciHeartBeatReported()Gets the value of the 'isDaVinciHeartBeatReported' field.- Returns:
- Flag to indicate whether DVC is bootstrapping and sending heartbeats
-
setIsDaVinciHeartBeatReported
public void setIsDaVinciHeartBeatReported(boolean value) Sets the value of the 'isDaVinciHeartBeatReported' field. Flag to indicate whether DVC is bootstrapping and sending heartbeats- Parameters:
value
- the value to set.
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classorg.apache.avro.specific.SpecificRecordBase
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classorg.apache.avro.specific.SpecificRecordBase
- Throws:
IOException
-