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
public abstract class LogicalPortFactory<T extends LogicalPort> extends Object
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 Constructor Description LogicalPortFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract com.pervasive.datarush.graphs.internal.LogicalPortProvider
getProvider()
Public only as a matter of implementation; clients should not use this method directly.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.
-
-
-
Method Detail
-
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 usenewRecordInput
to 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
-
-