ResponseObservers.See: Description
| Interface | Description |
|---|---|
| Reframer<OuterT,InnerT> |
Interface for the business logic of a stream transformation.
|
| Class | Description |
|---|---|
| ReframingResponseObserver<InnerT,OuterT> |
Mediates message flow between two
ResponseObservers. |
| Exception | Description |
|---|---|
| IncompleteStreamException |
Thrown by
ReframingResponseObserver to signal that a stream closed prematurely, leaving
behind a partial filled buffer. |
ResponseObservers.
It is intended for situations when a stream needs to be transformed in such a way where the incoming responses do not map 1:1 to the output responses. This is used to transform ReadRowsResponse chunks into logical rows, but is generic enough to be used for other purposes.
Copyright © 2019 Google LLC. All rights reserved.