gogol-fusiontables-0.4.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 # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

Data QuerySQL Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

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 # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

Generic QuerySQL Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

Associated Types

type Rep QuerySQL :: Type -> Type #

Methods

from :: QuerySQL -> Rep QuerySQL x #

to :: Rep QuerySQL x -> QuerySQL #

GoogleRequest QuerySQL Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

Associated Types

type Rs QuerySQL :: Type #

type Scopes QuerySQL :: [Symbol] #

GoogleRequest (MediaDownload QuerySQL) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

Associated Types

type Rs (MediaDownload QuerySQL) :: Type #

type Scopes (MediaDownload QuerySQL) :: [Symbol] #

type Rep QuerySQL Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

type Rep QuerySQL = D1 (MetaData "QuerySQL" "Network.Google.Resource.FusionTables.Query.SQL" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "QuerySQL'" PrefixI True) (S1 (MetaSel (Just "_qsqlTyped") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_qsqlHdrs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_qsqlSQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes QuerySQL Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

type Scopes QuerySQL = "https://www.googleapis.com/auth/fusiontables" ': ("https://www.googleapis.com/auth/fusiontables.readonly" ': ([] :: [Symbol]))
type Rs QuerySQL Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

type Scopes (MediaDownload QuerySQL) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

type Rs (MediaDownload QuerySQL) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQL

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