com.spss.psapi.extensions.common.spi2

Interface PhasedAslGenerator

  • All Superinterfaces:
    AslGenerator, ExecutionHandler


    public interface PhasedAslGenerator
    extends AslGenerator
    Defines the methods supported by an execution handler that generates ASL with multi-phase support. since PSAPI 17.0
    Author:
    jfyang
    • Method Detail

      • getPhasedCount

        int getPhasedCount()
        Returns the number of additional compile/execute phases needed by this node. The result must be >= 0.
      • phasedGenerateASL

        com.spss.ae.aslhelpers.AslFunction phasedGenerateASL(AslContext aslContext)
                                                             throws ExtensionException
        Performs a single compilation step. Called as many times as indicated by getPhaseCount. Returns the ASL for results produced by this node, or null if the node produces no results in this step.
        Parameters:
        aslContext -
        Returns:
        the ASL generated in this phase, or null if no ASL is generated
        Throws:
        CompileException - if compilation fails for any reason
        ExtensionException
      • endPhasedGenerateASL

        void endPhasedGenerateASL(AslContext aslContext)
        Terminates phased compilation. Releases resources held across phases.

        Note: this may be called at any time after getPhaseCount, before all the expected calls to phasedGenerateASL, if compilation terminates early due to error.

        Parameters:
        aslContext -

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.