Package com.linkedin.venice.meta
Enum VeniceUserStoreType
- java.lang.Object
-
- java.lang.Enum<VeniceUserStoreType>
-
- com.linkedin.venice.meta.VeniceUserStoreType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VeniceUserStoreType>
public enum VeniceUserStoreType extends java.lang.Enum<VeniceUserStoreType>
Enums that lists most Venice user store types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All user stores in Venice, excluding system stores.BATCH_ONLY
The data in batch-only stores will be populated by offline pushes/Samza reprocessing only.HYBRID_ONLY
The data in hybrid stores will be populated by offline pushes/Samza reprocessing as well as Samza real-time updates.HYBRID_OR_INCREMENTAL
These stores are either hybrid or incremental push enabled.INCREMENTAL_PUSH
The data in these stores are from full pushes and incremental pushes.SYSTEM
These stores are system stores whose name starts withStore.SYSTEM_STORE_NAME_PREFIX
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VeniceUserStoreType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VeniceUserStoreType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BATCH_ONLY
public static final VeniceUserStoreType BATCH_ONLY
The data in batch-only stores will be populated by offline pushes/Samza reprocessing only.
-
HYBRID_ONLY
public static final VeniceUserStoreType HYBRID_ONLY
The data in hybrid stores will be populated by offline pushes/Samza reprocessing as well as Samza real-time updates.
-
INCREMENTAL_PUSH
public static final VeniceUserStoreType INCREMENTAL_PUSH
The data in these stores are from full pushes and incremental pushes.
-
HYBRID_OR_INCREMENTAL
public static final VeniceUserStoreType HYBRID_OR_INCREMENTAL
These stores are either hybrid or incremental push enabled.
-
SYSTEM
public static final VeniceUserStoreType SYSTEM
These stores are system stores whose name starts withStore.SYSTEM_STORE_NAME_PREFIX
.
-
ALL
public static final VeniceUserStoreType ALL
All user stores in Venice, excluding system stores.
-
-
Method Detail
-
values
public static VeniceUserStoreType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VeniceUserStoreType c : VeniceUserStoreType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VeniceUserStoreType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-