public enum SqlResourceType extends Enum<SqlResourceType>
| 限定符和类型 | 方法和说明 |
|---|---|
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 SqlResourceType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SqlResourceType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SqlResourceType FILE
public static final SqlResourceType JAR
public static final SqlResourceType ARCHIVE
public static SqlResourceType[] values()
for (SqlResourceType c : SqlResourceType.values()) System.out.println(c);
public static SqlResourceType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<SqlResourceType>public org.apache.calcite.sql.SqlLiteral symbol(org.apache.calcite.sql.parser.SqlParserPos pos)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.