Package com.linkedin.venice.meta
Class ReadOnlyViewStore.ReadOnlyMaterializedViewVersion
java.lang.Object
com.linkedin.venice.meta.ReadOnlyStore.ReadOnlyVersion
com.linkedin.venice.meta.ReadOnlyViewStore.ReadOnlyMaterializedViewVersion
- All Implemented Interfaces:
DataModelBackedStructure<StoreVersion>
,Version
,Comparable<Version>
- Enclosing class:
- ReadOnlyViewStore
public static class ReadOnlyViewStore.ReadOnlyMaterializedViewVersion
extends ReadOnlyStore.ReadOnlyVersion
A read only
Version
representation of a materialized view for consumers (e.g. DVC client). Any view
specific version properties will be overwritten here and provided by the corresponding MaterializedView
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.linkedin.venice.meta.Version
Version.PushType
-
Field Summary
Fields inherited from class com.linkedin.venice.meta.ReadOnlyStore.ReadOnlyVersion
delegate
Fields inherited from interface com.linkedin.venice.meta.Version
REAL_TIME_TOPIC_SUFFIX, REPLICATION_METADATA_VERSION_ID_UNSET, SEPARATE_REAL_TIME_TOPIC_SUFFIX, STREAM_REPROCESSING_TOPIC_SUFFIX, VENICE_RE_PUSH_PUSH_ID_PREFIX, VENICE_TTL_RE_PUSH_PUSH_ID_PREFIX, VERSION_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
hashCode()
Kafka topic name is composed by store name and version.Methods inherited from class com.linkedin.venice.meta.ReadOnlyStore.ReadOnlyVersion
cloneVersion, compareTo, dataModel, getAge, getCompressionStrategy, getCreatedTime, getDataRecoveryVersionConfig, getHybridStoreConfig, getIsDavinciHeartbeatReported, getMinActiveReplicas, getNativeReplicationSourceFabric, getNumber, getPushJobId, getPushStreamSourceAddress, getPushType, getReplicationFactor, getRepushSourceVersion, getRmdVersionId, getStatus, getTargetSwapRegion, getTargetSwapRegionWaitTime, getViewConfigs, isActiveActiveReplicationEnabled, isBlobTransferEnabled, isChunkingEnabled, isHybrid, isIncrementalPushEnabled, isNativeReplicationEnabled, isRmdChunkingEnabled, isSeparateRealTimeTopicEnabled, isUseVersionLevelHybridConfig, isUseVersionLevelIncrementalPushEnabled, isVersionSwapDeferred, setActiveActiveReplicationEnabled, setAge, setBlobTransferEnabled, setBufferReplayEnabledForHybrid, setChunkingEnabled, setCompressionStrategy, setDataRecoveryVersionConfig, setHybridStoreConfig, setIncrementalPushEnabled, setIsDavinciHeartbeatReported, setNativeReplicationEnabled, setNativeReplicationSourceFabric, setNumber, setPartitionCount, setPartitionerConfig, setPushJobId, setPushStreamSourceAddress, setPushType, setReplicationFactor, setRepushSourceVersion, setRmdChunkingEnabled, setRmdVersionId, setSeparateRealTimeTopicEnabled, setStatus, setTargetSwapRegion, setTargetSwapRegionWaitTime, setUseVersionLevelHybridConfig, setUseVersionLevelIncrementalPushEnabled, setVersionSwapDeferred, setViewConfigs, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.linkedin.venice.meta.Version
getTimestampMetadataVersionId, isLeaderFollowerModelEnabled, setLeaderFollowerModelEnabled, setTimestampMetadataVersionId
-
Constructor Details
-
ReadOnlyMaterializedViewVersion
-
-
Method Details
-
getPartitionCount
public int getPartitionCount()- Specified by:
getPartitionCount
in interfaceVersion
- Overrides:
getPartitionCount
in classReadOnlyStore.ReadOnlyVersion
-
kafkaTopicName
Description copied from interface:Version
Kafka topic name is composed by store name and version.The Json deserializer will think it should be a field called kafkaTopicName if we use "getKafkaTopicName" here. So use "kafkaTopicName" directly here to avoid error when deserialize.
- Specified by:
kafkaTopicName
in interfaceVersion
- Overrides:
kafkaTopicName
in classReadOnlyStore.ReadOnlyVersion
- Returns:
- kafka topic name.
-
getPartitionerConfig
- Specified by:
getPartitionerConfig
in interfaceVersion
- Overrides:
getPartitionerConfig
in classReadOnlyStore.ReadOnlyVersion
-
equals
- Overrides:
equals
in classReadOnlyStore.ReadOnlyVersion
-
hashCode
public int hashCode()- Overrides:
hashCode
in classReadOnlyStore.ReadOnlyVersion
-
getStoreName
- Specified by:
getStoreName
in interfaceVersion
- Overrides:
getStoreName
in classReadOnlyStore.ReadOnlyVersion
-