Class ExecutionPlanProcessor

  • All Implemented Interfaces:
    InfoProcessor<java.lang.String>

    public final class ExecutionPlanProcessor
    extends java.lang.Object
    implements InfoProcessor<java.lang.String>
    InfoProcessor to retrieve the (normal) execution plan of a statement.
    Since:
    3.0
    Author:
    Mark Rotteveel
    • Constructor Detail

      • ExecutionPlanProcessor

        public ExecutionPlanProcessor​(FbStatement statement)
    • Method Detail

      • process

        public java.lang.String process​(byte[] buffer)
                                 throws java.sql.SQLException
        Description copied from interface: InfoProcessor
        Process an infoResponse block into an object of type T.
        Specified by:
        process in interface InfoProcessor<java.lang.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) if infoResponse is truncated and this processor could not recover by itself
        java.sql.SQLException - for errors during processing the infoResponse.
      • getDescribeExplainedPlanInfoItems

        public byte[] getDescribeExplainedPlanInfoItems()
        Get the byte array with the describe detailed plan info items.
        Returns:
        detailed plan info items