Ports and Port Types
Operators use both input ports (“in” ports) and output ports (“out” ports) as interfaces to communicate between operators in a graph.
Port Definition
|
Element |
Description |
|---|---|
|
Purpose |
In port or out port. |
|
Name |
Unique string that consists of alphanumeric characters only. |
|
Type |
String with a defined structure. The structure includes a mandatory base type and an optional semantic type. |
Semantic Type
Base Port Types
All port types fall into one of the built-in base port types. You can use the semantics of the type specification to enrich types with additional information, which the type owner can use. However, the application doesn't evaluate beyond the compatibility checks.
|
Type |
Description |
Is compatible with type "any" |
Array |
|---|---|---|---|
|
any |
generic type |
yes |
no |
|
string |
character sequence |
yes |
yes |
|
blob |
binary large object |
yes |
yes |
|
int64 |
8-byte signed integer |
yes |
yes |
|
float64 |
8-byte decimal number |
yes |
yes |
|
byte |
single character |
yes |
yes |
|
message |
structure with header and body |
no |
no |
|
stream |
unstructured data stream |
no |
no |