Module datarush.library
Package com.pervasive.datarush.ports
Class LogicalPortFactory<T extends LogicalPort>
java.lang.Object
com.pervasive.datarush.ports.LogicalPortFactory<T>
- Type Parameters:
T- the type of port
- Direct Known Subclasses:
AbstractModelPortFactory
A port factory creates a port. By convention, all port types declare a static
"FACTORY" variable that can create ports of the given type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.pervasive.datarush.graphs.internal.LogicalPortProviderPublic only as a matter of implementation; clients should not use this method directly.abstract TnewPort(LogicalOperator owner, String name, LogicalPort.Direction direction, boolean optional) Public only as a matter of implementation; clients should not use this method directly.
-
Constructor Details
-
LogicalPortFactory
public LogicalPortFactory()
-
-
Method Details
-
newPort
public abstract 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. Clients should create ports via one of the factory methods onAbstractLogicalOperator. For example usenewRecordInputto create a record input port.- Parameters:
owner- the owner of the portname- the name of the portdirection- the port directionoptional- whether the port is optional- Returns:
- a new port
-
getProvider
public abstract com.pervasive.datarush.graphs.internal.LogicalPortProvider getProvider()Public only as a matter of implementation; clients should not use this method directly.- Returns:
- a provider
-