Class ValueParameter

java.lang.Object
org.graylog.plugins.views.search.ValueParameter
All Implemented Interfaces:
Parameter

public abstract class ValueParameter extends Object implements 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.