OpenSearch/docs/reference/painless-api-reference/Collectors.asciidoc

39 lines
13 KiB
Plaintext

////
Automatically generated by PainlessDocGenerator. Do not edit.
Rebuild by running `gradle generatePainlessApi`.
////
[[painless-api-reference-Collectors]]++Collectors++::
* ++[[painless-api-reference-Collectors-averagingDouble-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#averagingDouble%2Djava.util.function.ToDoubleFunction%2D[averagingDouble](<<painless-api-reference-ToDoubleFunction,ToDoubleFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#averagingDouble%2Djava.util.function.ToDoubleFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-averagingInt-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#averagingInt%2Djava.util.function.ToIntFunction%2D[averagingInt](<<painless-api-reference-ToIntFunction,ToIntFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#averagingInt%2Djava.util.function.ToIntFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-averagingLong-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#averagingLong%2Djava.util.function.ToLongFunction%2D[averagingLong](<<painless-api-reference-ToLongFunction,ToLongFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#averagingLong%2Djava.util.function.ToLongFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-collectingAndThen-2]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#collectingAndThen%2Djava.util.stream.Collector%2Djava.util.function.Function%2D[collectingAndThen](<<painless-api-reference-Collector,Collector>>, <<painless-api-reference-Function,Function>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#collectingAndThen%2Djava.util.stream.Collector%2Djava.util.function.Function%2D[java 9])
* ++[[painless-api-reference-Collectors-counting-0]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#counting%2D%2D[counting]()++ (link:{java9-javadoc}/java/util/stream/Collectors.html#counting%2D%2D[java 9])
* ++[[painless-api-reference-Collectors-groupingBy-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#groupingBy%2Djava.util.function.Function%2D[groupingBy](<<painless-api-reference-Function,Function>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#groupingBy%2Djava.util.function.Function%2D[java 9])
* ++[[painless-api-reference-Collectors-groupingBy-2]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#groupingBy%2Djava.util.function.Function%2Djava.util.stream.Collector%2D[groupingBy](<<painless-api-reference-Function,Function>>, <<painless-api-reference-Collector,Collector>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#groupingBy%2Djava.util.function.Function%2Djava.util.stream.Collector%2D[java 9])
* ++[[painless-api-reference-Collectors-groupingBy-3]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#groupingBy%2Djava.util.function.Function%2Djava.util.function.Supplier%2Djava.util.stream.Collector%2D[groupingBy](<<painless-api-reference-Function,Function>>, <<painless-api-reference-Supplier,Supplier>>, <<painless-api-reference-Collector,Collector>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#groupingBy%2Djava.util.function.Function%2Djava.util.function.Supplier%2Djava.util.stream.Collector%2D[java 9])
* ++[[painless-api-reference-Collectors-joining-0]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#joining%2D%2D[joining]()++ (link:{java9-javadoc}/java/util/stream/Collectors.html#joining%2D%2D[java 9])
* ++[[painless-api-reference-Collectors-joining-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#joining%2Djava.lang.CharSequence%2D[joining](<<painless-api-reference-CharSequence,CharSequence>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#joining%2Djava.lang.CharSequence%2D[java 9])
* ++[[painless-api-reference-Collectors-joining-3]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#joining%2Djava.lang.CharSequence%2Djava.lang.CharSequence%2Djava.lang.CharSequence%2D[joining](<<painless-api-reference-CharSequence,CharSequence>>, <<painless-api-reference-CharSequence,CharSequence>>, <<painless-api-reference-CharSequence,CharSequence>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#joining%2Djava.lang.CharSequence%2Djava.lang.CharSequence%2Djava.lang.CharSequence%2D[java 9])
* ++[[painless-api-reference-Collectors-mapping-2]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#mapping%2Djava.util.function.Function%2Djava.util.stream.Collector%2D[mapping](<<painless-api-reference-Function,Function>>, <<painless-api-reference-Collector,Collector>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#mapping%2Djava.util.function.Function%2Djava.util.stream.Collector%2D[java 9])
* ++[[painless-api-reference-Collectors-maxBy-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#maxBy%2Djava.util.Comparator%2D[maxBy](<<painless-api-reference-Comparator,Comparator>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#maxBy%2Djava.util.Comparator%2D[java 9])
* ++[[painless-api-reference-Collectors-minBy-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#minBy%2Djava.util.Comparator%2D[minBy](<<painless-api-reference-Comparator,Comparator>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#minBy%2Djava.util.Comparator%2D[java 9])
* ++[[painless-api-reference-Collectors-partitioningBy-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#partitioningBy%2Djava.util.function.Predicate%2D[partitioningBy](<<painless-api-reference-Predicate,Predicate>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#partitioningBy%2Djava.util.function.Predicate%2D[java 9])
* ++[[painless-api-reference-Collectors-partitioningBy-2]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#partitioningBy%2Djava.util.function.Predicate%2Djava.util.stream.Collector%2D[partitioningBy](<<painless-api-reference-Predicate,Predicate>>, <<painless-api-reference-Collector,Collector>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#partitioningBy%2Djava.util.function.Predicate%2Djava.util.stream.Collector%2D[java 9])
* ++[[painless-api-reference-Collectors-reducing-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#reducing%2Djava.util.function.BinaryOperator%2D[reducing](<<painless-api-reference-BinaryOperator,BinaryOperator>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#reducing%2Djava.util.function.BinaryOperator%2D[java 9])
* ++[[painless-api-reference-Collectors-reducing-2]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#reducing%2Djava.lang.Object%2Djava.util.function.BinaryOperator%2D[reducing](def, <<painless-api-reference-BinaryOperator,BinaryOperator>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#reducing%2Djava.lang.Object%2Djava.util.function.BinaryOperator%2D[java 9])
* ++[[painless-api-reference-Collectors-reducing-3]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#reducing%2Djava.lang.Object%2Djava.util.function.Function%2Djava.util.function.BinaryOperator%2D[reducing](def, <<painless-api-reference-Function,Function>>, <<painless-api-reference-BinaryOperator,BinaryOperator>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#reducing%2Djava.lang.Object%2Djava.util.function.Function%2Djava.util.function.BinaryOperator%2D[java 9])
* ++[[painless-api-reference-Collectors-summarizingDouble-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#summarizingDouble%2Djava.util.function.ToDoubleFunction%2D[summarizingDouble](<<painless-api-reference-ToDoubleFunction,ToDoubleFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#summarizingDouble%2Djava.util.function.ToDoubleFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-summarizingInt-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#summarizingInt%2Djava.util.function.ToIntFunction%2D[summarizingInt](<<painless-api-reference-ToIntFunction,ToIntFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#summarizingInt%2Djava.util.function.ToIntFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-summarizingLong-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#summarizingLong%2Djava.util.function.ToLongFunction%2D[summarizingLong](<<painless-api-reference-ToLongFunction,ToLongFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#summarizingLong%2Djava.util.function.ToLongFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-summingDouble-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#summingDouble%2Djava.util.function.ToDoubleFunction%2D[summingDouble](<<painless-api-reference-ToDoubleFunction,ToDoubleFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#summingDouble%2Djava.util.function.ToDoubleFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-summingInt-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#summingInt%2Djava.util.function.ToIntFunction%2D[summingInt](<<painless-api-reference-ToIntFunction,ToIntFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#summingInt%2Djava.util.function.ToIntFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-summingLong-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#summingLong%2Djava.util.function.ToLongFunction%2D[summingLong](<<painless-api-reference-ToLongFunction,ToLongFunction>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#summingLong%2Djava.util.function.ToLongFunction%2D[java 9])
* ++[[painless-api-reference-Collectors-toCollection-1]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#toCollection%2Djava.util.function.Supplier%2D[toCollection](<<painless-api-reference-Supplier,Supplier>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#toCollection%2Djava.util.function.Supplier%2D[java 9])
* ++[[painless-api-reference-Collectors-toList-0]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#toList%2D%2D[toList]()++ (link:{java9-javadoc}/java/util/stream/Collectors.html#toList%2D%2D[java 9])
* ++[[painless-api-reference-Collectors-toMap-2]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#toMap%2Djava.util.function.Function%2Djava.util.function.Function%2D[toMap](<<painless-api-reference-Function,Function>>, <<painless-api-reference-Function,Function>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#toMap%2Djava.util.function.Function%2Djava.util.function.Function%2D[java 9])
* ++[[painless-api-reference-Collectors-toMap-3]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#toMap%2Djava.util.function.Function%2Djava.util.function.Function%2Djava.util.function.BinaryOperator%2D[toMap](<<painless-api-reference-Function,Function>>, <<painless-api-reference-Function,Function>>, <<painless-api-reference-BinaryOperator,BinaryOperator>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#toMap%2Djava.util.function.Function%2Djava.util.function.Function%2Djava.util.function.BinaryOperator%2D[java 9])
* ++[[painless-api-reference-Collectors-toMap-4]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#toMap%2Djava.util.function.Function%2Djava.util.function.Function%2Djava.util.function.BinaryOperator%2Djava.util.function.Supplier%2D[toMap](<<painless-api-reference-Function,Function>>, <<painless-api-reference-Function,Function>>, <<painless-api-reference-BinaryOperator,BinaryOperator>>, <<painless-api-reference-Supplier,Supplier>>)++ (link:{java9-javadoc}/java/util/stream/Collectors.html#toMap%2Djava.util.function.Function%2Djava.util.function.Function%2Djava.util.function.BinaryOperator%2Djava.util.function.Supplier%2D[java 9])
* ++[[painless-api-reference-Collectors-toSet-0]]static <<painless-api-reference-Collector,Collector>> link:{java8-javadoc}/java/util/stream/Collectors.html#toSet%2D%2D[toSet]()++ (link:{java9-javadoc}/java/util/stream/Collectors.html#toSet%2D%2D[java 9])
* Inherits methods from ++<<painless-api-reference-Object,Object>>++