java.lang.Object
org.firebirdsql.gds.ng.ExecutionPlanProcessor
- All Implemented Interfaces:
InfoProcessor<String>
InfoProcessor to retrieve the (normal) execution plan of a statement.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firebirdsql.gds.ng.InfoProcessor
InfoProcessor.StatementInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the byte array with the describe detailed plan info items.byte[]
Get the byte array with the describe plan info items as supported by this processor, for use withFbStatement.getSqlInfo(byte[], int, InfoProcessor)
orFbStatement.getSqlInfo(byte[], int)
.process
(byte[] buffer) Process an infoResponse block into an object of type T.
-
Constructor Details
-
ExecutionPlanProcessor
-
-
Method Details
-
process
Description copied from interface:InfoProcessor
Process an infoResponse block into an object of type T.- Specified by:
process
in interfaceInfoProcessor<String>
- Parameters:
buffer
- 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:
InfoTruncatedException
- (optional) ifinfoResponse
is truncated and this processor could not recover by itselfSQLException
- for errors during processing the infoResponse.
-
getDescribePlanInfoItems
public byte[] getDescribePlanInfoItems()Get the byte array with the describe plan info items as supported by this processor, for use withFbStatement.getSqlInfo(byte[], int, InfoProcessor)
orFbStatement.getSqlInfo(byte[], int)
.- Returns:
- plan info items
-
getDescribeExplainedPlanInfoItems
public byte[] getDescribeExplainedPlanInfoItems()Get the byte array with the describe detailed plan info items.- Returns:
- detailed plan info items
-