Package org.graylog.plugins.views.search
Interface Parameter
- All Superinterfaces:
ContentPackable<Parameter>
- All Known Implementing Classes:
ValueParameter
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceParameter.BindingHandler<B extends Parameter.Binding,P extends Parameter> static interfacestatic interfaceParameter.Factory<TYPE extends Parameter> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionapplyBindings(Map<String, Parameter.Binding> bindings) binding()dataType()name()booleanoptional()title()default ParametertoContentPackEntity(EntityDescriptorIds entityDescriptorIds) type()Methods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackage, resolveNativeEntity
-
Field Details
-
TYPE_FIELD
- See Also:
-
-
Method Details
-
type
String type() -
name
String name() -
title
-
description
-
dataType
String dataType() -
defaultValue
-
optional
boolean optional() -
binding
-
applyBindings
-
toContentPackEntity
- Specified by:
toContentPackEntityin interfaceContentPackable<Parameter>
-