Enum Class VeniceStoreType

java.lang.Object
java.lang.Enum<VeniceStoreType>
com.linkedin.venice.meta.VeniceStoreType
All Implemented Interfaces:
Serializable, Comparable<VeniceStoreType>, Constable

public enum VeniceStoreType extends Enum<VeniceStoreType>
Enumeration of Venice store types used to classify stores based on their ingestion patterns and operational characteristics.
  • Enum Constant Details

    • BATCH

      public static final VeniceStoreType BATCH
      Batch-only stores populated exclusively through offline batch processes.

      Data sources include:

      • Offline push jobs (Hadoop or Spark)
      • Samza batch reprocessing jobs

      These stores do not support real-time updates or incremental pushes. Any data change requires a full batch push, which atomically replaces the previous store version.

    • HYBRID

      public static final VeniceStoreType HYBRID
      Hybrid stores that ingest data from both batch and real-time sources.

      Supported ingestion paths:

      • Offline push jobs (Hadoop or Spark) for bulk data
      • Samza real-time pipelines for streaming updates
      • Incremental pushes from Venice push jobs
      • Online application writes for direct real-time updates

      Batch pushes create a new version that serves as the baseline snapshot. Real-time and incremental updates are applied on top of that version, allowing hybrid stores to serve fresh data by combining batch baselines with continuous updates.

    • SYSTEM

      public static final VeniceStoreType SYSTEM
      System stores used internally by Venice for metadata, operational state, and control plane information.

      System store names are prefixed with Store.SYSTEM_STORE_NAME_PREFIX and are automatically managed by Venice infrastructure. Examples include:

      • Meta system stores for schemas and metadata
      • Push status system stores for tracking push job progress
  • Method Details

    • values

      public static VeniceStoreType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VeniceStoreType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null