Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data MetadataError = RestProblem RestProblem
- data RestTableReference = RestTableReference {}
- data RestTable = RestTable {}
- data RestTableSchema = RestTableSchema {
- fields :: [RestFieldSchema]
- data RestFieldSchema = RestFieldSchema {}
- data Mode
- data RestType
- getTables :: MonadIO m => BigQuerySourceConfig -> m (Either RestProblem [RestTable])
- data RestRoutineType
- data RestArgument = RestArgument {}
- data RestStandardSqlField = RestStandardSqlField {}
- data RestStandardSqlTableType = RestStandardSqlTableType {}
- data RestRoutineReference = RestRoutineReference {}
- routineReferenceToFunctionName :: RestRoutineReference -> FunctionName
- data RestRoutine = RestRoutine {}
- getRoutines :: MonadIO m => BigQuerySourceConfig -> m (Either RestProblem [RestRoutine])
Documentation
data MetadataError Source #
RestProblem RestProblem |
Instances
Show MetadataError Source # | |
Defined in Hasura.Backends.BigQuery.Meta showsPrec :: Int -> MetadataError -> ShowS # show :: MetadataError -> String # showList :: [MetadataError] -> ShowS # |
data RestTableReference Source #
Instances
Instances
FromJSON RestTable Source # | |
Generic RestTable Source # | |
Show RestTable Source # | |
type Rep RestTable Source # | |
Defined in Hasura.Backends.BigQuery.Meta type Rep RestTable = D1 ('MetaData "RestTable" "Hasura.Backends.BigQuery.Meta" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RestTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RestTableReference) :*: S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RestTableSchema))) |
data RestTableSchema Source #
Instances
FromJSON RestTableSchema Source # | |
Defined in Hasura.Backends.BigQuery.Meta parseJSON :: Value -> Parser RestTableSchema Source # parseJSONList :: Value -> Parser [RestTableSchema] Source # | |
Generic RestTableSchema Source # | |
Defined in Hasura.Backends.BigQuery.Meta type Rep RestTableSchema :: Type -> Type # from :: RestTableSchema -> Rep RestTableSchema x # to :: Rep RestTableSchema x -> RestTableSchema # | |
Show RestTableSchema Source # | |
Defined in Hasura.Backends.BigQuery.Meta showsPrec :: Int -> RestTableSchema -> ShowS # show :: RestTableSchema -> String # showList :: [RestTableSchema] -> ShowS # | |
type Rep RestTableSchema Source # | |
Defined in Hasura.Backends.BigQuery.Meta type Rep RestTableSchema = D1 ('MetaData "RestTableSchema" "Hasura.Backends.BigQuery.Meta" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RestTableSchema" 'PrefixI 'True) (S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RestFieldSchema]))) |
data RestFieldSchema Source #
RestFieldSchema | |
|
Instances
STRING | |
BYTES | |
INTEGER | |
FLOAT | |
BOOL | |
TIMESTAMP | |
DATE | |
TIME | |
DATETIME | |
GEOGRAPHY | |
DECIMAL | |
BIGDECIMAL | |
JSON | |
STRUCT |
getTables :: MonadIO m => BigQuerySourceConfig -> m (Either RestProblem [RestTable]) Source #
Get all tables from all specified data sets.
data RestRoutineType Source #
The fine-grained type of the routine Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#RoutineType
Instances
data RestArgument Source #
Input argument of a function/routine. Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#Argument
Instances
data RestStandardSqlField Source #
A field or a column. Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/StandardSqlField
Instances
data RestStandardSqlTableType Source #
A table type, which has only list of columns with names and types. Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#StandardSqlTableType
Instances
data RestRoutineReference Source #
Id path of a routine. Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#RoutineReference
Instances
data RestRoutine Source #
A user-defined function. Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#Routine
RestRoutine | |
|
Instances
getRoutines :: MonadIO m => BigQuerySourceConfig -> m (Either RestProblem [RestRoutine]) Source #
Get all routines from all specified data sets.