public enum ScalarType extends Enum<ScalarType>
| Enum Constant and Description |
|---|
GQL_BOOL |
GQL_FLOAT |
GQL_ID |
GQL_INT |
GQL_STRING |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ScalarType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScalarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalarType GQL_INT
public static final ScalarType GQL_FLOAT
public static final ScalarType GQL_STRING
public static final ScalarType GQL_BOOL
public static final ScalarType GQL_ID
public static ScalarType[] values()
for (ScalarType c : ScalarType.values()) System.out.println(c);
public static ScalarType 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 String toString()
toString in class Enum<ScalarType>Copyright © 2018–2021. All rights reserved.