public static enum GremlinResult.Type extends Enum<GremlinResult.Type>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEdge() |
boolean |
isEmpty() |
boolean |
isGeneral() |
boolean |
isGraph() |
boolean |
isPath() |
boolean |
isVertex() |
static GremlinResult.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GremlinResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GremlinResult.Type EMPTY
public static final GremlinResult.Type GENERAL
public static final GremlinResult.Type VERTEX
public static final GremlinResult.Type EDGE
public static final GremlinResult.Type PATH
public static GremlinResult.Type[] values()
for (GremlinResult.Type c : GremlinResult.Type.values()) System.out.println(c);
public static GremlinResult.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isEmpty()
public boolean isGeneral()
public boolean isVertex()
public boolean isEdge()
public boolean isPath()
public boolean isGraph()
Copyright © 2024 The Apache Software Foundation. All rights reserved.