Package org.firebirdsql.gds.ng
Class StatementInfoProcessor
- java.lang.Object
-
- org.firebirdsql.gds.ng.StatementInfoProcessor
-
- All Implemented Interfaces:
InfoProcessor<InfoProcessor.StatementInfo>
public final class StatementInfoProcessor extends java.lang.Object implements InfoProcessor<InfoProcessor.StatementInfo>
InfoProcessor to retrieve the statement information associated withAbstractFbStatement.getStatementInfoRequestItems()andAbstractFbStatement.getParameterDescriptionInfoRequestItems().- Since:
- 3.0
- Author:
- Mark Rotteveel
-
-
Constructor Summary
Constructors Constructor Description StatementInfoProcessor(AbstractFbStatement statement, FbDatabase database)Creates an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfoProcessor.StatementInfoprocess(byte[] infoResponse)Process an infoResponse block into an object of type T.
-
-
-
Constructor Detail
-
StatementInfoProcessor
public StatementInfoProcessor(AbstractFbStatement statement, FbDatabase database)
Creates an instance of this class.- Parameters:
statement- Statement objectdatabase- Database object
-
-
Method Detail
-
process
public InfoProcessor.StatementInfo process(byte[] infoResponse) throws java.sql.SQLException
Description copied from interface:InfoProcessorProcess an infoResponse block into an object of type T.- Specified by:
processin interfaceInfoProcessor<InfoProcessor.StatementInfo>- Parameters:
infoResponse- byte array containing the server response to an info-request.- Returns:
- Processed response of type T (usually - but not required - a newly created object).
- Throws:
java.sql.SQLException- For errors during the infoResponse.
-
-