public final class PMMLPort extends AbstractModelPort<PMMLModel>
Modifier and Type | Class and Description |
---|---|
static class |
PMMLPort.Metadata
The port metadata associated with PMMLPorts.
|
LogicalPort.Direction
Modifier and Type | Field and Description |
---|---|
static AbstractModelPortFactory<PMMLModel,PMMLPort> |
FACTORY
A factory for PMML ports.
|
Modifier and Type | Method and Description |
---|---|
AbstractModelPortFactory<PMMLModel,PMMLPort> |
getFactory()
Returns the factory that knows how to create ports of this type
|
PMMLPort.Metadata |
getMetadata(PMMLModel model)
Returns the metadata associate with the model.
|
Class<? extends PortMetadata> |
getMetadataType()
Returns the class of metadata that this port uses
|
PMMLModelSpec |
getPMMLModelSpec(MetadataContext ctx)
Getter to be used to set the PMMLModelSpec for a PMMLPort
|
void |
setPMMLModelSpec(MetadataCalculationContext ctx,
PMMLModelSpec spec)
Setter to be used to set the PMMLModelSpec for PMML ports.
|
getModel, getModelClass, getStorageHandler, setMergeHandler, setModel
getDirection, getName, getOwner, isOptional, toString
public static final AbstractModelPortFactory<PMMLModel,PMMLPort> FACTORY
public AbstractModelPortFactory<PMMLModel,PMMLPort> getFactory()
LogicalPort
getFactory
in class AbstractModelPort<PMMLModel>
public void setPMMLModelSpec(MetadataCalculationContext ctx, PMMLModelSpec spec)
ctx
- the metadata contextspec
- the PMMLModelSpec; may be null in which case we declare metadata to be dynamicpublic PMMLModelSpec getPMMLModelSpec(MetadataContext ctx)
ctx
- the metadata contextpublic PMMLPort.Metadata getMetadata(PMMLModel model)
AbstractModelPort
getMetadata
in class AbstractModelPort<PMMLModel>
model
- the model objectpublic Class<? extends PortMetadata> getMetadataType()
LogicalPort
getMetadataType
in class LogicalPort
Copyright © 2016 Actian Corporation. All rights reserved.