Class 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.
    • 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()  
      • Methods inherited from class org.apache.calcite.avatica.Meta.Signature

        create, equals, fromProto, hashCode, sanitize, setCursorFactory, toProto
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • collationList

        private final java.util.List<RelCollation> collationList
      • maxRowCount

        private final long maxRowCount
      • bindable

        private final Bindable<T> bindable
    • 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)