Package org.graylog.plugins.views.search
Interface Parameter
- All Known Implementing Classes:
ValueParameter
public interface 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 Parameter
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
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Parameter.BindingHandler<B extends Parameter.Binding,
P extends Parameter> static interface
static interface
Parameter.Factory<TYPE extends Parameter>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyBindings
(Map<String, Parameter.Binding> bindings) binding()
dataType()
name()
boolean
optional()
title()
type()
-
Field Details
-
TYPE_FIELD
- See Also:
-
-
Method Details