Package org.graylog.plugins.views.search
Class ValueParameter
java.lang.Object
org.graylog.plugins.views.search.ValueParameter
- All Implemented Interfaces:
Parameter,ContentPackable<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 ClassesNested 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
FieldsFields inherited from interface org.graylog.plugins.views.search.Parameter
TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueParameterapplyBindings(Map<String, Parameter.Binding> bindings) static ValueParameter.Builderbuilder()abstract ValueParameter.BuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackage, resolveNativeEntityMethods inherited from interface org.graylog.plugins.views.search.Parameter
binding, dataType, defaultValue, description, name, optional, title, toContentPackEntity, type
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
ValueParameter
public ValueParameter()
-
-
Method Details
-
builder
-
any
-
toBuilder
-
applyBindings
- Specified by:
applyBindingsin interfaceParameter
-