Record Class InferenceOperator.BulkInferenceRequestItem

java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.inference.InferenceOperator.BulkInferenceRequestItem
Record Components:
inferenceRequest - The inference request (may be null to represent a null input).
positionValueCounts - Array where each element indicates how many values the corresponding input position contributed. For example, [1, 0, 2] means position 0 contributed 1 value, position 1 was null/empty, and position 2 contributed 2 values (multi-valued field).
seqNo - The sequence number for ordering.
Enclosing class:
InferenceOperator

public static record InferenceOperator.BulkInferenceRequestItem(InferenceAction.Request inferenceRequest, int[] positionValueCounts, long seqNo) extends Record
Represents a single inference request with metadata for result building.
  • Field Details

    • SINGLE_ZERO_POSITION_VALUE_COUNTS

      public static final int[] SINGLE_ZERO_POSITION_VALUE_COUNTS
    • SINGLE_ONE_POSITION_VALUE_COUNTS

      public static final int[] SINGLE_ONE_POSITION_VALUE_COUNTS
  • Constructor Details

  • Method Details