/src/main/java/world/bentobox/bentobox/database/package-info.java

https://github.com/BentoBoxWorld/BentoBox · Java · 21 lines · 1 code · 0 blank · 20 comment · 0 complexity · c1e952f497ab3595d9b7a69cf3501e92 MD5 · raw file

  1. /**
  2. * Provides an abstract database for storing Java POJOs
  3. * and also YAML config files.
  4. *
  5. * <p>
  6. * The database supports concrete implementations for JSON flat file, MongoDB, MySQL, PostgreSQL, SQLite
  7. * and the ability to transition between them.
  8. * </p>
  9. * <p>
  10. * Storage of POJOs is done via GSON, i.e, the object is serialized and then stored. Each data object must
  11. * implement the DataObject interface, which requires a uniqueId field. This is what is used for indexing
  12. * and finding.
  13. * </p>
  14. * <p>
  15. * Performance with JSON is generally very good, and the other databases are really there for concurrent usage
  16. * by other applications.
  17. * </p>
  18. * @author tastybento
  19. *
  20. */
  21. package world.bentobox.bentobox.database;