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.StreamingRead

Contents

Description

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

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

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

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

Data ProjectsInstancesDatabasesSessionsStreamingRead Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesDatabasesSessionsStreamingRead -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesSessionsStreamingRead -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesSessionsStreamingRead Source # 
Instance details

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

Generic ProjectsInstancesDatabasesSessionsStreamingRead Source # 
Instance details

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

GoogleRequest ProjectsInstancesDatabasesSessionsStreamingRead Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesSessionsStreamingRead Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesSessionsStreamingRead = D1 (MetaData "ProjectsInstancesDatabasesSessionsStreamingRead" "Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.StreamingRead" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesSessionsStreamingRead'" PrefixI True) ((S1 (MetaSel (Just "_pidssrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidssrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidssrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pidssrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidssrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ReadRequest)) :*: (S1 (MetaSel (Just "_pidssrSession") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidssrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesSessionsStreamingRead Source # 
Instance details

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

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

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

Request Lenses

pidssrUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pidssrUploadType :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead (Maybe Text) Source #

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

pidssrSession :: Lens' ProjectsInstancesDatabasesSessionsStreamingRead Text Source #

Required. The session in which the read should be performed.