public interface Lambda extends Serializable
GremlinScriptEngine
.Modifier and Type | Interface and Description |
---|---|
static class |
Lambda.AbstractLambda |
static class |
Lambda.BinaryLambda<A> |
static class |
Lambda.OneArgLambda<A,B> |
static class |
Lambda.TwoArgLambda<A,B,C> |
static class |
Lambda.UnaryLambda<A> |
static class |
Lambda.UnknownArgLambda |
static class |
Lambda.ZeroArgLambda<A> |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LAMBDA_LANGUAGE |
Modifier and Type | Method and Description |
---|---|
static <A,B,C> BiFunction<A,B,C> |
biFunction(String lambdaSource) |
static <A,B,C> BiFunction<A,B,C> |
biFunction(String lambdaSource,
String lambdaLanguage) |
static <A> BinaryOperator<A> |
binaryOperator(String lambdaSource) |
static <A> Comparator<A> |
comparator(String lambdaSource) |
static <A> Comparator<A> |
comparator(String lambdaSource,
String lambdaLanguage) |
static <A> Consumer<A> |
consumer(String lambdaSource) |
static <A> Consumer<A> |
consumer(String lambdaSource,
String lambdaLanguage) |
static <A,B> Function<A,B> |
function(String lambdaSource) |
static <A,B> Function<A,B> |
function(String lambdaSource,
String lambdaLanguage) |
int |
getLambdaArguments() |
String |
getLambdaLanguage() |
String |
getLambdaScript() |
static <A> Predicate<A> |
predicate(String lambdaSource) |
static <A> Predicate<A> |
predicate(String lambdaSource,
String lambdaLanguage) |
static <A> Supplier<A> |
supplier(String lambdaSource) |
static <A> Supplier<A> |
supplier(String lambdaSource,
String lambdaLanguage) |
static <A> UnaryOperator<A> |
unaryOperator(String lambdaSource) |
static <A> UnaryOperator<A> |
unaryOperator(String lambdaSource,
String lambdaLanguage) |
static final String DEFAULT_LAMBDA_LANGUAGE
String getLambdaScript()
String getLambdaLanguage()
int getLambdaArguments()
static <A> UnaryOperator<A> unaryOperator(String lambdaSource, String lambdaLanguage)
static <A> Comparator<A> comparator(String lambdaSource, String lambdaLanguage)
static <A,B,C> BiFunction<A,B,C> biFunction(String lambdaSource, String lambdaLanguage)
static <A> UnaryOperator<A> unaryOperator(String lambdaSource)
static <A> Comparator<A> comparator(String lambdaSource)
static <A,B,C> BiFunction<A,B,C> biFunction(String lambdaSource)
static <A> BinaryOperator<A> binaryOperator(String lambdaSource)
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.