Package org.elasticsearch.painless.spi
package org.elasticsearch.painless.spi
-
ClassDescriptionGeneric "test" context used by the painless execute REST API for testing painless scripts.Whitelist contains data structures designed to be used to generate a whitelist of Java classes, constructors, methods, and fields that can be used within a Painless script at both compile-time and run-time.Class represents the equivalent of a Java class in Painless complete with super classes, constructors, methods, and fields.A class binding represents a method call that stores state.Constructor represents the equivalent of a Java constructor available as a whitelisted class constructor within Painless.Field represents the equivalent of a Java field available as a whitelisted class field within Painless.An instance binding represents a method call that stores state.Loads and creates a
Whitelistfrom one to many text files.Method represents the equivalent of a Java method available as a whitelisted class method within Painless.