Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data AvroEnvironment m Source #
type AvroHydraAdapter m = Adapter (AvroEnvironment m) (AvroEnvironment m) Schema (Type m) Value (Term m) Source #
data AvroQualifiedName Source #
Instances
Show AvroQualifiedName Source # | |
Defined in Hydra.Ext.Avro.Coder showsPrec :: Int -> AvroQualifiedName -> ShowS # show :: AvroQualifiedName -> String # showList :: [AvroQualifiedName] -> ShowS # | |
Eq AvroQualifiedName Source # | |
Defined in Hydra.Ext.Avro.Coder (==) :: AvroQualifiedName -> AvroQualifiedName -> Bool # (/=) :: AvroQualifiedName -> AvroQualifiedName -> Bool # | |
Ord AvroQualifiedName Source # | |
Defined in Hydra.Ext.Avro.Coder compare :: AvroQualifiedName -> AvroQualifiedName -> Ordering # (<) :: AvroQualifiedName -> AvroQualifiedName -> Bool # (<=) :: AvroQualifiedName -> AvroQualifiedName -> Bool # (>) :: AvroQualifiedName -> AvroQualifiedName -> Bool # (>=) :: AvroQualifiedName -> AvroQualifiedName -> Bool # max :: AvroQualifiedName -> AvroQualifiedName -> AvroQualifiedName # min :: AvroQualifiedName -> AvroQualifiedName -> AvroQualifiedName # |
data ForeignKey Source #
ForeignKey Name (String -> Name) |
data PrimaryKey Source #
PrimaryKey FieldName (String -> Name) |
avroHydraAdapter :: (Ord m, Show m) => Schema -> Flow (AvroEnvironment m) (AvroHydraAdapter m) Source #
getAvroHydraAdapter :: AvroQualifiedName -> AvroEnvironment m -> Maybe (AvroHydraAdapter m) Source #
foreignKey :: Field -> Flow s (Maybe ForeignKey) Source #
primaryKey :: Field -> Flow s (Maybe PrimaryKey) Source #
parseAvroName :: Maybe String -> String -> AvroQualifiedName Source #
putAvroHydraAdapter :: AvroQualifiedName -> AvroHydraAdapter m -> AvroEnvironment m -> AvroEnvironment m Source #
rewriteAvroSchemaM :: ((Schema -> Flow s Schema) -> Schema -> Flow s Schema) -> Schema -> Flow s Schema Source #
showQname :: AvroQualifiedName -> String Source #