Package | Description |
---|---|
com.spss.psapi.interaction |
This provides classes used for interactive modeling.
|
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 |
---|---|
ExecutionHandle |
DecisionListModelInteractor.runTask(Task task)
Executes the supplied task synchronously and waits for it to complete.
|
ExecutionHandle |
DecisionListModelInteractor.spawnTask(Task task)
Executes the supplied task asynchronously.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.connect(ProcessorStream stream)
Connects the stream to the session's server.
|
ExecutionHandle |
Session.publish(DataWriter node)
Executes the specified
DataWriter in publish mode to obtain a
PublishedImage . |
ExecutionHandle |
Session.publish(TerminalProcessor node,
boolean inline)
Executes the specified node in publish mode to obtain a
PublishedImage ready for inline scoring. |
ExecutionHandle |
Session.run(Processor[] nodes,
java.util.Collection results)
Executes the supplied array of nodes synchronously and waits for them to complete.
|
ExecutionHandle |
Session.run(ProcessorStream stream,
java.util.Collection results)
Executes the supplied stream synchronously and waits for it to complete.
|
ExecutionHandle |
Session.runTask(Task task)
Executes the supplied task synchronously and waits for it to complete.
|
ExecutionHandle |
Session.spawn(Processor[] nodes,
java.util.Collection builtObjects)
Executes the supplied array of nodes asynchronously.
|
ExecutionHandle |
Session.spawn(ProcessorStream stream,
java.util.Collection results)
Executes the supplied stream asynchronously.
|
ExecutionHandle |
Session.spawnPublish(DataWriter node)
Executes the specified
DataWriter asynchronously in publish mode to obtain a
PublishedImage . |
ExecutionHandle |
Session.spawnPublish(TerminalProcessor node,
boolean inline)
Executes the specified node asynchronously in publish mode to obtain a
PublishedImage ready for inline scoring. |
ExecutionHandle |
Session.spawnTask(Task task)
Executes the supplied task asynchronously.
|
Modifier and Type | Method and Description |
---|---|
Task |
TaskFactory.createExportDocumentTask(DocumentOutput document,
java.io.OutputStream outputStream,
FileFormat fileFormat)
Creates a task that exports a
DocumentOutput object
to an output stream using the specified FileFormat name. |
Task |
TaskFactory.createExportModelTask(ModelOutput model,
java.io.OutputStream outputStream,
FileFormat fileFormat)
Creates a task that exports a
ModelOutput object
to an output stream using the specified FileFormat name. |
Task |
TaskFactory.createExportModelTask(Processor modelApplier,
java.io.OutputStream outputStream,
FileFormat fileFormat)
Creates a task that exports a
Processor node
to an output stream using the specified FileFormat name. |
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.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.createPublishModelToScoringAdapterTask(Processor node,
ServerDatabaseConnection dbConnection,
java.lang.String publishId)
Creates a task that publishes the model from a model apply
Processor to
the specified database and optional ID. |
Task |
TaskFactory.createSaveDocumentTask(DocumentOutput document,
java.io.OutputStream outputStream)
Creates a task that saves a
DocumentOutput object to an output stream. |
Task |
TaskFactory.createSaveModelTask(ModelOutput model,
java.io.OutputStream outputStream)
Creates a task that saves a
ModelOutput object to an output stream. |
Task |
TaskFactory.createSaveProcessorTask(Processor node,
java.io.OutputStream outputStream)
Creates a task that saves a
Processor object to an output stream. |
Task |
TaskFactory.createSaveStreamTask(ProcessorStream stream,
java.io.OutputStream outputStream)
Creates a task that saves a
ProcessorStream object to an output stream. |
Task |
TaskFactory.createUpdatePMMLModelTask(ModelOutput modelOutput,
java.io.InputStream inputStream)
Creates a task that updates the
ModelOutput object with PMML read from an input stream. |
Task |
TaskFactory.createValidateStreamTask(Processor node)
Creates a task that validate a stream and get required fields, the result of the task is
StreamValidationResult , which could be got from task.getResult(). |
void |
TaskRunner.exportDocumentToFile(DocumentOutput documentOutput,
java.lang.String filename,
FileFormat fileFormat)
Exports the stream description to a file using the specified file format.
|
void |
TaskRunner.exportModelSummaryToFile(ModelOutput modelOutput,
java.lang.String filename,
FileFormat fileFormat)
Exports the model summary to a file using the specified file format.
|
void |
TaskRunner.exportModelSummaryToFile(Processor node,
java.lang.String filename,
FileFormat fileFormat)
Exports the model summary in the supplied node to a file using the specified file format.
|
void |
TaskRunner.exportModelToFile(ModelOutput modelOutput,
java.lang.String filename,
FileFormat fileFormat)
Exports the model to a file using the specified file format.
|
void |
TaskRunner.exportModelToFile(Processor node,
java.lang.String filename,
FileFormat fileFormat)
Exports the model in the supplied node to a file using the specified file format.
|
void |
TaskRunner.exportOutputToFile(PropertiedObject object,
java.lang.String filename,
FileFormat fileFormat,
java.util.Map<?,?> options)
Exports the output content from the supplied object to the specified file and format.
|
void |
TaskRunner.exportStreamToFile(ProcessorStream stream,
java.lang.String filename,
FileFormat fileFormat)
Exports the stream description to a file using the specified file format.
|
Processor |
TaskRunner.insertNodeFromFile(java.lang.String filename,
ProcessorDiagram diagram)
Reads and returns a node from the specified file, inserting it into
the supplied diagram.
|
void |
TaskRunner.saveDocumentToFile(DocumentOutput documentOutput,
java.lang.String filename)
Saves the document to the specified file location.
|
void |
TaskRunner.saveModelToFile(ModelOutput modelOutput,
java.lang.String filename)
Saves the model to the specified file location.
|
void |
TaskRunner.saveNodeToFile(Processor node,
java.lang.String filename)
Saves the node to the specified file location.
|
void |
TaskRunner.saveStreamToFile(ProcessorStream stream,
java.lang.String filename)
Saves the stream to the specified file location.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessorDiagram.delete(Processor node)
Deletes the specified node from this diagram.
|
void |
ProcessorDiagram.deleteAll(java.util.Collection nodes)
Deletes all the specified nodes from this diagram.
|
void |
ProcessorDiagram.disconnect(Processor node)
Removes any links between the supplied node and any other nodes in this diagram.
|
boolean |
ProcessorDiagram.isEnabled(Processor node)
Returns
true if the supplied node is enabled. |
boolean |
ProcessorDiagram.isValidLink(Processor source,
Processor target)
Returns
true if it would be valid to create a link between the specified source and target nodes. |
void |
ProcessorDiagram.link(Processor source,
java.util.List targets)
Creates new links between the source and each target node in the supplied
list.
|
void |
ProcessorDiagram.link(Processor source,
Processor target)
Creates a new link between the source and the target.
|
void |
ProcessorDiagram.linkBetween(Processor inserted,
Processor source,
Processor target)
Connects a
Processor between two other instances and sets the position
of the inserted node to be between those. |
void |
CompositeProcessorDiagram.linkFromInputConnector(Processor node)
Creates a link from the input connector to the supplied node.
|
void |
ProcessorDiagram.linkPath(java.util.List path)
Creates a new path between
Processor instances. |
void |
CompositeProcessorDiagram.linkToOutputConnector(Processor node)
Creates a link from the supplied node to the output connector.
|
void |
ProcessorDiagram.linkUpdater(Processor updater,
Processor updatable)
Creates a new update link between the updater and the updatable.
|
Processor |
ProcessorDiagram.predecessorAt(Processor node,
int index)
Returns the specified immediate predecessor of the supplied node or
null
if the index is out of bounds |
int |
ProcessorDiagram.predecessorCount(Processor node)
Returns the number of immediate predecessors of the supplied node.
|
java.util.List |
ProcessorDiagram.predecessors(Processor node)
Returns the immediate predecessors of the supplied node.
|
void |
ProcessorDiagram.replace(Processor originalNode,
Processor replacementNode,
boolean discardOriginal)
Replaces the specified node from this diagram.
|
ExecutionHandle |
Processor.run(java.util.Collection results)
Executes this node synchronously and waits for execution to complete.
|
ExecutionHandle |
ProcessorStream.runAll(java.util.Collection results)
Executes the stream synchronously and waits for it to complete.
|
ExecutionHandle |
CompositeProcessorDiagram.runAll(java.util.Collection results)
Executes the executable nodes within this sub-stream synchronously and waits for it to complete.
|
ExecutionHandle |
ProcessorStream.runScript(java.util.Collection results)
Executes the stream script synchronously and waits for it to complete.
|
ExecutionHandle |
ProcessorStream.runSelected(Processor[] nodes,
java.util.Collection results)
Executes the supplied array of nodes synchronously and waits for them to complete.
|
ExecutionHandle |
CompositeProcessorDiagram.runSelected(Processor[] nodes,
java.util.Collection results)
Executes the supplied array of nodes synchronously and waits for them to complete.
|
void |
ProcessorDiagram.setEnabled(Processor node,
boolean enabled)
Sets the enabled state of the supplied node.
|
Processor |
ProcessorDiagram.successorAt(Processor node,
int index)
Returns the specified immediate successor of the supplied node or
null
if the index is out of bounds |
int |
ProcessorDiagram.successorCount(Processor node)
Returns the number of immediate successors of the supplied node.
|
java.util.List |
ProcessorDiagram.successors(Processor node)
Returns the immediate successors of the supplied node.
|
void |
ProcessorDiagram.unlink(Processor source,
java.util.List targets)
Removes any direct links between the source and each object in the targets list.
|
void |
ProcessorDiagram.unlink(Processor source,
Processor target)
Removes any direct link between the source and the target.
|
void |
CompositeProcessorDiagram.unlinkFromInputConnector(Processor node)
Removes any direct link from the input connector to the supplied node.
|
void |
ProcessorDiagram.unlinkPath(java.util.List path)
Removes any path that exists between
Processor instances. |
void |
CompositeProcessorDiagram.unlinkToOutputConnector(Processor node)
Removes any direct link from the supplied node to the output connector.
|
void |
ProcessorDiagram.unlinkUpdater(Processor updater,
Processor updatable)
Removes any update link between the updater and the updatable.
|
Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.