Enum Class ReadAvroProtocolDefinition

java.lang.Object
java.lang.Enum<ReadAvroProtocolDefinition>
com.linkedin.venice.schema.avro.ReadAvroProtocolDefinition
All Implemented Interfaces:
Serializable, Comparable<ReadAvroProtocolDefinition>, Constable

public enum ReadAvroProtocolDefinition extends Enum<ReadAvroProtocolDefinition>
TDOO: Consider merging with AvroProtocolDefinition
  • Enum Constant Details

    • SINGLE_GET_CLIENT_REQUEST_V1

      public static final ReadAvroProtocolDefinition SINGLE_GET_CLIENT_REQUEST_V1
      Client request for single-get v1.
    • SINGLE_GET_ROUTER_REQUEST_V1

      public static final ReadAvroProtocolDefinition SINGLE_GET_ROUTER_REQUEST_V1
      Router request for single-get v1.
    • MULTI_GET_CLIENT_REQUEST_V1

      public static final ReadAvroProtocolDefinition MULTI_GET_CLIENT_REQUEST_V1
      Client request for multi-get v1.
    • MULTI_GET_ROUTER_REQUEST_V1

      public static final ReadAvroProtocolDefinition MULTI_GET_ROUTER_REQUEST_V1
      Router request key for multi-get v1.
    • MULTI_GET_RESPONSE_V1

      public static final ReadAvroProtocolDefinition MULTI_GET_RESPONSE_V1
      Response record for multi-get v1.
    • COMPUTE_REQUEST_CLIENT_KEY_V1

      public static final ReadAvroProtocolDefinition COMPUTE_REQUEST_CLIENT_KEY_V1
      Compute request client key v1.
    • COMPUTE_REQUEST_V1

      public static final ReadAvroProtocolDefinition COMPUTE_REQUEST_V1
      Compute request v1. Compute requests sent from client to router contain 2 parts; the first part contains information like an array of operations and the result schema, represented by the following schema; the second part contains raw bytes of all the keys that will be computed on, represented by COMPUTE_REQUEST_CLIENT_KEY_V1.
    • COMPUTE_REQUEST_V2

      public static final ReadAvroProtocolDefinition COMPUTE_REQUEST_V2
      Compute request v2. Version 2 includes support for Hadamard Product.
    • COMPUTE_REQUEST_V3

      public static final ReadAvroProtocolDefinition COMPUTE_REQUEST_V3
      Compute request v3. Its includes support for count operator.
    • COMPUTE_REQUEST_V4

      public static final ReadAvroProtocolDefinition COMPUTE_REQUEST_V4
      Compute request v4. It includes support for Execute with Filter
    • COMPUTE_RESPONSE_V1

      public static final ReadAvroProtocolDefinition COMPUTE_RESPONSE_V1
      Response record for compute v1
    • COMPUTE_ROUTER_REQUEST_V1

      public static final ReadAvroProtocolDefinition COMPUTE_ROUTER_REQUEST_V1
      Router request key for read compute v1.
  • Method Details

    • values

      public static ReadAvroProtocolDefinition[] 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 ReadAvroProtocolDefinition 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
    • getProtocolVersion

      public int getProtocolVersion()
    • getSchema

      public org.apache.avro.Schema getSchema()