GetStreamId
Function Usage
Returns the StreamId bound to the current operator.
Prototype
1 | int64_t GetStreamId() const |
Parameters
None
Returns
The stream ID bound to the current operator is returned.
Constraints
This API can be used only when each operator is bound to only one stream.
Examples
1 2 3 4 | int64_t GetStreamId(ExeResGenerationContext* context) { auto streamId= context->GetStreamId(); ... } |
Parent topic: ExeResGenerationContext