Package | Description |
---|---|
com.spss.psapi.extensions.common |
This provides definitions that are used to manage streams, documents and models in scripting, and for extensions using the CLEF Java API.
|
com.spss.psapi.session |
This provides support for the construction and use of data mining sessions.
|
com.spss.psapi.task |
This provides objects that create and represent data mining tasks.
|
com.spss.psapi.transform |
This provides objects that perform data processing and model building.
|
Modifier and Type | Method and Description |
---|---|
ProcessorStream |
ProcessorStreamManager.getCurrentProcessorStream()
Returns the current stream or
null . |
ProcessorStream |
ProcessorStreamManager.getProcessorStreamAt(int index)
Returns the stream at the specified index.
|
ProcessorStream |
ProcessorStreamManager.getProcessorStreamForID(java.lang.String id)
Returns the stream with the specified ID or
null if no such stream can be found. |
Modifier and Type | Method and Description |
---|---|
ProcessorStream |
Session.createProcessorStream(java.lang.String name)
Deprecated.
|
ProcessorStream |
Session.createProcessorStream(java.lang.String name,
boolean autoConnect)
Deprecated.
|
ProcessorStream |
Repository.retrieveStream(java.lang.String path,
java.lang.String version,
java.lang.String label,
boolean autoManage)
Retrieves a stream from the specified path.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.connect(ProcessorStream stream)
Connects the stream to the session's server.
|
ExecutionHandle |
Session.run(ProcessorStream stream,
java.util.Collection results)
Executes the supplied stream synchronously and waits for it to complete.
|
ExecutionHandle |
Session.spawn(ProcessorStream stream,
java.util.Collection results)
Executes the supplied stream asynchronously.
|
java.lang.String |
Repository.storeStream(ProcessorStream stream,
java.lang.String path,
java.lang.String label)
Stores a stream to the specified location.
|
Modifier and Type | Method and Description |
---|---|
ProcessorStream |
TaskRunner.createStream(java.lang.String name,
boolean autoConnect,
boolean autoManage)
Creates and returns a new
ProcessorStream that targets the default runtime environment. |
ProcessorStream |
TaskRunner.createStream(java.lang.String name,
java.lang.String runtime,
boolean autoConnect,
boolean autoManage)
Creates and returns a new
ProcessorStream that targets a specified runtime environment. |
ProcessorStream |
TaskRunner.openStreamFromFile(java.lang.String filename,
boolean autoManage)
Reads and returns a stream from the specified file.
|
Modifier and Type | Method and Description |
---|---|
Task |
TaskFactory.createExportStreamTask(ProcessorStream stream,
java.io.OutputStream outputStream,
FileFormat fileFormat)
Creates a task that export a stream description to an output stream using specified file format.
|
Task |
TaskFactory.createExportStreamTask(ProcessorStream stream,
java.io.OutputStream outputStream,
FileFormat fileFormat,
java.util.Map<?,?> options)
Creates a task that export a stream description to an output stream using specified file format.
|
Task |
TaskFactory.createOpenProcessorTask(java.io.InputStream inputStream,
ProcessorStream stream)
Creates a task that reads a
Processor object from an input stream
and inserts it into the supplied ProcessorStream . |
Task |
TaskFactory.createSaveStreamTask(ProcessorStream stream,
java.io.OutputStream outputStream)
Creates a task that saves a
ProcessorStream object to an output stream. |
void |
TaskRunner.exportStreamToFile(ProcessorStream stream,
java.lang.String filename,
FileFormat fileFormat)
Exports the stream description to a file using the specified file format.
|
void |
TaskRunner.exportStreamToFile(ProcessorStream stream,
java.lang.String filename,
FileFormat fileFormat,
java.util.Map<?,?> options)
Exports the stream description to a file using the specified file format.
|
void |
TaskRunner.saveStreamToFile(ProcessorStream stream,
java.lang.String filename)
Saves the stream to the specified file location.
|
Modifier and Type | Method and Description |
---|---|
ProcessorStream |
Processor.getProcessorStream()
Returns the
ProcessorStream that owns this node. |
ProcessorStream |
InvalidEditException.getProcessorStream()
Deprecated.
since PSAPI 1.2
|
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.