Package com.microsoft.azure.kusto.data
Enum CommandType
- java.lang.Object
-
- java.lang.Enum<CommandType>
-
- com.microsoft.azure.kusto.data.CommandType
-
- All Implemented Interfaces:
Serializable,Comparable<CommandType>
public enum CommandType extends Enum<CommandType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_COMMANDQUERYSTREAMING_INGEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActivityTypeSuffix()StringgetEndpoint()static CommandTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIN_COMMAND
public static final CommandType ADMIN_COMMAND
-
QUERY
public static final CommandType QUERY
-
STREAMING_INGEST
public static final CommandType STREAMING_INGEST
-
-
Method Detail
-
values
public static CommandType[] 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 (CommandType c : CommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandType 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
-
getEndpoint
public String getEndpoint()
-
getActivityTypeSuffix
public String getActivityTypeSuffix()
-
-