Hasura.Backends.BigQuery.Instances.Schema
Contents
Methods
logicalModelArguments :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => LogicalModelInfo 'BigQuery -> SchemaT r m (InputFieldsParser n (SelectArgsG 'BigQuery (UnpreparedValue 'BigQuery))) Source #
logicalModelSelectionSet :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => LogicalModelInfo 'BigQuery -> SchemaT r m (Maybe (Parser 'Output n (AnnotatedFields 'BigQuery))) Source #
selectNativeQuery :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => NativeQueryInfo 'BigQuery -> Name -> Nullable -> Maybe Description -> SchemaT r m (Maybe (FieldParser n (AnnSimpleSelectG 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery)))) Source #
selectNativeQueryObject :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => NativeQueryInfo 'BigQuery -> Name -> Maybe Description -> SchemaT r m (Maybe (FieldParser n (AnnObjectSelectG 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery)))) Source #
buildTableQueryAndSubscriptionFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> SchemaT r m ([FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))], [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))], Maybe (Name, Parser 'Output n (ApolloFederationParserFunction n))) Source #
buildTableStreamingSubscriptionFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> SchemaT r m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildTableRelayQueryFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> NESeq (ColumnInfo 'BigQuery) -> SchemaT r m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildTableInsertMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> Scenario -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> SchemaT r m [FieldParser n (AnnotatedInsert 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildTableUpdateMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => Scenario -> TableInfo 'BigQuery -> GQLNameIdentifier -> SchemaT r m [FieldParser n (AnnotatedUpdateG 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildTableDeleteMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> Scenario -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> SchemaT r m [FieldParser n (AnnDelG 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildFunctionQueryFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> FunctionName 'BigQuery -> FunctionInfo 'BigQuery -> TableName 'BigQuery -> SchemaT r m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildFunctionRelayQueryFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> FunctionName 'BigQuery -> FunctionInfo 'BigQuery -> TableName 'BigQuery -> NESeq (ColumnInfo 'BigQuery) -> SchemaT r m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildFunctionMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> FunctionName 'BigQuery -> FunctionInfo 'BigQuery -> TableName 'BigQuery -> SchemaT r m [FieldParser n (MutationDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #
buildNativeQueryRootFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => NativeQueryInfo 'BigQuery -> SchemaT r m (Maybe (FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery)))) Source #
buildStoredProcedureRootFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => StoredProcedureInfo 'BigQuery -> SchemaT r m (Maybe (FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery)))) Source #
mkRelationshipParser :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => RelInfo 'BigQuery -> SchemaT r m (Maybe (InputFieldsParser n (Maybe (AnnotatedInsertField 'BigQuery (UnpreparedValue 'BigQuery))))) Source #
relayExtension :: Maybe (XRelay 'BigQuery) Source #
nodesAggExtension :: Maybe (XNodesAgg 'BigQuery) Source #
streamSubscriptionExtension :: Maybe (XStreamingSubscription 'BigQuery) Source #
groupByExtension :: Maybe (XGroupBy 'BigQuery) Source #
columnParser :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => ColumnType 'BigQuery -> Nullability -> SchemaT r m (Parser 'Both n (ValueWithOrigin (ColumnValue 'BigQuery))) Source #
enumParser :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => TableName 'BigQuery -> NonEmpty (EnumValue, EnumValueInfo) -> Maybe Name -> Nullability -> SchemaT r m (Parser 'Both n (ScalarValue 'BigQuery)) Source #
possiblyNullable :: forall (m :: Type -> Type). MonadParse m => ScalarType 'BigQuery -> Nullability -> Parser 'Both m (ScalarValue 'BigQuery) -> Parser 'Both m (ScalarValue 'BigQuery) Source #
scalarSelectionArgumentsParser :: forall (n :: Type -> Type). MonadParse n => ColumnType 'BigQuery -> InputFieldsParser n (Maybe (ScalarSelectionArguments 'BigQuery)) Source #
orderByOperators :: SourceInfo 'BigQuery -> NamingCase -> (Name, NonEmpty (Definition EnumValueInfo, (BasicOrderType 'BigQuery, NullsOrderType 'BigQuery))) Source #
comparisonExps :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => ColumnType 'BigQuery -> SchemaT r m (Parser 'Input n [ComparisonExp 'BigQuery]) Source #
countTypeInput :: forall (n :: Type -> Type). MonadParse n => Maybe (Parser 'Both n (Column 'BigQuery, AnnRedactionExpUnpreparedValue 'BigQuery)) -> InputFieldsParser n (CountDistinct -> CountType 'BigQuery (UnpreparedValue 'BigQuery)) Source #
aggregateOrderByCountType :: ScalarType 'BigQuery Source #
computedField :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => ComputedFieldInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> SchemaT r m (Maybe (FieldParser n (AnnotatedField 'BigQuery))) Source #
tableArguments :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => TableInfo 'BigQuery -> SchemaT r m (InputFieldsParser n (SelectArgsG 'BigQuery (UnpreparedValue 'BigQuery))) Source #
tableSelectionSet :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => TableInfo 'BigQuery -> SchemaT r m (Maybe (Parser 'Output n (AnnotatedFields 'BigQuery))) Source #
selectTable :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => TableInfo 'BigQuery -> Name -> Maybe Description -> SchemaT r m (Maybe (FieldParser n (SelectExp 'BigQuery))) Source #
selectTableAggregate :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSourceSchema 'BigQuery r m n => TableInfo 'BigQuery -> Name -> Maybe Description -> SchemaT r m (Maybe (FieldParser n (AggSelectExp 'BigQuery))) Source #