Class ClientStatement

java.lang.Object
org.apache.derby.client.am.ClientStatement
All Implemented Interfaces:
AutoCloseable, Statement, Wrapper, StatementCallbackInterface, UnitOfWorkListener
Direct Known Subclasses:
ClientPreparedStatement

public class ClientStatement extends Object implements Statement, StatementCallbackInterface
  • Field Details

    • fetchedRowBase

      private static long fetchedRowBase
      For use in debugging setLargeMaxRows() method added by JDBC 4.2
    • materialStatement_

      private MaterialStatement materialStatement_
    • connection_

      ClientConnection connection_
    • section_

      private Section section_
    • agent_

      Agent agent_
    • owner

      private Statement owner
      The owner of this statement, if any.
    • resultSet_

      ClientResultSet resultSet_
    • updateCount_

      long updateCount_
    • executeQueryMethod__

      static final int executeQueryMethod__
      See Also:
    • executeUpdateMethod__

      static final int executeUpdateMethod__
      See Also:
    • executeMethod__

      static final int executeMethod__
      See Also:
    • sqlMode_

      protected int sqlMode_
    • isQuery__

      static final int isQuery__
      See Also:
    • isCall__

      static final int isCall__
      See Also:
    • isUpdate__

      static final int isUpdate__
      See Also:
    • sqlUpdateMode_

      int sqlUpdateMode_
    • isInsertSql__

      static final int isInsertSql__
      See Also:
    • isDeleteSql__

      static final int isDeleteSql__
      See Also:
    • isUpdateSql__

      static final int isUpdateSql__
      See Also:
    • resultSetMetaData_

      ColumnMetaData resultSetMetaData_
    • cachedCursor_

      public Cursor cachedCursor_
    • cachedSingletonRowData_

      public Cursor cachedSingletonRowData_
    • isPreparedStatement_

      boolean isPreparedStatement_
    • cursorName_

      String cursorName_
    • openOnClient_

      boolean openOnClient_
    • indexOfCurrentResultSet_

      private int indexOfCurrentResultSet_
    • resultSetList_

      ClientResultSet[] resultSetList_
    • TIMEOUT_STATEMENT

      protected static final String TIMEOUT_STATEMENT
      See Also:
    • timeoutArrayList

      protected ArrayList<String> timeoutArrayList
    • doWriteTimeout

      protected boolean doWriteTimeout
    • timeout_

      int timeout_
    • maxRows_

      long maxRows_
    • maxFieldSize_

      int maxFieldSize_
    • isAutoCommittableStatement_

      boolean isAutoCommittableStatement_
    • isCatalogQuery_

      boolean isCatalogQuery_
    • batch_

      final ArrayList<Object> batch_
    • resultSetType_

      public int resultSetType_
    • resultSetConcurrency_

      public int resultSetConcurrency_
    • resultSetHoldability_

      int resultSetHoldability_
    • fetchSize_

      int fetchSize_
    • fetchDirection_

      int fetchDirection_
    • singletonRowData_

      Cursor singletonRowData_
    • cursorAttributesToSendOnPrepare_

      public String cursorAttributesToSendOnPrepare_
    • preparedStatementForAutoGeneratedKeys_

      ClientPreparedStatement preparedStatementForAutoGeneratedKeys_
    • generatedKeysResultSet_

      ClientResultSet generatedKeysResultSet_
    • generatedKeysColumnNames_

      String[] generatedKeysColumnNames_
    • generatedKeysColumnIndexes_

      int[] generatedKeysColumnIndexes_
    • autoGeneratedKeys_

      int autoGeneratedKeys_
    • warnings_

      private SqlWarning warnings_
    • isPoolable

      protected boolean isPoolable
    • closeOnCompletion_

      private boolean closeOnCompletion_
    • closingResultSets_

      private boolean closingResultSets_
    • setSpecialRegisterSection_

      private Section setSpecialRegisterSection_
      This variable keeps track of a Section dediacted to writeSpecialRegister. It gets initialized the first time a Section is needed, and freed when the Statement is closed.
    • OUTSIDE

      private static final int OUTSIDE
      State constants used by the FSM inside getStatementToken.
      See Also:
    • INSIDE_SIMPLECOMMENT

      private static final int INSIDE_SIMPLECOMMENT
      See Also:
    • INSIDE_BRACKETED_COMMENT

      private static final int INSIDE_BRACKETED_COMMENT
      See Also:
  • Constructor Details

  • Method Details