Java Code Examples for org.apache.calcite.schema.Schema#TableType

The following examples show how to use org.apache.calcite.schema.Schema#TableType . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JdbcTable.java    From calcite with Apache License 2.0 5 votes vote down vote up
JdbcTable(JdbcSchema jdbcSchema, String jdbcCatalogName,
    String jdbcSchemaName, String jdbcTableName,
    Schema.TableType jdbcTableType) {
  super(Object[].class);
  this.jdbcSchema = Objects.requireNonNull(jdbcSchema);
  this.jdbcCatalogName = jdbcCatalogName;
  this.jdbcSchemaName = jdbcSchemaName;
  this.jdbcTableName = Objects.requireNonNull(jdbcTableName);
  this.jdbcTableType = Objects.requireNonNull(jdbcTableType);
}
 
Example 2
Source File: JdbcTable.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return jdbcTableType;
}
 
Example 3
Source File: CollectionTypeTest.java    From calcite with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}
 
Example 4
Source File: StreamTest.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}
 
Example 5
Source File: StreamTest.java    From calcite with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}
 
Example 6
Source File: StreamTest.java    From calcite with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}
 
Example 7
Source File: KafkaStreamTable.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.STREAM;
}
 
Example 8
Source File: RelToSqlConverterStructsTest.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return null;
}
 
Example 9
Source File: StarTable.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.STAR;
}
 
Example 10
Source File: AbstractTable.java    From calcite with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}
 
Example 11
Source File: ViewTable.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.VIEW;
}
 
Example 12
Source File: CollectionTypeTest.java    From calcite with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}
 
Example 13
Source File: CalciteMetaImpl.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.SYSTEM_TABLE;
}
 
Example 14
Source File: MaterializedViewTable.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.MATERIALIZED_VIEW;
}
 
Example 15
Source File: InstanceIdsByClassTable.java    From mat-calcite-plugin with Apache License 2.0 4 votes vote down vote up
@Override
public Schema.TableType getJdbcTableType() {
    return Schema.TableType.SYSTEM_TABLE;
}
 
Example 16
Source File: ApexSQLTable.java    From attic-apex-malhar with Apache License 2.0 4 votes vote down vote up
@Override
public Schema.TableType getJdbcTableType()
{
  return Schema.TableType.STREAM;
}
 
Example 17
Source File: DremioPrepareTable.java    From dremio-oss with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return table.getJdbcTableType();
}
 
Example 18
Source File: MycatTableBase.java    From Mycat2 with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Schema.TableType getJdbcTableType() {
    return Schema.TableType.TABLE;
}
 
Example 19
Source File: StarTable.java    From Bats with Apache License 2.0 4 votes vote down vote up
@Override public Schema.TableType getJdbcTableType() {
  return Schema.TableType.STAR;
}
 
Example 20
Source File: AbstractTable.java    From Bats with Apache License 2.0 4 votes vote down vote up
public Schema.TableType getJdbcTableType() {
  return Schema.TableType.TABLE;
}