public class CustomFunction
extends java.lang.Object
implements java.util.function.Function<org.apache.tinkerpop.gremlin.process.traversal.Traverser,java.lang.Object>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(org.apache.tinkerpop.gremlin.process.traversal.Traverser traverser) |
static CustomFunction |
containerIndex(java.lang.Object index) |
static CustomFunction |
convertToBoolean() |
static CustomFunction |
convertToFloat() |
static CustomFunction |
convertToInteger() |
static CustomFunction |
convertToString() |
java.lang.Object[] |
getArgs() |
java.lang.String |
getName() |
static CustomFunction |
length() |
static CustomFunction |
listComprehension(java.lang.Object functionTraversal) |
static CustomFunction |
nodes() |
static CustomFunction |
pathComprehension() |
static java.lang.Object |
pathToList(java.lang.Object value) |
static CustomFunction |
relationships() |
static CustomFunction |
size() |
public java.lang.String getName()
public java.lang.Object[] getArgs()
public java.lang.Object apply(org.apache.tinkerpop.gremlin.process.traversal.Traverser traverser)
apply in interface java.util.function.Function<org.apache.tinkerpop.gremlin.process.traversal.Traverser,java.lang.Object>public static CustomFunction length()
public static CustomFunction convertToString()
public static CustomFunction convertToBoolean()
public static CustomFunction convertToInteger()
public static CustomFunction convertToFloat()
public static CustomFunction nodes()
public static CustomFunction relationships()
public static CustomFunction listComprehension(java.lang.Object functionTraversal)
public static CustomFunction pathComprehension()
public static CustomFunction containerIndex(java.lang.Object index)
public static CustomFunction size()
public static java.lang.Object pathToList(java.lang.Object value)