Enum InputFormat
- java.lang.Object
-
- java.lang.Enum<InputFormat>
-
- com.alibaba.graphscope.interactive.client.utils.InputFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<InputFormat>
public enum InputFormat extends Enum<InputFormat>
Enum representing various input formats for the Interactive SDK to submit queries to the Query service.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CPP_ENCODER
CYPHER_JSON
CYPHER_PROTO_ADHOC
CYPHER_PROTO_PROCEDURE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InputFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static InputFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CPP_ENCODER
public static final InputFormat CPP_ENCODER
-
CYPHER_JSON
public static final InputFormat CYPHER_JSON
-
CYPHER_PROTO_ADHOC
public static final InputFormat CYPHER_PROTO_ADHOC
-
CYPHER_PROTO_PROCEDURE
public static final InputFormat CYPHER_PROTO_PROCEDURE
-
-
Method Detail
-
values
public static InputFormat[] 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 (InputFormat c : InputFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputFormat valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-