Enum ReadAvroProtocolDefinition

    • Enum Constant Detail

      • 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.
      • 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_ROUTER_REQUEST_V1

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

      • values

        public static ReadAvroProtocolDefinition[] 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 (ReadAvroProtocolDefinition c : ReadAvroProtocolDefinition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ReadAvroProtocolDefinition 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 name
        java.lang.NullPointerException - if the argument is null
      • getProtocolVersion

        public int getProtocolVersion()
      • getSchema

        public org.apache.avro.Schema getSchema()