Interface ConfigurationProvider

All Superinterfaces:
PropertyProvider<DataFetchContext>

public interface ConfigurationProvider extends PropertyProvider<DataFetchContext>
Provides access to configuration values in a lazy fashion.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <X> X
    getProperty(String property)
    Returns a property value set for the property name, or null if no value was set.
    Returns a property provider for the property name.

    Methods inherited from interface com.blazebit.query.spi.PropertyProvider

    provide
  • Method Details

    • getProperty

      <X> X getProperty(String property)
      Returns a property value set for the property name, or null if no value was set.
      Type Parameters:
      X - The property type
      Parameters:
      property - The property name
      Returns:
      the property value or null
    • getPropertyProvider

      <X> PropertyProvider<X> getPropertyProvider(String property)
      Returns a property provider for the property name. The property provider will be resolved lazily against the currently executing query, or if no query is currently executing, will default to the values configured for a QueryContext.
      Type Parameters:
      X - The type of the property that is provided
      Parameters:
      property - The property name
      Returns:
      the property provider for the property name