AbstractQueryConfig

abstract class AbstractQueryConfig

This class is the base of QueryConfigHandler and FieldConfig. It has operations to set, unset and get configuration values.

Each configuration is a key->value pair. The key should be a unique ConfigurationKey instance, and it also holds the value's type.

See also

Inheritors

Functions

Link copied to clipboard
fun <T> get(key: ConfigurationKey<T>): T?

Returns the value held by the given key.

Link copied to clipboard

Returns true if there is a value set with the given key, otherwise false.

Link copied to clipboard
fun <T> set(key: ConfigurationKey<T>, value: T?)

Sets a key and its value.

Link copied to clipboard

Unsets the given key and its value.