public static class CompilerUtil.TableBuilderInfo extends Object
Constructor and Description |
---|
TableBuilderInfo(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.schema.StreamableTable |
build() |
CompilerUtil.TableBuilderInfo |
field(String name,
org.apache.calcite.rel.type.RelDataType type) |
CompilerUtil.TableBuilderInfo |
field(String name,
org.apache.calcite.rel.type.RelDataType type,
ColumnConstraint constraint) |
CompilerUtil.TableBuilderInfo |
field(String name,
org.apache.calcite.sql.SqlDataTypeSpec type,
ColumnConstraint constraint) |
CompilerUtil.TableBuilderInfo |
field(String name,
org.apache.calcite.sql.type.SqlTypeName type) |
CompilerUtil.TableBuilderInfo |
field(String name,
org.apache.calcite.sql.type.SqlTypeName type,
ColumnConstraint constraint) |
CompilerUtil.TableBuilderInfo |
parallelismHint(int parallelismHint) |
CompilerUtil.TableBuilderInfo |
rows(Object[] data) |
CompilerUtil.TableBuilderInfo |
statistics(org.apache.calcite.schema.Statistic stats) |
public TableBuilderInfo(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
public CompilerUtil.TableBuilderInfo field(String name, org.apache.calcite.sql.type.SqlTypeName type)
public CompilerUtil.TableBuilderInfo field(String name, org.apache.calcite.rel.type.RelDataType type)
public CompilerUtil.TableBuilderInfo field(String name, org.apache.calcite.sql.type.SqlTypeName type, ColumnConstraint constraint)
public CompilerUtil.TableBuilderInfo field(String name, org.apache.calcite.rel.type.RelDataType type, ColumnConstraint constraint)
public CompilerUtil.TableBuilderInfo field(String name, org.apache.calcite.sql.SqlDataTypeSpec type, ColumnConstraint constraint)
public CompilerUtil.TableBuilderInfo statistics(org.apache.calcite.schema.Statistic stats)
public CompilerUtil.TableBuilderInfo rows(Object[] data)
public CompilerUtil.TableBuilderInfo parallelismHint(int parallelismHint)
public org.apache.calcite.schema.StreamableTable build()
Copyright © 2019 The Apache Software Foundation. All rights reserved.