@Internal
public interface AsyncResult
StreamElementQueue. The asynchronous result can
either be a Watermark or a collection of new output elements produced by the
AsyncFunction.| Modifier and Type | Method and Description |
|---|---|
<T> AsyncCollectionResult<T> |
asResultCollection()
Return this async result as a async result collection.
|
AsyncWatermarkResult |
asWatermark()
Return this async result as a async watermark result.
|
boolean |
isResultCollection()
True fi the async result is a collection of output elements; otherwise false.
|
boolean |
isWatermark()
True if the async result is a
Watermark; otherwise false. |
boolean isWatermark()
Watermark; otherwise false.Watermark; otherwise false.boolean isResultCollection()
AsyncWatermarkResult asWatermark()
AsyncWatermarkResult.<T> AsyncCollectionResult<T> asResultCollection()
T - Type of the result collection's elementsAsyncCollectionResult.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.