graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.BigQuery.Instances.Metadata

Orphan instances

BackendMetadata 'BigQuery Source # 
Instance details

Methods

buildComputedFieldInfo :: MonadError QErr m => HashSet (TableName 'BigQuery) -> TableName 'BigQuery -> HashSet (Column 'BigQuery) -> ComputedFieldName -> ComputedFieldDefinition 'BigQuery -> RawFunctionInfo 'BigQuery -> Comment -> m (ComputedFieldInfo 'BigQuery) Source #

fetchAndValidateEnumValues :: (MonadIO m, MonadBaseControl IO m) => SourceConfig 'BigQuery -> TableName 'BigQuery -> Maybe (PrimaryKey 'BigQuery (RawColumnInfo 'BigQuery)) -> [RawColumnInfo 'BigQuery] -> m (Either QErr EnumValues) Source #

resolveSourceConfig :: (MonadIO m, MonadResolveSource m) => Logger Hasura -> SourceName -> SourceConnConfiguration 'BigQuery -> BackendSourceKind 'BigQuery -> BackendConfig 'BigQuery -> Environment -> Manager -> m (Either QErr (SourceConfig 'BigQuery)) Source #

resolveDatabaseMetadata :: (MonadIO m, MonadBaseControl IO m, MonadResolveSource m) => SourceMetadata 'BigQuery -> SourceConfig 'BigQuery -> SourceTypeCustomization -> m (Either QErr (ResolvedSource 'BigQuery)) Source #

parseBoolExpOperations :: (MonadError QErr m, TableCoreInfoRM 'BigQuery m) => ValueParser 'BigQuery m v -> TableName 'BigQuery -> FieldInfoMap (FieldInfo 'BigQuery) -> ColumnReference 'BigQuery -> Value -> m [OpExpG 'BigQuery v] Source #

buildFunctionInfo :: MonadError QErr m => SourceName -> FunctionName 'BigQuery -> SystemDefined -> FunctionConfig -> FunctionPermissionsMap -> RawFunctionInfo 'BigQuery -> Maybe Text -> NamingCase -> m (FunctionInfo 'BigQuery, SchemaDependency) Source #

updateColumnInEventTrigger :: TableName 'BigQuery -> Column 'BigQuery -> Column 'BigQuery -> TableName 'BigQuery -> EventTriggerConf 'BigQuery -> EventTriggerConf 'BigQuery Source #

parseCollectableType :: MonadError QErr m => CollectableType (ColumnType 'BigQuery) -> Value -> m (PartialSQLExp 'BigQuery) Source #

postDropSourceHook :: (MonadError QErr m, MonadIO m, MonadBaseControl IO m) => SourceConfig 'BigQuery -> TableEventTriggers 'BigQuery -> m () Source #

validateRelationship :: MonadError QErr m => TableCache 'BigQuery -> TableName 'BigQuery -> Either (ObjRelDef 'BigQuery) (ArrRelDef 'BigQuery) -> m () Source #

buildComputedFieldBooleanExp :: (MonadError QErr m, TableCoreInfoRM 'BigQuery m) => BoolExpResolver 'BigQuery m v -> BoolExpRHSParser 'BigQuery m v -> TableName 'BigQuery -> FieldInfoMap (FieldInfo 'BigQuery) -> ComputedFieldInfo 'BigQuery -> Value -> m (AnnComputedFieldBoolExp 'BigQuery v) Source #

prepareCatalog :: forall (m :: Type -> Type). (MonadIO m, MonadBaseControl IO m) => SourceConfig 'BigQuery -> ExceptT QErr m RecreateEventTriggers Source #