gogol-fusiontables-0.2.0: Google Fusion Tables 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.FusionTables.Query.SQL

Contents

Description

Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement.

See: Fusion Tables API Reference for fusiontables.query.sql.

Synopsis

REST Resource

type QuerySQLResource = ("fusiontables" :> ("v2" :> ("query" :> (QueryParam "sql" Text :> (QueryParam "typed" Bool :> (QueryParam "hdrs" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] SQLresponse))))))) :<|> ("fusiontables" :> ("v2" :> ("query" :> (QueryParam "sql" Text :> (QueryParam "typed" Bool :> (QueryParam "hdrs" Bool :> (QueryParam "alt" AltMedia :> Post '[OctetStream] Stream))))))) Source #

A resource alias for fusiontables.query.sql method which the QuerySQL request conforms to.

Creating a Request

querySQL Source #

Arguments

:: Text

qsqlSQL

-> QuerySQL 

Creates a value of QuerySQL with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data QuerySQL Source #

Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement.

See: querySQL smart constructor.

Instances

Eq QuerySQL Source # 
Data QuerySQL Source # 

Methods

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

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

toConstr :: QuerySQL -> Constr #

dataTypeOf :: QuerySQL -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuerySQL Source # 
Generic QuerySQL Source # 

Associated Types

type Rep QuerySQL :: * -> * #

Methods

from :: QuerySQL -> Rep QuerySQL x #

to :: Rep QuerySQL x -> QuerySQL #

GoogleRequest QuerySQL Source # 

Associated Types

type Rs QuerySQL :: * #

type Scopes QuerySQL :: [Symbol] #

GoogleRequest (MediaDownload QuerySQL) Source # 
type Rep QuerySQL Source # 
type Rep QuerySQL = D1 (MetaData "QuerySQL" "Network.Google.Resource.FusionTables.Query.SQL" "gogol-fusiontables-0.2.0-CmX6Kl3SH2zA3wqi7QKCV3" False) (C1 (MetaCons "QuerySQL'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qsqlTyped") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_qsqlHdrs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_qsqlSQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes QuerySQL Source # 
type Scopes QuerySQL = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ((:) Symbol "https://www.googleapis.com/auth/fusiontables.readonly" ([] Symbol))
type Rs QuerySQL Source # 
type Scopes (MediaDownload QuerySQL) Source # 
type Rs (MediaDownload QuerySQL) Source # 

Request Lenses

qsqlTyped :: Lens' QuerySQL (Maybe Bool) Source #

Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.

qsqlHdrs :: Lens' QuerySQL (Maybe Bool) Source #

Whether column names are included in the first row. Default is true.

qsqlSQL :: Lens' QuerySQL Text Source #

A Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE