public enum SqlConstraintEnforcement extends Enum<SqlConstraintEnforcement>
Enum Constant and Description |
---|
ENFORCED |
NOT_ENFORCED |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlLiteral |
symbol(org.apache.calcite.sql.parser.SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this keyword at a particular position
in the parsed text.
|
String |
toString() |
static SqlConstraintEnforcement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlConstraintEnforcement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlConstraintEnforcement ENFORCED
public static final SqlConstraintEnforcement NOT_ENFORCED
public static SqlConstraintEnforcement[] values()
for (SqlConstraintEnforcement c : SqlConstraintEnforcement.values()) System.out.println(c);
public static SqlConstraintEnforcement 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<SqlConstraintEnforcement>
public org.apache.calcite.sql.SqlLiteral symbol(org.apache.calcite.sql.parser.SqlParserPos pos)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.