Package org.graylog.plugins.views.search
Class ValueParameter
java.lang.Object
org.graylog.plugins.views.search.ValueParameter
- All Implemented Interfaces:
Parameter
Parameters describe variable inputs to queries.
They consist of a declaration and a binding. Parameters without a binding are called "free" or "unbound" parameters. In order to execute a query all of its non-optional parameters must have a binding associated with them, i.e. be "bound".
The caller is expected to provide a ValueParameter
object when binding previously declared parameters.
In that case the declaration elements do not need to be repeated, only its name
property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graylog.plugins.views.search.Parameter
Parameter.Binding, Parameter.BindingHandler<B extends Parameter.Binding,
P extends Parameter>, Parameter.Factory<TYPE extends Parameter> -
Field Summary
Fields inherited from interface org.graylog.plugins.views.search.Parameter
TYPE_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValueParameter
applyBindings
(Map<String, Parameter.Binding> bindings) static ValueParameter.Builder
builder()
abstract ValueParameter.Builder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog.plugins.views.search.Parameter
binding, dataType, defaultValue, description, name, optional, title, type
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
ValueParameter
public ValueParameter()
-
-
Method Details
-
builder
-
any
-
toBuilder
-
applyBindings
- Specified by:
applyBindings
in interfaceParameter
-