Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hasura.Backends.BigQuery.Meta
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 #
Constructors
RestProblem RestProblem |
Instances
Show MetadataError Source # | |
Defined in Hasura.Backends.BigQuery.Meta Methods showsPrec :: Int -> MetadataError -> ShowS # show :: MetadataError -> String # showList :: [MetadataError] -> ShowS # |
data RestTableReference Source #
Instances
Constructors
RestTable | |
Fields |
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 #
Constructors
RestTableSchema | |
Fields
|
Instances
data RestFieldSchema Source #
Constructors
RestFieldSchema | |
Fields
|
Instances
Constructors
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
Constructors
RestArgument | |
Instances
data RestStandardSqlField Source #
A field or a column. Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/StandardSqlField
Constructors
RestStandardSqlField | |
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
Constructors
RestStandardSqlTableType | |
Fields |
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
Constructors
RestRoutine | |
Fields
|
Instances
getRoutines :: MonadIO m => BigQuerySourceConfig -> m (Either RestProblem [RestRoutine]) Source #
Get all routines from all specified data sets.