Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.access.loader.filters |
Modifier and Type | Method and Description |
---|---|
Map<DbPath,Map<String,DbEntity>> |
DbLoader.getTables(DbLoaderConfiguration config,
String[] types)
Returns all tables for given combination of the criteria.
|
Modifier and Type | Method and Description |
---|---|
List<DbEntity> |
DbLoader.loadDbEntities(DataMap map,
DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables)
Loads dbEntities for the specified tables.
|
protected void |
DbLoader.loadDbRelationships(DbLoaderConfiguration config,
Map<DbPath,Map<String,DbEntity>> tables) |
Modifier and Type | Field and Description |
---|---|
static DbPath |
DbPath.EMPTY |
Modifier and Type | Method and Description |
---|---|
static DbPath |
DbPath.build(DbEntity entity) |
DbPath |
EntityFilters.getDbPath() |
DbPath |
DbPath.merge(DbPath path) |
Modifier and Type | Method and Description |
---|---|
List<DbPath> |
FiltersConfig.getDbPaths() |
List<DbPath> |
FiltersConfig.pathsForQueries()
Used for loading tables and procedures, it's aim avoid unnecessary queries by compacting pairs of
(Catalog, Schema)
Example:
"aaa", null
"aaa", "11"
"aa", null
"aa", "a"
"aa", "aa"
"aa", "aa"
Should return
"aa", null
"aaa", null
For more examples please see tests.
|
Modifier and Type | Method and Description |
---|---|
int |
DbPath.compareTo(DbPath o) |
EntityFilters |
FiltersConfig.filter(DbPath path)
TODO comment
Return filters that applicable for path (filters which path covering path passed in method)
|
boolean |
DbPath.isCover(DbPath dbPath) |
DbPath |
DbPath.merge(DbPath path) |
Constructor and Description |
---|
EntityFilters(DbPath dbPath) |
EntityFilters(DbPath dbPath,
Filter<String> tableFilters,
Filter<String> columnFilters,
Filter<String> proceduresFilters) |
Copyright © 2001–2015 Apache Cayenne. All rights reserved.