public static enum Schema.TableType extends java.lang.Enum<Schema.TableType>
Enum Constant and Description |
---|
ACCEL_ONLY_TABLE
An accel-only table.
|
ALIAS
An alias.
|
AUXILIARY_TABLE
An auxiliary table.
|
FOREIGN_TABLE
Foreign table.
|
GLOBAL_TEMPORARY
A global temporary table.
|
GLOBAL_TEMPORARY_TABLE
A global temporary table.
|
HIERARCHY_TABLE
A hierarchy table.
|
INDEX
Index table.
|
INOPERATIVE_VIEW
An inoperative view.
|
JOIN
Join table.
|
LOCAL_TEMPORARY
A table that is only visible to one connection.
|
MATERIALIZED_QUERY_TABLE
A materialized query table.
|
MATERIALIZED_VIEW
Materialized view.
|
NICKNAME
A nickname.
|
OTHER
Table type not known to Calcite.
|
SEQUENCE
Sequence table.
|
STAR
A structure, similar to a view, that is the basis for auto-generated
materializations.
|
STREAM
Stream.
|
SYNONYM
A synonym.
|
SYSTEM_INDEX
System index.
|
SYSTEM_TABLE
A table maintained by the system.
|
SYSTEM_TOAST_INDEX
System TOAST index.
|
SYSTEM_TOAST_TABLE
System TOAST table.
|
SYSTEM_VIEW
System view.
|
TABLE
A regular table.
|
TEMPORAL_TABLE
A temporal table.
|
TEMPORARY_INDEX
Temporary index.
|
TEMPORARY_SEQUENCE
Temporary sequence.
|
TEMPORARY_TABLE
Temporary table.
|
TEMPORARY_VIEW
Temporary view.
|
TYPE
Type.
|
TYPED_TABLE
A typed table.
|
TYPED_VIEW
A typed view.
|
VIEW
A relation whose contents are calculated by evaluating a SQL
expression.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
jdbcName
The name used in JDBC.
|
Modifier and Type | Method and Description |
---|---|
static Schema.TableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Schema.TableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.TableType TABLE
Used by DB2, MySQL, PostgreSQL and others.
public static final Schema.TableType VIEW
Used by DB2, PostgreSQL and others.
public static final Schema.TableType FOREIGN_TABLE
Used by PostgreSQL.
public static final Schema.TableType MATERIALIZED_VIEW
Used by PostgreSQL.
public static final Schema.TableType INDEX
Used by Apache Phoenix, PostgreSQL.
public static final Schema.TableType JOIN
Used by Apache Phoenix.
public static final Schema.TableType SEQUENCE
Used by Apache Phoenix, Oracle, PostgreSQL and others. In Phoenix, must have a single BIGINT column called "$seq".
public static final Schema.TableType STAR
public static final Schema.TableType STREAM
public static final Schema.TableType TYPE
Used by PostgreSQL.
public static final Schema.TableType SYSTEM_TABLE
Specified by the JDBC standard and used by DB2, MySQL, Oracle, PostgreSQL and others.
public static final Schema.TableType SYSTEM_VIEW
Used by PostgreSQL, MySQL.
public static final Schema.TableType SYSTEM_INDEX
Used by PostgreSQL.
public static final Schema.TableType SYSTEM_TOAST_INDEX
Used by PostgreSQL.
public static final Schema.TableType SYSTEM_TOAST_TABLE
Used by PostgreSQL.
public static final Schema.TableType TEMPORARY_INDEX
Used by PostgreSQL.
public static final Schema.TableType TEMPORARY_SEQUENCE
Used by PostgreSQL.
public static final Schema.TableType TEMPORARY_TABLE
Used by PostgreSQL.
public static final Schema.TableType TEMPORARY_VIEW
Used by PostgreSQL.
public static final Schema.TableType LOCAL_TEMPORARY
Specified by the JDBC standard and used by PostgreSQL, MySQL.
public static final Schema.TableType SYNONYM
Used by DB2, Oracle.
public static final Schema.TableType ALIAS
Specified by the JDBC standard.
public static final Schema.TableType GLOBAL_TEMPORARY
Specified by the JDBC standard.
public static final Schema.TableType ACCEL_ONLY_TABLE
Used by DB2.
public static final Schema.TableType AUXILIARY_TABLE
Used by DB2.
public static final Schema.TableType GLOBAL_TEMPORARY_TABLE
Used by DB2.
public static final Schema.TableType HIERARCHY_TABLE
Used by DB2.
public static final Schema.TableType INOPERATIVE_VIEW
Used by DB2.
public static final Schema.TableType MATERIALIZED_QUERY_TABLE
Used by DB2.
public static final Schema.TableType NICKNAME
Used by DB2.
public static final Schema.TableType TYPED_TABLE
Used by DB2.
public static final Schema.TableType TYPED_VIEW
Used by DB2.
public static final Schema.TableType TEMPORAL_TABLE
Used by MS SQL, Oracle and others
public static final Schema.TableType OTHER
If you get one of these, please fix the problem by adding an enum value.
public final java.lang.String jdbcName
public static Schema.TableType[] values()
for (Schema.TableType c : Schema.TableType.values()) System.out.println(c);
public static Schema.TableType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.