T
- the type of the model objectpublic static final class SimpleModelPort.Factory<T extends Serializable> extends AbstractModelPortFactory<T,SimpleModelPort<T>>
Constructor and Description |
---|
Factory(Class<T> modelClass)
Creates a factory for simple model ports
|
Modifier and Type | Method and Description |
---|---|
Class<T> |
getModelClass()
Returns the java class of the model
|
com.pervasive.datarush.graphs.internal.LogicalPortProvider |
getProvider()
Public only as a matter of implementation; clients should not use this method
directly.
|
ModelStorageHandler<T> |
getStorageHandler()
Returns the storage handler for this model port.
|
SimpleModelPort<T> |
newPort(LogicalOperator owner,
String name,
LogicalPort.Direction direction,
boolean optional)
Public only as a matter of implementation; clients should not use this method
directly.
|
public SimpleModelPort<T> newPort(LogicalOperator owner, String name, LogicalPort.Direction direction, boolean optional)
LogicalPortFactory
AbstractLogicalOperator
. For example
use newRecordInput
to create
a record input port.newPort
in class LogicalPortFactory<SimpleModelPort<T extends Serializable>>
owner
- the owner of the portname
- the name of the portdirection
- the port directionoptional
- whether the port is optionalpublic final ModelStorageHandler<T> getStorageHandler()
SerializableModelStorageHandler
.public Class<T> getModelClass()
public com.pervasive.datarush.graphs.internal.LogicalPortProvider getProvider()
LogicalPortFactory
getProvider
in class AbstractModelPortFactory<T extends Serializable,SimpleModelPort<T extends Serializable>>
Copyright © 2016 Actian Corporation. All rights reserved.