public enum AvaticaSeverity extends Enum<AvaticaSeverity>
Enum Constant and Description |
---|
ERROR
The result of an action resulted in an error which the current operation cannot recover
from.
|
FATAL
The system has been left in an unrecoverable state as a result of an operation.
|
UNKNOWN
The severity of the outcome of some unexpected state is unknown.
|
WARNING
The operation completed successfully but a message was generated to warn the client about
some unexpected state or action.
|
Modifier and Type | Method and Description |
---|---|
static AvaticaSeverity |
fromProto(org.apache.calcite.avatica.proto.Common.Severity proto) |
int |
getValue() |
org.apache.calcite.avatica.proto.Common.Severity |
toProto() |
static AvaticaSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvaticaSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvaticaSeverity UNKNOWN
public static final AvaticaSeverity FATAL
public static final AvaticaSeverity ERROR
public static final AvaticaSeverity WARNING
public static AvaticaSeverity[] values()
for (AvaticaSeverity c : AvaticaSeverity.values()) System.out.println(c);
public static AvaticaSeverity 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 getValue()
public org.apache.calcite.avatica.proto.Common.Severity toProto()
public static AvaticaSeverity fromProto(org.apache.calcite.avatica.proto.Common.Severity proto)
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.