public static class JpmmlFactory.ModelRunnerFromBlobStore extends Object implements ModelRunnerFactory
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)
Create a new
ModelRunnerFromBlobStore . |
Modifier and Type | Method and Description |
---|---|
ModelRunner |
newModelRunner() |
public ModelRunnerFromBlobStore(String blobKey, ModelOutputs modelOutputs)
Utils.readStormConfig()
.blobKey
- key of PMML model in Blobstorepublic ModelRunnerFromBlobStore(String blobKey, ModelOutputs modelOutputs, Map<String,Object> config)
ModelRunnerFromBlobStore
.blobKey
- key of PMML model in Blobstoreconfig
- Configuration to use to get Blobstore clientpublic ModelRunner newModelRunner()
newModelRunner
in interface ModelRunnerFactory
Copyright © 2023 The Apache Software Foundation. All rights reserved.