public static class JpmmlFactory.ModelRunnerFromBlobStore extends Object implements ModelRunnerFactory
Creates a JPmmlModelRunner
writing to the default stream. PMML Model is downloaded from Blobstore
Constructor and Description |
---|
ModelRunnerFromBlobStore(String blobKey,
ModelOutputs modelOutputs)
Uses Storm config as returned by
Utils.readStormConfig() |
ModelRunnerFromBlobStore(String blobKey,
ModelOutputs modelOutputs,
Map<String,Object> config) |
Modifier and Type | Method and Description |
---|---|
ModelRunner |
newModelRunner() |
public ModelRunnerFromBlobStore(String blobKey, ModelOutputs modelOutputs)
Uses Storm config as returned by Utils.readStormConfig()
blobKey
- key of PMML model in Blobstorepublic ModelRunnerFromBlobStore(String blobKey, ModelOutputs modelOutputs, Map<String,Object> config)
blobKey
- key of PMML model in Blobstoreconfig
- Configuration to use to get Blobstore clientpublic ModelRunner newModelRunner()
newModelRunner
in interface ModelRunnerFactory
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.