Package com.linkedin.venice.schema.avro
Enum Class ReadAvroProtocolDefinition
java.lang.Object
java.lang.Enum<ReadAvroProtocolDefinition>
com.linkedin.venice.schema.avro.ReadAvroProtocolDefinition
- All Implemented Interfaces:
Serializable
,Comparable<ReadAvroProtocolDefinition>
,Constable
TDOO: Consider merging with AvroProtocolDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCompute request client key v1.Compute request v1.Compute request v2.Compute request v3.Compute request v4.Response record for compute v1Router request key for read compute v1.Client request for multi-get v1.Response record for multi-get v1.Router request key for multi-get v1.Client request for single-get v1.Router request for single-get v1. -
Method Summary
Modifier and TypeMethodDescriptionint
org.apache.avro.Schema
static ReadAvroProtocolDefinition
Returns the enum constant of this class with the specified name.static ReadAvroProtocolDefinition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE_GET_CLIENT_REQUEST_V1
Client request for single-get v1. -
SINGLE_GET_ROUTER_REQUEST_V1
Router request for single-get v1. -
MULTI_GET_CLIENT_REQUEST_V1
Client request for multi-get v1. -
MULTI_GET_ROUTER_REQUEST_V1
Router request key for multi-get v1. -
MULTI_GET_RESPONSE_V1
Response record for multi-get v1. -
COMPUTE_REQUEST_CLIENT_KEY_V1
Compute request client key v1. -
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
Compute request v2. Version 2 includes support for Hadamard Product. -
COMPUTE_REQUEST_V3
Compute request v3. Its includes support for count operator. -
COMPUTE_REQUEST_V4
Compute request v4. It includes support for Execute with Filter -
COMPUTE_RESPONSE_V1
Response record for compute v1 -
COMPUTE_ROUTER_REQUEST_V1
Router request key for read compute v1.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getProtocolVersion
public int getProtocolVersion() -
getSchema
public org.apache.avro.Schema getSchema()
-