Class V13Statement
- java.lang.Object
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable,- FbStatement,- ExceptionListenable,- FbWireStatement
 - Direct Known Subclasses:
- V16Statement
 
 public class V13Statement extends V12Statement - Author:
- Mark Rotteveel
 
- 
- 
Field Summary- 
Fields inherited from class org.firebirdsql.gds.ng.AbstractFbStatementexceptionListenerDispatcher, statementListenerDispatcher
 
- 
 - 
Constructor SummaryConstructors Constructor Description V13Statement(FbWireDatabase database)Creates a new instance of V13Statement for the specified database.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultSqlInfoSize()intgetMaxSqlInfoSize()protected RowValuereadSqlData()Reads a single row from the database.protected voidwriteSqlData(XdrOutputStream xdrOut, BlrCalculator blrCalculator, RowDescriptor rowDescriptor, RowValue fieldValues, boolean useActualLength)protected voidwriteSqlData(RowDescriptor rowDescriptor, RowValue fieldValues, boolean useActualLength)Write a set of SQL data from aRowValue.- 
Methods inherited from class org.firebirdsql.gds.ng.wire.version11.V11Statementfree, prepare
 - 
Methods inherited from class org.firebirdsql.gds.ng.wire.version10.V10StatementdoFreePacket, execute, fetchRows, processAllocateResponse, processExecuteResponse, processExecuteSingletonResponse, processFetchResponse, processFreeResponse, processPrepareResponse, readColumnData, sendAllocate, sendExecute, sendFetch, sendFree, sendPrepare, setCursorName, writeColumnData
 - 
Methods inherited from class org.firebirdsql.gds.ng.wire.AbstractFbWireStatementcalculateBlr, calculateBlr, close, emptyRowDescriptor, getBlrCalculator, getDatabase, getHandle, getInfo, getSqlInfo, getTransaction, getXdrIn, getXdrOut, handleInlineBlobResponse, isValidTransactionClass, setHandle, withLock, wrapDeferredResponse
 - 
Methods inherited from class org.firebirdsql.gds.ng.AbstractFbStatementaddExceptionListener, addStatementListener, checkStatementValid, checkStatementValid, closeCursor, closeCursor, createExecutionPlanProcessor, createSqlCountProcessor, ensureClosedCursor, fetchScroll, fetchScrollImpl, finalize, forceState, getAllowedTimeout, getCursorInfo, getCursorInfo, getCursorInfoImpl, getExecutionPlan, getExplainedExecutionPlan, getParameterDescriptionInfoRequestItems, getParameterDescriptor, getRowDescriptor, getSqlCounts, getSqlInfo, getState, getStatementInfoRequestItems, getStatementWarningCallback, getTimeout, getTransactionListener, getType, hasFetched, hasFields, hasSingletonResult, isAfterLast, isBeforeFirst, isPrepareAllowed, parseStatementInfo, queueRowData, removeExceptionListener, removeStatementListener, reset, reset, resetAll, setAfterLast, setBeforeFirst, setParameterDescriptor, setRowDescriptor, setTimeout, setTransaction, setType, signalExecute, signalFetch, switchState, unprepare, validateParameters
 - 
Methods inherited from class java.lang.Objectclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.firebirdsql.gds.ng.listeners.ExceptionListenableaddExceptionListener, removeExceptionListener
 - 
Methods inherited from interface org.firebirdsql.gds.ng.FbStatementaddStatementListener, batchCancel, batchExecute, clearCursorFlag, close, closeCursor, closeCursor, createBatchParameterBuffer, deferredBatchCreate, deferredBatchRelease, deferredBatchSend, emptyRowDescriptor, ensureClosedCursor, fetchScroll, getCursorInfo, getCursorInfo, getDatabase, getExecutionPlan, getExplainedExecutionPlan, getHandle, getParameterDescriptor, getRowDescriptor, getSqlCounts, getSqlInfo, getSqlInfo, getState, getTimeout, getTransaction, getType, hasFetched, isCursorFlagSet, removeStatementListener, setCursorFlag, setTimeout, setTransaction, supportBatchUpdates, supportsCursorInfo, supportsFetchScroll, unprepare, validateParameters, withLock
 
- 
 
- 
- 
- 
Constructor Detail- 
V13Statementpublic V13Statement(FbWireDatabase database) Creates a new instance of V13Statement for the specified database.- Parameters:
- database- FbWireDatabase implementation
 
 
- 
 - 
Method Detail- 
readSqlDataprotected RowValue readSqlData() throws java.sql.SQLException, java.io.IOException Description copied from class:V10StatementReads a single row from the database.- Overrides:
- readSqlDatain class- V10Statement
- Returns:
- Row as a RowValue
- Throws:
- java.sql.SQLException
- java.io.IOException
 
 - 
writeSqlDataprotected void writeSqlData(RowDescriptor rowDescriptor, RowValue fieldValues, boolean useActualLength) throws java.io.IOException, java.sql.SQLException Description copied from class:V10StatementWrite a set of SQL data from aRowValue.- Overrides:
- writeSqlDatain class- V10Statement
- Parameters:
- rowDescriptor- The row descriptor
- fieldValues- The List containing the SQL data to be written
- useActualLength- Should actual field length be used (applies to CHAR)
- Throws:
- java.io.IOException- if an error occurs while writing to the underlying output stream
- java.sql.SQLException
 
 - 
writeSqlDataprotected void writeSqlData(XdrOutputStream xdrOut, BlrCalculator blrCalculator, RowDescriptor rowDescriptor, RowValue fieldValues, boolean useActualLength) throws java.io.IOException, java.sql.SQLException - Throws:
- java.io.IOException
- java.sql.SQLException
 
 - 
getDefaultSqlInfoSizepublic int getDefaultSqlInfoSize() - Specified by:
- getDefaultSqlInfoSizein interface- FbStatement
- Overrides:
- getDefaultSqlInfoSizein class- V10Statement
- Returns:
- The default size to use for the sql info buffer
 
 - 
getMaxSqlInfoSizepublic int getMaxSqlInfoSize() - Specified by:
- getMaxSqlInfoSizein interface- FbStatement
- Overrides:
- getMaxSqlInfoSizein class- V12Statement
- Returns:
- The maximum size to use for the sql info buffer
 
 
- 
 
-