Type Parameters:
FROM - The input data type.
TO - The output data type.
All Superinterfaces:
Serializable
All Known Implementing Classes:
ArrayFromTuple, ConcatenatedExtract, FieldFromArray, FieldFromTuple, FieldsFromArray, FieldsFromTuple

@Internal public interface Extractor<FROM,TO> extends Serializable
Extractors allow to extract/convert one type to another. They are mostly used to extract some fields out of a more complex structure (Tuple/Array) to run further calculation on the extraction result.
  • Method Summary

    Modifier and Type
    Method
    Description
    Extracts/Converts the given input to an object of the output type.
  • Method Details

    • extract

      TO extract(FROM in)
      Extracts/Converts the given input to an object of the output type.
      Parameters:
      in - the input data
      Returns:
      the extracted/converted data