类 IoTDBStatement

  • 所有已实现的接口:
    java.lang.AutoCloseable, java.sql.Statement, java.sql.Wrapper
    直接已知子类:
    IoTDBPreparedStatement

    public class IoTDBStatement
    extends java.lang.Object
    implements java.sql.Statement
    • 字段详细资料

      • client

        protected org.apache.iotdb.service.rpc.thrift.TSIService.Iface client
    • 方法详细资料

      • isWrapperFor

        public boolean isWrapperFor​(java.lang.Class<?> iface)
        指定者:
        isWrapperFor 在接口中 java.sql.Wrapper
      • unwrap

        public <T> T unwrap​(java.lang.Class<T> iface)
                     throws java.sql.SQLException
        指定者:
        unwrap 在接口中 java.sql.Wrapper
        抛出:
        java.sql.SQLException
      • addBatch

        public void addBatch​(java.lang.String sql)
        指定者:
        addBatch 在接口中 java.sql.Statement
      • cancel

        public void cancel()
                    throws java.sql.SQLException
        指定者:
        cancel 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • clearBatch

        public void clearBatch()
        指定者:
        clearBatch 在接口中 java.sql.Statement
      • clearWarnings

        public void clearWarnings()
        指定者:
        clearWarnings 在接口中 java.sql.Statement
      • close

        public void close()
                   throws java.sql.SQLException
        指定者:
        close 在接口中 java.lang.AutoCloseable
        指定者:
        close 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • closeOnCompletion

        public void closeOnCompletion()
                               throws java.sql.SQLException
        指定者:
        closeOnCompletion 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • execute

        public boolean execute​(java.lang.String sql)
                        throws java.sql.SQLException
        指定者:
        execute 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • execute

        public boolean execute​(java.lang.String arg0,
                               int arg1)
                        throws java.sql.SQLException
        指定者:
        execute 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • execute

        public boolean execute​(java.lang.String arg0,
                               int[] arg1)
                        throws java.sql.SQLException
        指定者:
        execute 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • execute

        public boolean execute​(java.lang.String arg0,
                               java.lang.String[] arg1)
                        throws java.sql.SQLException
        指定者:
        execute 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • executeBatch

        public int[] executeBatch()
                           throws java.sql.SQLException
        指定者:
        executeBatch 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • executeQuery

        public java.sql.ResultSet executeQuery​(java.lang.String sql)
                                        throws java.sql.SQLException
        指定者:
        executeQuery 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • executeUpdate

        public int executeUpdate​(java.lang.String sql)
                          throws java.sql.SQLException
        指定者:
        executeUpdate 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • executeUpdate

        public int executeUpdate​(java.lang.String arg0,
                                 int arg1)
                          throws java.sql.SQLException
        指定者:
        executeUpdate 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • executeUpdate

        public int executeUpdate​(java.lang.String arg0,
                                 int[] arg1)
                          throws java.sql.SQLException
        指定者:
        executeUpdate 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • executeUpdate

        public int executeUpdate​(java.lang.String arg0,
                                 java.lang.String[] arg1)
                          throws java.sql.SQLException
        指定者:
        executeUpdate 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getConnection

        public java.sql.Connection getConnection()
        指定者:
        getConnection 在接口中 java.sql.Statement
      • getFetchDirection

        public int getFetchDirection()
                              throws java.sql.SQLException
        指定者:
        getFetchDirection 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setFetchDirection

        public void setFetchDirection​(int direction)
                               throws java.sql.SQLException
        指定者:
        setFetchDirection 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getFetchSize

        public int getFetchSize()
                         throws java.sql.SQLException
        指定者:
        getFetchSize 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setFetchSize

        public void setFetchSize​(int fetchSize)
                          throws java.sql.SQLException
        指定者:
        setFetchSize 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getGeneratedKeys

        public java.sql.ResultSet getGeneratedKeys()
                                            throws java.sql.SQLException
        指定者:
        getGeneratedKeys 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getMaxFieldSize

        public int getMaxFieldSize()
                            throws java.sql.SQLException
        指定者:
        getMaxFieldSize 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setMaxFieldSize

        public void setMaxFieldSize​(int arg0)
                             throws java.sql.SQLException
        指定者:
        setMaxFieldSize 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getMaxRows

        public int getMaxRows()
                       throws java.sql.SQLException
        指定者:
        getMaxRows 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setMaxRows

        public void setMaxRows​(int num)
                        throws java.sql.SQLException
        指定者:
        setMaxRows 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getMoreResults

        public boolean getMoreResults()
                               throws java.sql.SQLException
        指定者:
        getMoreResults 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getMoreResults

        public boolean getMoreResults​(int arg0)
                               throws java.sql.SQLException
        指定者:
        getMoreResults 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getQueryTimeout

        public int getQueryTimeout()
        指定者:
        getQueryTimeout 在接口中 java.sql.Statement
      • setQueryTimeout

        public void setQueryTimeout​(int seconds)
                             throws java.sql.SQLException
        指定者:
        setQueryTimeout 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getResultSet

        public java.sql.ResultSet getResultSet()
                                        throws java.sql.SQLException
        指定者:
        getResultSet 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getResultSetConcurrency

        public int getResultSetConcurrency()
                                    throws java.sql.SQLException
        指定者:
        getResultSetConcurrency 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getResultSetHoldability

        public int getResultSetHoldability()
                                    throws java.sql.SQLException
        指定者:
        getResultSetHoldability 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getResultSetType

        public int getResultSetType()
                             throws java.sql.SQLException
        指定者:
        getResultSetType 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getUpdateCount

        public int getUpdateCount()
                           throws java.sql.SQLException
        指定者:
        getUpdateCount 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getWarnings

        public java.sql.SQLWarning getWarnings()
        指定者:
        getWarnings 在接口中 java.sql.Statement
      • isCloseOnCompletion

        public boolean isCloseOnCompletion()
                                    throws java.sql.SQLException
        指定者:
        isCloseOnCompletion 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • isClosed

        public boolean isClosed()
        指定者:
        isClosed 在接口中 java.sql.Statement
      • isPoolable

        public boolean isPoolable()
                           throws java.sql.SQLException
        指定者:
        isPoolable 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setPoolable

        public void setPoolable​(boolean arg0)
                         throws java.sql.SQLException
        指定者:
        setPoolable 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setCursorName

        public void setCursorName​(java.lang.String arg0)
                           throws java.sql.SQLException
        指定者:
        setCursorName 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • setEscapeProcessing

        public void setEscapeProcessing​(boolean enable)
                                 throws java.sql.SQLException
        指定者:
        setEscapeProcessing 在接口中 java.sql.Statement
        抛出:
        java.sql.SQLException
      • getSessionId

        public long getSessionId()