Class TableDataManager

  • All Implemented Interfaces:
    Session

    public class TableDataManager
    extends AbstractManager
    Author:
    Tom Baeyens
    • Field Detail

      • apiTypeToTableNameMap

        public static java.util.Map<java.lang.Class<?>,​java.lang.String> apiTypeToTableNameMap
      • persistentObjectToTableNameMap

        public static java.util.Map<java.lang.Class<? extends DbEntity>,​java.lang.String> persistentObjectToTableNameMap
    • Constructor Detail

      • TableDataManager

        public TableDataManager()
    • Method Detail

      • getTableCount

        public java.util.Map<java.lang.String,​java.lang.Long> getTableCount()
      • getTableCount

        protected long getTableCount​(java.lang.String tableName)
      • getEntities

        public java.util.List<java.lang.Class<? extends DbEntity>> getEntities​(java.lang.String tableName)
      • getTableName

        public java.lang.String getTableName​(java.lang.Class<?> entityClass,
                                             boolean withPrefix)
      • getTableMetaData

        public TableMetaData getTableMetaData​(java.lang.String tableName)