zema_hive 0.1.0 copy "zema_hive: ^0.1.0" to clipboard
zema_hive: ^0.1.0 copied to clipboard

Zema schema validation integration for Hive. Type-safe local storage without TypeAdapters or code generation.

0.1.0 #

  • Initial release.
  • withZema(schema) extension on Hive Box — wraps it in a ZemaBox<T>.
  • ZemaBox.put() and ZemaBox.putAll() — validate before writing; throw ZemaHiveException on failure.
  • ZemaBox.get() — validate on read; apply migrate callback automatically when validation fails.
  • ZemaBox.values and ZemaBox.toMap() — iterate all valid documents, silently skip invalid ones.
  • ZemaHiveMigration callback — transform stored documents to match the current schema; migrated data is written back to Hive.
  • OnHiveParseError callback — graceful fallback when read validation fails.
  • ZemaHiveException with key, List<ZemaIssue>, and raw data for debugging.
0
likes
160
points
71
downloads

Documentation

API reference

Publisher

verified publishermeragix.dev

Weekly Downloads

Zema schema validation integration for Hive. Type-safe local storage without TypeAdapters or code generation.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#hive #local-storage #validation #schema #zema

License

MIT (license)

Dependencies

hive_ce, zema

More

Packages that depend on zema_hive