com.spss.psapi.extensions.common

Interface AslContext

    • Method Detail

      • getAslCompiler

        AslCompiler getAslCompiler()
        Returns the ASL compiler.
        Returns:
        the ASL compiler
      • getAslInputFunctions

        java.util.List<com.spss.ae.aslhelpers.AslFunction> getAslInputFunctions()
        Returns an unmodifiable list of the ASL input functions. The ordering is consistent with the list of AslFunctions returned by getInputDataModels().
        Returns:
        the ASL input functions
        See Also:
        getInputDataModels()
      • getInputDataModels

        java.util.List<DataModel> getInputDataModels()
        Returns an unmodifiable list of the input data models. The ordering is consistent with the list of AslFunctions returned by getAslInputFunctions().
        Returns:
        the input data model
        See Also:
        getAslInputFunctions()
      • getInputContainerPath

        java.lang.String getInputContainerPath(java.lang.String containerFileID)
        Returns the temporary path for the input container file.
        Parameters:
        containerFileID - the container file ID specified in the "id" attribute of the ContainerFile
        Returns:
        the temporary path to the container file
      • getOutputContainerPath

        java.lang.String getOutputContainerPath(java.lang.String containerFileID)
        Returns the temporary path for the output container file.
        Parameters:
        containerFileID - the container file ID specified in the "id" attribute of the ContainerFile
        Returns:
        the temporary path to the container file
      • getContainerManager

        ContainerManager getContainerManager()
        Returns the AS container manager.
        Returns:
        the AS container manager
      • newTemporaryRelativePath

        java.lang.String newTemporaryRelativePath()
        Create a new temporary relative path within the execution project.
        Returns:
        temporary relative path which can be used to upload a container to
      • isEmbedded

        boolean isEmbedded()
        If the Asl execution environment is embedded AS.
        Returns:
        Since:
        PSAPI 18.0
      • createServerOutputFile

        java.lang.String createServerOutputFile(java.lang.String fileID)
                                                throws PredictiveServerException
        Create an output file in server side and return the file path in server. Currently, this method only works when the stream is running against embedded AS.
        Parameters:
        fileID -
        Returns:
        The file path in Server.
        Throws:
        ServerException
        PredictiveServerException
        Since:
        PSAPI 18.0
      • createServerInputFile

        java.lang.String createServerInputFile(java.lang.String fileID)
                                               throws PredictiveServerException
        Create an input file in server side and return the file path in server. Currently, this method only works when the stream is running against embedded AS.
        Parameters:
        fileID -
        Returns:
        The file path in Server.
        Throws:
        ServerException
        PredictiveServerException
        Since:
        PSAPI 18.0

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.