Package tenapull.data.persistence

  • Interface Summary 
    Interface Description
    StringLookupDao<POJO extends StringLookupPojo>
    The interface for String lookup daos, implemented by both SimpleStringLookupDao and StringHashLookupDao (which inherits from HashLookupDao).
  • Class Summary 
    Class Description
    AbstractPojoLookupDao<POJO extends DbPojo>
    Abstract dao which implements some methods and functionality common to all lookup daos
    Dao<POJO extends DbPojo>
    Standard generic dao.
    Dao.SessionTracker
    Session tracker used to track the daos and invocations that are using an open session
    Hash
    Represents a "lazy" or "dirty" SHA-512 hash of a string lookup or object lookup.
    Hash.Converter
    Converts Hash instances back and forth between the database varbinary datatype and the hash fields in the ORM.
    HashLookupDao<POJO extends HashLookupPojo<POJO>>
    Dao used for object lookups that are indexed by their hash.
    MapLookupDao<POJO extends MapLookupPojo<POJO>>
    Dao used for map lookup pojos, where a DB record can be matched by a search map or the _match function.
    MultiTypeWrapper
    Used to represent a field which may have multiple JSON primitive data types.
    MultiTypeWrapper.Converter
    Hibernate converter, for converting between a string for the DB and a MultiTypeWrapper instance
    SimpleStringLookupDao<POJO extends SimpleStringLookupPojo<POJO>>
    Used for simple string lookups, typically of DB data type varchar(255) though may be shorter than 255 in some cases.
    StringHashLookupDao<POJO extends StringHashLookupPojo<POJO>>
    Dao used for string lookups of the longtext db data type, which cannot be indexed by MySQL.
  • Exception Summary 
    Exception Description
    DbException
    The type Db exception.
    LookupException
    Exception thrown when there is unexpected behavior during a lookup dao operation