Package oracle.pgx.api
Enum PgqlResultElement.Type
- java.lang.Object
-
- java.lang.Enum<PgqlResultElement.Type>
-
- oracle.pgx.api.PgqlResultElement.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PgqlResultElement.Type>
- Enclosing class:
- PgqlResultElement
public static enum PgqlResultElement.Type extends java.lang.Enum<PgqlResultElement.Type>
Type of a result element.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYBOOLEANDATEDOUBLEEDGEEDGE_LABELFLOATINTEGERLONGPOINT2DSTRINGTIMETIME_WITH_TIMEZONETIMESTAMPTIMESTAMP_WITH_TIMEZONEVERTEXVERTEX_LABELS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Returns the key of this type as string.static PgqlResultElement.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PgqlResultElement.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERTEX
public static final PgqlResultElement.Type VERTEX
-
EDGE
public static final PgqlResultElement.Type EDGE
-
INTEGER
public static final PgqlResultElement.Type INTEGER
-
LONG
public static final PgqlResultElement.Type LONG
-
DOUBLE
public static final PgqlResultElement.Type DOUBLE
-
STRING
public static final PgqlResultElement.Type STRING
-
FLOAT
public static final PgqlResultElement.Type FLOAT
-
BOOLEAN
public static final PgqlResultElement.Type BOOLEAN
-
VERTEX_LABELS
public static final PgqlResultElement.Type VERTEX_LABELS
-
EDGE_LABEL
public static final PgqlResultElement.Type EDGE_LABEL
-
DATE
public static final PgqlResultElement.Type DATE
-
TIME
public static final PgqlResultElement.Type TIME
-
TIMESTAMP
public static final PgqlResultElement.Type TIMESTAMP
-
TIME_WITH_TIMEZONE
public static final PgqlResultElement.Type TIME_WITH_TIMEZONE
-
TIMESTAMP_WITH_TIMEZONE
public static final PgqlResultElement.Type TIMESTAMP_WITH_TIMEZONE
-
POINT2D
public static final PgqlResultElement.Type POINT2D
-
ARRAY
public static final PgqlResultElement.Type ARRAY
-
-
Method Detail
-
values
public static PgqlResultElement.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PgqlResultElement.Type c : PgqlResultElement.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PgqlResultElement.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
Returns the key of this type as string.- Overrides:
toStringin classjava.lang.Enum<PgqlResultElement.Type>- Returns:
- the String representation of this type, which is the enum key.
-
-