Package com.blazebit.query.spi
Interface ConfigurationProvider
- All Superinterfaces:
PropertyProvider<DataFetchContext>
Provides access to configuration values in a lazy fashion.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescription<X> X
getProperty
(String property) Returns a property value set for the property name, ornull
if no value was set.<X> PropertyProvider<X>
getPropertyProvider
(String property) Returns a property provider for the property name.Methods inherited from interface com.blazebit.query.spi.PropertyProvider
provide
-
Method Details
-
getProperty
Returns a property value set for the property name, ornull
if no value was set.- Type Parameters:
X
- The property type- Parameters:
property
- The property name- Returns:
- the property value or
null
-
getPropertyProvider
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 aQueryContext
.- Type Parameters:
X
- The type of the property that is provided- Parameters:
property
- The property name- Returns:
- the property provider for the property name
-