Interface TransformEvaluator

  • All Known Subinterfaces:
    JsonPathEvaluator

    public interface TransformEvaluator
    This is an evolving SPI and subject to change.
    • Method Detail

      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdBuffer,
                                                                 int[] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        dictionary - the dictionary
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdBuffer,
                                                                 long[] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdBuffer,
                                                                 float[] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdBuffer,
                                                                 double[] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdBuffer,
                                                                 BigDecimal[] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdBuffer,
                                                                 String[] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdsBuffer,
                                                                 int[][] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        dictIdsBuffer - a buffer for dictionary ids if required
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdsBuffer,
                                                                 long[][] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        dictIdsBuffer - a buffer for dictionary ids if required
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdsBuffer,
                                                                 float[][] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        dictIdsBuffer - a buffer for dictionary ids if required
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdsBuffer,
                                                                 double[][] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        dictIdsBuffer - a buffer for dictionary ids if required
        valueBuffer - the values to fill
      • evaluateBlock

        <T extends ForwardIndexReaderContext> void evaluateBlock​(int[] docIds,
                                                                 int length,
                                                                 ForwardIndexReader<T> reader,
                                                                 T context,
                                                                 Dictionary dictionary,
                                                                 int[] dictIdsBuffer,
                                                                 String[][] valueBuffer)
        Evaluate the JSON path and fill the value buffer
        Type Parameters:
        T - type of the reader context
        Parameters:
        docIds - the doc ids to evaluate the JSON path for
        length - the number of doc ids to evaluate for
        reader - the ForwardIndexReader
        context - the reader context
        dictIdsBuffer - a buffer for dictionary ids if required
        valueBuffer - the values to fill