public static enum GEdgeResult.Field extends Enum<GEdgeResult.Field>
Enum Constant and Description |
---|
EDGE_ID
Edge id.
|
EDGE_WEIGHT
Edge weight.
|
LABEL
Edge label.
|
VERTEX_IN_ID
Edge vertex source id.
|
VERTEX_OUT_ID
Edge vertex end id.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
String |
getName()
Gets field's name.
|
String |
toString()
Gets field's attributes to string.
|
static GEdgeResult.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GEdgeResult.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GEdgeResult.Field EDGE_ID
public static final GEdgeResult.Field EDGE_WEIGHT
public static final GEdgeResult.Field VERTEX_IN_ID
public static final GEdgeResult.Field VERTEX_OUT_ID
public static final GEdgeResult.Field LABEL
public static GEdgeResult.Field[] values()
for (GEdgeResult.Field c : GEdgeResult.Field.values()) System.out.println(c);
public static GEdgeResult.Field 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 int getIndex()
public String getName()
public String toString()
toString
in class Enum<GEdgeResult.Field>
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.