Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Like Read, except returns the result set as a stream. Unlike Read, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.
See: Cloud Spanner API Reference for spanner.projects.instances.databases.sessions.streamingRead
.
Synopsis
- type ProjectsInstancesDatabasesSessionsStreamingReadResource = "v1" :> (CaptureMode "session" "streamingRead" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReadRequest :> Post '[JSON] PartialResultSet))))))))
- projectsInstancesDatabasesSessionsStreamingRead :: ReadRequest -> Text -> ProjectsInstancesDatabasesSessionsStreamingRead
- data ProjectsInstancesDatabasesSessionsStreamingRead
- pidssrXgafv :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Xgafv)
- pidssrUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text)
- pidssrAccessToken :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text)
- pidssrUploadType :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text)
- pidssrPayload :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead ReadRequest
- pidssrSession :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead Text
- pidssrCallback :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesSessionsStreamingReadResource = "v1" :> (CaptureMode "session" "streamingRead" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReadRequest :> Post '[JSON] PartialResultSet)))))))) Source #
A resource alias for spanner.projects.instances.databases.sessions.streamingRead
method which the
ProjectsInstancesDatabasesSessionsStreamingRead
request conforms to.
Creating a Request
projectsInstancesDatabasesSessionsStreamingRead Source #
Creates a value of ProjectsInstancesDatabasesSessionsStreamingRead
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesSessionsStreamingRead Source #
Like Read, except returns the result set as a stream. Unlike Read, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.
See: projectsInstancesDatabasesSessionsStreamingRead
smart constructor.
Instances
Request Lenses
pidssrXgafv :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Xgafv) Source #
V1 error format.
pidssrUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidssrAccessToken :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text) Source #
OAuth access token.
pidssrUploadType :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pidssrPayload :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead ReadRequest Source #
Multipart request metadata.
pidssrSession :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead Text Source #
Required. The session in which the read should be performed.