Package org.apache.calcite.jdbc
Class CalcitePrepare.CalciteSignature<T>
- java.lang.Object
-
- org.apache.calcite.avatica.Meta.Signature
-
- org.apache.calcite.jdbc.CalcitePrepare.CalciteSignature<T>
-
- Type Parameters:
T
- element type
- Enclosing interface:
- CalcitePrepare
public static class CalcitePrepare.CalciteSignature<T> extends org.apache.calcite.avatica.Meta.Signature
The result of preparing a query. It gives the Avatica driver framework the information it needs to create a prepared statement, or to execute a statement directly, without an explicit prepare step.
-
-
Field Summary
Fields Modifier and Type Field Description private Bindable<T>
bindable
private java.util.List<RelCollation>
collationList
private long
maxRowCount
CalciteSchema
rootSchema
RelDataType
rowType
-
Constructor Summary
Constructors Constructor Description CalciteSignature(java.lang.String sql, java.util.List<org.apache.calcite.avatica.AvaticaParameter> parameterList, java.util.Map<java.lang.String,java.lang.Object> internalParameters, RelDataType rowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData> columns, org.apache.calcite.avatica.Meta.CursorFactory cursorFactory, CalciteSchema rootSchema, java.util.List<RelCollation> collationList, long maxRowCount, Bindable<T> bindable)
Deprecated.CalciteSignature(java.lang.String sql, java.util.List<org.apache.calcite.avatica.AvaticaParameter> parameterList, java.util.Map<java.lang.String,java.lang.Object> internalParameters, RelDataType rowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData> columns, org.apache.calcite.avatica.Meta.CursorFactory cursorFactory, CalciteSchema rootSchema, java.util.List<RelCollation> collationList, long maxRowCount, Bindable<T> bindable, org.apache.calcite.avatica.Meta.StatementType statementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumerable<T>
enumerable(DataContext dataContext)
java.util.List<RelCollation>
getCollationList()
-
-
-
Field Detail
-
rowType
public final RelDataType rowType
-
rootSchema
public final CalciteSchema rootSchema
-
collationList
private final java.util.List<RelCollation> collationList
-
maxRowCount
private final long maxRowCount
-
-
Constructor Detail
-
CalciteSignature
@Deprecated public CalciteSignature(java.lang.String sql, java.util.List<org.apache.calcite.avatica.AvaticaParameter> parameterList, java.util.Map<java.lang.String,java.lang.Object> internalParameters, RelDataType rowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData> columns, org.apache.calcite.avatica.Meta.CursorFactory cursorFactory, CalciteSchema rootSchema, java.util.List<RelCollation> collationList, long maxRowCount, Bindable<T> bindable)
Deprecated.
-
CalciteSignature
public CalciteSignature(java.lang.String sql, java.util.List<org.apache.calcite.avatica.AvaticaParameter> parameterList, java.util.Map<java.lang.String,java.lang.Object> internalParameters, RelDataType rowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData> columns, org.apache.calcite.avatica.Meta.CursorFactory cursorFactory, CalciteSchema rootSchema, java.util.List<RelCollation> collationList, long maxRowCount, Bindable<T> bindable, org.apache.calcite.avatica.Meta.StatementType statementType)
-
-
Method Detail
-
enumerable
public Enumerable<T> enumerable(DataContext dataContext)
-
getCollationList
public java.util.List<RelCollation> getCollationList()
-
-