public abstract class LogicalPort extends Object
AbstractLogicalOperator
. For example
use newRecordInput
to create
a record input port.LogicalOperator
Modifier and Type | Class and Description |
---|---|
static class |
LogicalPort.Direction
Indicates whether the port is input or output
|
Modifier | Constructor and Description |
---|---|
protected |
LogicalPort(LogicalOperator owner,
String name,
LogicalPort.Direction direction,
boolean optional)
Create a new LogicalPort
|
Modifier and Type | Method and Description |
---|---|
LogicalPort.Direction |
getDirection()
Returns whether this port is for input or output
|
abstract LogicalPortFactory<?> |
getFactory()
Returns the factory that knows how to create ports of this type
|
abstract Class<? extends PortMetadata> |
getMetadataType()
Returns the class of metadata that this port uses
|
String |
getName()
Returns the name of this port
|
LogicalOperator |
getOwner()
Returns a reference to the operator that declared this port
|
boolean |
isOptional()
Returns whether this port is optional.
|
String |
toString()
Returns a string for ease debugging of the form
<ownerClass>.<name> |
protected LogicalPort(LogicalOperator owner, String name, LogicalPort.Direction direction, boolean optional)
owner
- the owner of the portname
- the name of the portdirection
- the port directionoptional
- whether the port is optionalpublic final LogicalOperator getOwner()
public final String getName()
public final LogicalPort.Direction getDirection()
public final boolean isOptional()
public abstract Class<? extends PortMetadata> getMetadataType()
public abstract LogicalPortFactory<?> getFactory()
Copyright © 2024 Actian Corporation. All rights reserved.