public abstract class AbstractModelPortMetadata extends Object implements PortMetadata
SimpleModelPort
or {code PMMLPort}.AbstractModelPort
Modifier | Constructor and Description |
---|---|
protected |
AbstractModelPortMetadata(ModelStorageHandler<?> storageHandler,
ModelMergeHandler<?> mergeHandler)
Creates a model port metadata
|
Modifier and Type | Method and Description |
---|---|
ModelMergeHandler<?> |
getMergeHandler()
Returns the merge handler used to merge model partitions.
|
Class<?> |
getModelClass()
Returns the model's java type.
|
ModelStorageHandler<?> |
getStorageHandler()
Returns the storage handler for storing models of this type.
|
protected abstract AbstractModelPortMetadata |
withMergeHandler(ModelMergeHandler<?> mergeHandler)
Subclasses override to return a metadata, equivalent to this, with the specified merge handler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPortFactory
protected AbstractModelPortMetadata(ModelStorageHandler<?> storageHandler, ModelMergeHandler<?> mergeHandler)
storageHandler
- the storage handle for this model class. Must be non-nullmergeHandler
- the merge handler. this is optional and should only be set on
inbound (required) metadata.public final Class<?> getModelClass()
public final ModelStorageHandler<?> getStorageHandler()
public final ModelMergeHandler<?> getMergeHandler()
protected abstract AbstractModelPortMetadata withMergeHandler(ModelMergeHandler<?> mergeHandler)
mergeHandler
- the merge handleCopyright © 2020 Actian Corporation. All rights reserved.