gogol-spanner-0.4.0: Google Cloud Spanner SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

Contents

Description

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

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

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
Eq ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

Data ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> c ProjectsInstancesDatabasesSessionsExecuteStreamingSQL #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsInstancesDatabasesSessionsExecuteStreamingSQL #

toConstr :: ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsInstancesDatabasesSessionsExecuteStreamingSQL) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsInstancesDatabasesSessionsExecuteStreamingSQL) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> m ProjectsInstancesDatabasesSessionsExecuteStreamingSQL #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> m ProjectsInstancesDatabasesSessionsExecuteStreamingSQL #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsInstancesDatabasesSessionsExecuteStreamingSQL -> m ProjectsInstancesDatabasesSessionsExecuteStreamingSQL #

Show ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

Generic ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

GoogleRequest ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

type Rep ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

type Rep ProjectsInstancesDatabasesSessionsExecuteStreamingSQL = D1 (MetaData "ProjectsInstancesDatabasesSessionsExecuteStreamingSQL" "Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesSessionsExecuteStreamingSQL'" PrefixI True) ((S1 (MetaSel (Just "_pidsessqlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidsessqlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidsessqlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pidsessqlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidsessqlPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExecuteSQLRequest)) :*: (S1 (MetaSel (Just "_pidsessqlSession") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidsessqlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

type Scopes ProjectsInstancesDatabasesSessionsExecuteStreamingSQL = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/spanner.data" ': ([] :: [Symbol]))
type Rs ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSQL

Request Lenses

pidsessqlUploadType :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pidsessqlSession :: Lens' ProjectsInstancesDatabasesSessionsExecuteStreamingSQL Text Source #

Required. The session in which the SQL query should be performed.