A C D E F G J N O R S 
All Classes All Packages

A

any(Iterable<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates over the contents of an iterable, and checks whether a predicate is valid for at least one element.
asCollection(Iterable<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Converts this Iterable to a Collection.
asList(Iterable<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Converts this Iterable to a List.
Augmentation - Class in org.elasticsearch.painless.api
Additional methods added to classes.

C

collect(Collection<T>, Collection<U>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through this collection transforming each entry into a new value using the function, adding the values to the specified collection.
collect(Collection<T>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through this collection transforming each entry into a new value using the function, returning a list of transformed values.
collect(Map<K, V>, Collection<T>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through this map transforming each entry into a new value using the function, adding the values to the specified collection.
collect(Map<K, V>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through this map transforming each entry into a new value using the function, returning a list of transformed values.
count(Iterable<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Counts the number of occurrences which satisfy the given predicate from inside this Iterable.
count(Map<K, V>, BiPredicate<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
Counts the number of occurrences which satisfy the given predicate from inside this Map

D

Debug - Class in org.elasticsearch.painless.api
Utility methods for debugging painless scripts that are accessible to painless scripts.
decodeBase64(String) - Static method in class org.elasticsearch.painless.api.Augmentation
Decode some Base64 bytes and build a UTF-8 encoded string.

E

each(Iterable<T>, Consumer<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through an Iterable, passing each item to the given consumer.
each(Map<K, V>, BiConsumer<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through a Map, passing each item to the given consumer.
eachWithIndex(Iterable<T>, ObjIntConsumer<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through an iterable type, passing each item and the item's index (a counter starting at zero) to the given consumer.
encodeBase64(String) - Static method in class org.elasticsearch.painless.api.Augmentation
Encode a String in Base64.
every(Iterable<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Used to determine if the given predicate is valid (i.e.
every(Map<K, V>, BiPredicate<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
Used to determine if the given predicate is valid (i.e.
explain(Object) - Static method in class org.elasticsearch.painless.api.Debug
Throw an Error that "explains" an object.

F

find(Collection<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Finds the first value matching the predicate, or returns null.
find(Map<K, V>, BiPredicate<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
Finds the first entry matching the predicate, or returns null.
findAll(Collection<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Finds all values matching the predicate, returns as a list
findAll(Map<K, V>, BiPredicate<K, V>) - Static method in class org.elasticsearch.painless.api.Augmentation
Finds all values matching the predicate, returns as a map.
findResult(Collection<T>, Object, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through the collection calling the given function for each item but stopping once the first non-null result is found and returning that result.
findResult(Collection<T>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through the collection calling the given function for each item but stopping once the first non-null result is found and returning that result.
findResult(Map<K, V>, Object, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through the map calling the given function for each item but stopping once the first non-null result is found and returning that result.
findResult(Map<K, V>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through the map calling the given function for each item but stopping once the first non-null result is found and returning that result.
findResults(Iterable<T>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through the Iterable transforming items using the supplied function and collecting any non-null results.
findResults(Map<K, V>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Iterates through the map transforming items using the supplied function and collecting any non-null results.

G

getLength(List<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Exposes List.size() as getLength(), so that .length shortcut works on lists
groupBy(Iterable<T>, Function<T, U>) - Static method in class org.elasticsearch.painless.api.Augmentation
Sorts all Iterable members into groups determined by the supplied mapping function.
groupBy(Map<K, V>, BiFunction<K, V, T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Sorts all Map members into groups determined by the supplied mapping function.

J

join(Iterable<T>, String) - Static method in class org.elasticsearch.painless.api.Augmentation
Concatenates the toString() representation of each item in this Iterable, with the given String as a separator between each item.

N

namedGroup(Matcher, String) - Static method in class org.elasticsearch.painless.api.Augmentation
Exposes Matcher.group(String) as namedGroup(String), so it doesn't conflict with group(int)

O

org.elasticsearch.painless.api - package org.elasticsearch.painless.api
Java code publicly exposed to Painless code.

R

replaceAll(CharSequence, Pattern, Function<Matcher, String>) - Static method in class org.elasticsearch.painless.api.Augmentation
Replace all matches.
replaceFirst(CharSequence, Pattern, Function<Matcher, String>) - Static method in class org.elasticsearch.painless.api.Augmentation
Replace the first match.

S

split(Collection<T>, Predicate<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Splits all items into two collections based on the predicate.
sum(Iterable<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Sums the result of an Iterable
sum(Iterable<T>, ToDoubleFunction<T>) - Static method in class org.elasticsearch.painless.api.Augmentation
Sums the result of applying a function to each item of an Iterable.
A C D E F G J N O R S 
All Classes All Packages