| Interface | Description |
|---|---|
| PainlessExecuteAction.PainlessTestScript.Factory | |
| PainlessScript |
Abstract superclass on top of which all Painless scripts are built.
|
| Class | Description |
|---|---|
| AnalyzerCaster |
Used during the analysis phase to collect legal type casts and promotions
for type-checking and later to write necessary casts in the bytecode.
|
| BindingTest | |
| CompilerSettings |
Settings to use when compiling a script.
|
| Constant |
A constant initializer to be added to the class file.
|
| Def |
Support for dynamic type (def).
|
| DefBootstrap |
Painless invokedynamic bootstrap for the call site.
|
| DefMath |
Dynamic operators for painless.
|
| FeatureTest |
Currently just a dummy class for testing a few features not yet exposed by whitelist!
|
| FeatureTestAugmentation | |
| FunctionRef |
Contains all the values necessary to write the instruction to initiate a
LambdaBootstrap for either a function reference or a user-defined
lambda function. |
| GenericElasticsearchScript |
Generic script interface that Painless implements for all Elasticsearch scripts.
|
| Globals |
Program-wide globals (initializers, synthetic methods, etc)
|
| LambdaBootstrap |
LambdaBootstrap is used to generate all the code necessary to execute
lambda functions and method references within Painless.
|
| Locals |
Tracks user defined methods and variables across compilation phases.
|
| Locals.LocalMethod |
Stores information about methods directly callable on the generated script class.
|
| Locals.Parameter | |
| Locals.Variable | |
| Location |
Represents a location in script code (name of script + character offset)
|
| MethodWriter |
Extension of
GeneratorAdapter with some utility methods. |
| PainlessExecuteAction | |
| PainlessExecuteAction.PainlessTestScript | |
| PainlessExecuteAction.Request | |
| PainlessExecuteAction.RequestBuilder | |
| PainlessExecuteAction.Response | |
| PainlessExecuteAction.TransportAction | |
| PainlessPlugin |
Registers Painless as a plugin.
|
| PainlessScriptEngine |
Implementation of a ScriptEngine for the Painless language.
|
| ScriptClassInfo |
Information about the interface being implemented by the painless script.
|
| ScriptClassInfo.MethodArgument |
Painless
Classes and name of the argument to the execute method. |
| SimpleChecksAdapter |
A CheckClassAdapter that does not use setAccessible to try to access private fields of Label!
|
| StaticTest | |
| Utility |
A set of methods for non-native boxing and non-native
exact math operations used at both compile-time and runtime.
|
| WriterConstants |
General pool of constants used during the writing phase of compilation.
|
| Enum | Description |
|---|---|
| Operation |
Provides a way to represent operations independently of ASM, to keep ASM
contained to only the writing phase of compilation.
|
| Error | Description |
|---|---|
| PainlessError |
The PainlessError class is used to throw internal errors caused by Painless scripts that cannot be
caught using a standard
Exception. |
| PainlessExplainError |
Thrown by
explain(Object) to explain an object. |