Interface ConfigurationAware

All Superinterfaces:
ConfigurationFunction
All Known Implementing Classes:
Add, DateTimeArithmeticOperation, Sub, ToDateNanos, ToDatetime, ToString

public interface ConfigurationAware extends ConfigurationFunction
Interface for plan nodes that require the Configuration at parsing time.

They should be created with CONFIGURATION_MARKER, and it will be resolved in the Analyzer.

See https://github.com/elastic/elasticsearch/issues/138203

  • Field Details

    • CONFIGURATION_MARKER

      static final Configuration CONFIGURATION_MARKER
  • Method Details

    • configuration

      Configuration configuration()
    • withConfiguration

      Expression withConfiguration(Configuration configuration)
    • verifyNoMarkerConfiguration

      static void verifyNoMarkerConfiguration(QueryPlan<?> plan, Failures failures)
      Used in the verifiers to ensure the marker configuration is not present in the plan.

      This should never happen, and a failure here means that we're injecting the marker after the Analyzer, where it's being replaced.