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 ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, 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.executeStreamingSql
.
Synopsis
- type ProjectsInstancesDatabasesSessionsExecuteStreamingSQLResource = "v1" :> (CaptureMode "session" "executeStreamingSql" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ExecuteSQLRequest :> Post '[JSON] PartialResultSet))))))))
- projectsInstancesDatabasesSessionsExecuteStreamingSQL :: ExecuteSQLRequest -> Text -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL
- data ProjectsInstancesDatabasesSessionsExecuteStreamingSQL
- pidsessqlXgafv :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Xgafv)
- pidsessqlUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text)
- pidsessqlAccessToken :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text)
- pidsessqlUploadType :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text)
- pidsessqlPayload :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL ExecuteSQLRequest
- pidsessqlSession :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Text
- pidsessqlCallback :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesSessionsExecuteStreamingSQLResource = "v1" :> (CaptureMode "session" "executeStreamingSql" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ExecuteSQLRequest :> Post '[JSON] PartialResultSet)))))))) Source #
A resource alias for spanner.projects.instances.databases.sessions.executeStreamingSql
method which the
ProjectsInstancesDatabasesSessionsExecuteStreamingSQL
request conforms to.
Creating a Request
projectsInstancesDatabasesSessionsExecuteStreamingSQL Source #
Creates a value of ProjectsInstancesDatabasesSessionsExecuteStreamingSQL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source #
Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, 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: projectsInstancesDatabasesSessionsExecuteStreamingSQL
smart constructor.
Instances
Request Lenses
pidsessqlXgafv :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Xgafv) Source #
V1 error format.
pidsessqlUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidsessqlAccessToken :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text) Source #
OAuth access token.
pidsessqlUploadType :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pidsessqlPayload :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL ExecuteSQLRequest Source #
Multipart request metadata.
pidsessqlSession :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Text Source #
Required. The session in which the SQL query should be performed.