Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data EntityTable entity Source #
Instances
Serialize entity => Serialize (EntityTable entity) # | |
Defined in Indexation.Instances.Cereal put :: Putter (EntityTable entity) # get :: Get (EntityTable entity) # |
createIndexer :: IO (Indexer entity) Source #
freezeIndexerAsEntityTable :: Indexer entity -> IO (EntityTable entity) Source #
serializeEntityTableToFile :: Serialize entity => EntityTable entity -> FilePath -> IO (Either IOException ()) Source #
serializeIndexerToFile :: Serialize a => (Text -> IO ()) -> FilePath -> Indexer a -> IO (Either IOException ()) Source #
readEntityTableFromFile :: Serialize entity => FilePath -> IO (Either IOException (Either Text (EntityTable entity))) Source #
readIndexTableFromFile :: (Serialize entity, Eq entity, Hashable entity) => FilePath -> IO (Either IOException (Either Text (IndexTable entity))) Source #