Package org.elasticsearch.painless.spi
Class WhitelistClassBinding
java.lang.Object
org.elasticsearch.painless.spi.WhitelistClassBinding
A class binding represents a method call that stores state. Each class binding's Java class must
have exactly one public constructor and one public method excluding those inherited directly
from
Object. The canonical type name parameters provided must match those of the
constructor and method combined. The constructor for a class binding's Java class will be called
when the binding method is called for the first time at which point state may be stored for the
arguments passed into the constructor. The method for a binding class will be called each time
the binding method is called and may use the previously stored state.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe method name for this class binding.final StringInformation about where this constructor was whitelisted from.TheMapof annotations for this class binding.final StringThe canonical type name for the return type.final StringThe Java class name this class binding targets. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
origin
Information about where this constructor was whitelisted from. -
targetJavaClassName
The Java class name this class binding targets. -
methodName
The method name for this class binding. -
returnCanonicalTypeName
The canonical type name for the return type. -
canonicalTypeNameParameters
-
painlessAnnotations
TheMapof annotations for this class binding.
-
-
Constructor Details