Class AbstractAvroComputeRequestBuilder<K>

  • Type Parameters:
    K -
    All Implemented Interfaces:
    ComputeRequestBuilder<K>
    Direct Known Subclasses:
    AvroComputeRequestBuilderV3

    public abstract class AbstractAvroComputeRequestBuilder<K>
    extends java.lang.Object
    implements ComputeRequestBuilder<K>
    This abstract class contains all the common field and APIs for compute request builder; for each new compute request version, there will be a new builder class that extends this class and the new builder will include customized fields and APIs.
    • Field Detail

      • RESULT_SCHEMA_CACHE

        protected static final java.util.Map<java.util.Map<java.lang.String,​java.lang.Object>,​SchemaAndToString> RESULT_SCHEMA_CACHE
      • PROJECTION_SPEC

        protected static final java.lang.String PROJECTION_SPEC
        See Also:
        Constant Field Values
      • DOT_PRODUCT_SPEC

        protected static final java.lang.String DOT_PRODUCT_SPEC
        See Also:
        Constant Field Values
      • COSINE_SIMILARITY_SPEC

        protected static final java.lang.String COSINE_SIMILARITY_SPEC
        See Also:
        Constant Field Values
      • HADAMARD_PRODUCT_SPEC

        protected static final java.lang.String HADAMARD_PRODUCT_SPEC
        See Also:
        Constant Field Values
      • HADAMARD_PRODUCT_RESULT_SCHEMA

        protected static final org.apache.avro.Schema HADAMARD_PRODUCT_RESULT_SCHEMA
      • DOT_PRODUCT_RESULT_SCHEMA

        protected static final org.apache.avro.Schema DOT_PRODUCT_RESULT_SCHEMA
      • COSINE_SIMILARITY_RESULT_SCHEMA

        protected static final org.apache.avro.Schema COSINE_SIMILARITY_RESULT_SCHEMA
      • latestValueSchemaId

        protected final int latestValueSchemaId
      • latestValueSchema

        protected final org.apache.avro.Schema latestValueSchema
      • resultSchemaName

        protected final java.lang.String resultSchemaName