public class JpmmlModelOutputs extends Object implements ModelOutputs
Constructor and Description |
---|
JpmmlModelOutputs(Map<String,? extends Fields> declaredFields) |
Modifier and Type | Method and Description |
---|---|
Map<String,? extends Fields> |
streamFields()
Stream fields.
|
static ModelOutputs |
toDefaultStream(File pmmlModel) |
static ModelOutputs |
toDefaultStream(InputStream pmmlModel) |
static ModelOutputs |
toDefaultStream(org.dmg.pmml.PMML pmmlModel)
Factory method that creates an instance of
ModelOutputs that declares
the predicted and output fields specified in the PMML model
specified as argument into the default stream. |
static ModelOutputs |
toDefaultStream(String blobKey) |
static ModelOutputs |
toDefaultStream(String blobKey,
Map<String,Object> config) |
static ModelOutputs |
toStreams(File pmmlModel,
List<String> streams) |
static ModelOutputs |
toStreams(InputStream pmmlModel,
List<String> streams) |
static ModelOutputs |
toStreams(org.dmg.pmml.PMML pmmlModel,
List<String> streams)
Factory method that creates an instance of
ModelOutputs that declares
the predicted and output fields specified in the PMML model
specified as argument into the list of streams specified. |
static ModelOutputs |
toStreams(String blobKey,
List<String> streams) |
static ModelOutputs |
toStreams(String blobKey,
Map<String,Object> config,
List<String> streams) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
streams
public Map<String,? extends Fields> streamFields()
ModelOutputs
streamFields
in interface ModelOutputs
PMMLPredictorBolt
public static ModelOutputs toDefaultStream(org.dmg.pmml.PMML pmmlModel)
ModelOutputs
that declares
the predicted
and output
fields specified in the PMML
model
specified as argument into the default
stream.public static ModelOutputs toDefaultStream(File pmmlModel)
public static ModelOutputs toDefaultStream(InputStream pmmlModel)
public static ModelOutputs toDefaultStream(String blobKey)
public static ModelOutputs toDefaultStream(String blobKey, Map<String,Object> config)
public static ModelOutputs toStreams(org.dmg.pmml.PMML pmmlModel, List<String> streams)
ModelOutputs
that declares
the predicted
and output
fields specified in the PMML
model
specified as argument into the list of streams specified.public static ModelOutputs toStreams(File pmmlModel, List<String> streams)
public static ModelOutputs toStreams(InputStream pmmlModel, List<String> streams)
public static ModelOutputs toStreams(String blobKey, List<String> streams)
Copyright © 2023 The Apache Software Foundation. All rights reserved.