Interface UserDefinedFieldEvaluator


  • public interface UserDefinedFieldEvaluator
    Interface for a user defined field implementation.

    Thread Safety: An instance of UserDefinedFieldEvaluator will only be accessed by a single thread.

    • Method Detail

      • configure

        void configure​(UserDefinedFieldContext context,
                       UserDefinedField input,
                       ArgumentInfo[] args)
        Field initialization.

        This should include:

        • Parameters on input should be validated and stored.
        • args should be type checked and validated.
        • Output type for input should be validated.
        • Any internal structures should be initialized.
        Parameters:
        context - QueryRequest level context information for initializing fields.
        input - The input UserDefinedField.
        args - Type information for supplied arguments.
        Throws:
        java.lang.IllegalArgumentException - if incorrect number of arguments are provided, data types for arguments are not supported, output type is invalid, or parameters are illegal.