Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TableMetadataObjId
- data LogicalModelMetadataObjId
- data NativeQueryMetadataObjId
- data SourceMetadataObjId b
- = SMOTable (TableName b)
- | SMOFunction (FunctionName b)
- | SMOFunctionPermission (FunctionName b) RoleName
- | SMOTableObj (TableName b) TableMetadataObjId
- | SMONativeQuery NativeQueryName
- | SMONativeQueryObj NativeQueryName NativeQueryMetadataObjId
- | SMOStoredProcedure (FunctionName b)
- | SMOLogicalModel LogicalModelName
- | SMOLogicalModelObj LogicalModelName LogicalModelMetadataObjId
- data MetadataObjId
- = MOSource SourceName
- | MOSourceObjId SourceName (AnyBackend SourceMetadataObjId)
- | MORemoteSchema RemoteSchemaName
- | MORemoteSchemaPermissions RemoteSchemaName RoleName
- | MORemoteSchemaRemoteRelationship RemoteSchemaName Name RelName
- | MOCustomTypes
- | MOAction ActionName
- | MOActionPermission ActionName RoleName
- | MOCronTrigger TriggerName
- | MOInheritedRole RoleName
- | MOEndpoint EndpointName
- | MOQueryCollectionsQuery CollectionName ListedQuery
- | MODataConnectorAgent DataConnectorName
- | MOOpenTelemetry OpenTelemetryConfigSubobject
- _MOEndpoint :: Prism' MetadataObjId EndpointName
- _MOInheritedRole :: Prism' MetadataObjId RoleName
- _MOCronTrigger :: Prism' MetadataObjId TriggerName
- _MOActionPermission :: Prism' MetadataObjId (ActionName, RoleName)
- _MOAction :: Prism' MetadataObjId ActionName
- _MOCustomTypes :: Prism' MetadataObjId ()
- _MORemoteSchemaPermissions :: Prism' MetadataObjId (RemoteSchemaName, RoleName)
- _MORemoteSchema :: Prism' MetadataObjId RemoteSchemaName
- _MOSourceObjId :: Prism' MetadataObjId (SourceName, AnyBackend SourceMetadataObjId)
- _MOSource :: Prism' MetadataObjId SourceName
- moiTypeName :: MetadataObjId -> Text
- moiName :: MetadataObjId -> Text
- data MetadataObject = MetadataObject {}
- moId :: Lens' MetadataObject MetadataObjId
- moDefinition :: Lens' MetadataObject Value
- data InconsistentRoleEntity
- data InconsistentMetadata
- = InconsistentObject Text (Maybe Value) MetadataObject
- | ConflictingObjects Text [MetadataObject]
- | DuplicateObjects MetadataObjId [Value]
- | DuplicateRestVariables Text MetadataObject
- | InvalidRestSegments Text MetadataObject
- | AmbiguousRestEndpoints Text [MetadataObject]
- | ConflictingInheritedPermission RoleName InconsistentRoleEntity
- _ConflictingInheritedPermission :: Prism' InconsistentMetadata (RoleName, InconsistentRoleEntity)
- _AmbiguousRestEndpoints :: Prism' InconsistentMetadata (Text, [MetadataObject])
- _InvalidRestSegments :: Prism' InconsistentMetadata (Text, MetadataObject)
- _DuplicateRestVariables :: Prism' InconsistentMetadata (Text, MetadataObject)
- _DuplicateObjects :: Prism' InconsistentMetadata (MetadataObjId, [Value])
- _ConflictingObjects :: Prism' InconsistentMetadata (Text, [MetadataObject])
- _InconsistentObject :: Prism' InconsistentMetadata (Text, Maybe Value, MetadataObject)
- droppableInconsistentMetadata :: InconsistentMetadata -> Bool
- getInconsistentRemoteSchemas :: [InconsistentMetadata] -> [RemoteSchemaName]
- imObjectIds :: InconsistentMetadata -> [MetadataObjId]
- imReason :: InconsistentMetadata -> Text
- groupInconsistentMetadataById :: [InconsistentMetadata] -> HashMap MetadataObjId (NonEmpty InconsistentMetadata)
Documentation
data TableMetadataObjId Source #
MTORel RelName RelType | |
MTOComputedField ComputedFieldName | |
MTOPerm RoleName PermType | |
MTOTrigger TriggerName | |
MTORemoteRelationship RelName |
Instances
data LogicalModelMetadataObjId Source #
Identifiers for logical model elements within the metadata structure.
Instances
data NativeQueryMetadataObjId Source #
the native query should probably also link to its logical model
Instances
data SourceMetadataObjId b Source #
Instances
data MetadataObjId Source #
MOSource SourceName | |
MOSourceObjId SourceName (AnyBackend SourceMetadataObjId) | |
MORemoteSchema RemoteSchemaName | Originates from user-defined |
MORemoteSchemaPermissions RemoteSchemaName RoleName | |
MORemoteSchemaRemoteRelationship RemoteSchemaName Name RelName | A remote relationship on a remote schema type, identified by 1. remote schema name 2. remote schema type on which the relationship is defined 3. name of the relationship |
MOCustomTypes | |
MOAction ActionName | |
MOActionPermission ActionName RoleName | |
MOCronTrigger TriggerName | |
MOInheritedRole RoleName | |
MOEndpoint EndpointName | |
MOQueryCollectionsQuery CollectionName ListedQuery | |
MODataConnectorAgent DataConnectorName | |
MOOpenTelemetry OpenTelemetryConfigSubobject |
Instances
_MOCustomTypes :: Prism' MetadataObjId () Source #
moiTypeName :: MetadataObjId -> Text Source #
moiName :: MetadataObjId -> Text Source #
data MetadataObject Source #
Instances
data InconsistentRoleEntity Source #
InconsistentTablePermission | |
| |
InconsistentRemoteSchemaPermission RemoteSchemaName |
Instances
data InconsistentMetadata Source #
Instances
_ConflictingInheritedPermission :: Prism' InconsistentMetadata (RoleName, InconsistentRoleEntity) Source #
imReason :: InconsistentMetadata -> Text Source #
groupInconsistentMetadataById :: [InconsistentMetadata] -> HashMap MetadataObjId (NonEmpty InconsistentMetadata) Source #
Builds a map from each unique metadata object id to the inconsistencies associated with it. Note that a single inconsistency can involve multiple metadata objects, so the same inconsistency may appear in the resulting map multiple times!