java.lang.Object
com.pervasive.datarush.operators.AbstractLogicalOperator
com.pervasive.datarush.operators.CompositeOperator
com.pervasive.datarush.analytics.pmml.ReadPMML
- All Implemented Interfaces:
LogicalOperator
Reads a PMML model object from a file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCompose the body of this operator.Returns the file to read fromReturns the output port that will contain the PMML model that is read from the file.voidsetFilePath(String filePath) Sets the file to read fromMethods inherited from class com.pervasive.datarush.operators.AbstractLogicalOperator
disableParallelism, getInputPorts, getOutputPorts, newInput, newInput, newOutput, newRecordInput, newRecordInput, newRecordOutput, notifyError
-
Constructor Details
-
ReadPMML
public ReadPMML()Default constructor; prior to compiling graph, the following property must be set: -
ReadPMML
Reads a PMML model from the given file- Parameters:
filePath- the path to the file
-
-
Method Details
-
getFilePath
Returns the file to read from- Returns:
- the file to read from
-
setFilePath
Sets the file to read from- Parameters:
filePath- the file to read from
-
getOutput
Returns the output port that will contain the PMML model that is read from the file.- Returns:
- the output port that will contain the PMML model
-
compose
Description copied from class:CompositeOperatorCompose the body of this operator. Implementations should do the following:- Perform any validation of configuration, input types, etc
- Instantiate and configure sub-operators, adding them to the provided context via
the method
OperatorComposable.add(O) - Create necessary connections via the method
OperatorComposable.connect(P, P). This includes connections from the composite's input ports to sub-operators, connections between sub-operators, and connections from sub-operators output ports to the composite's output ports
- Specified by:
composein classCompositeOperator- Parameters:
ctx- the context
-