Package | Description |
---|---|
org.nuxeo.ecm.core.storage.sql.jdbc |
Modifier and Type | Field and Description |
---|---|
SQLInfo.SQLInfoSelect |
SQLInfo.SQLInfoSelection.selectAll |
SQLInfo.SQLInfoSelect |
SQLInfo.SQLInfoSelection.selectFiltered |
SQLInfo.SQLInfoSelect |
QueryMaker.Query.selectInfo |
Modifier and Type | Field and Description |
---|---|
protected Map<String,SQLInfo.SQLInfoSelect> |
SQLInfo.selectFragmentById |
Modifier and Type | Method and Description |
---|---|
SQLInfo.SQLInfoSelect |
SQLInfo.getCopyHier(boolean explicitName,
boolean resetVersion) |
SQLInfo.SQLInfoSelect |
SQLInfo.getSelectAncestorsIds()
Select all ancestors ids for several fragments.
|
SQLInfo.SQLInfoSelect |
SQLInfo.getSelectChildrenNodeInfos(int nids)
Selects all children (not complex) for several parent ids.
|
SQLInfo.SQLInfoSelect |
SQLInfo.getSelectFragmentsByIds(String tableName,
int nids)
Select by ids for all values of several fragments.
|
SQLInfo.SQLInfoSelect |
SQLInfo.getSelectFragmentsByIds(String tableName,
int nids,
String[] orderBys,
Set<String> skipColumns)
Select by ids for all values of several fragments (maybe ordered along columns -- for collection fragments
retrieval).
|
SQLInfo.SQLInfoSelect |
SQLInfo.getSelectParentIds(int nids)
Select parentid by ids for all values of several fragments.
|
SQLInfo.SQLInfoSelect |
SQLInfo.SQLInfoSelection.getSelectSelectionIds(int nids)
Select selection ids for multiple values.
|
SQLInfo.SQLInfoSelect |
SQLInfo.getUpdateById(String tableName,
RowMapper.RowUpdate rowu)
UPDATE tableName SET key1 = ?, key2 = ?, ...
|
SQLInfo.SQLInfoSelect |
SQLInfo.makeSelect(Table table,
String[] orderBys,
String... freeColumns)
Basic SELECT x, y, z FROM table WHERE a = ? AND b = ?
|
SQLInfo.SQLInfoSelect |
SQLInfo.makeSelect(Table table,
String from,
List<String> clauses,
String[] orderBys,
String... freeColumns)
Same as above but the FROM can be passed in, to allow JOINs.
|
Modifier and Type | Method and Description |
---|---|
protected List<Row> |
JDBCRowMapper.getSelectRows(String tableName,
SQLInfo.SQLInfoSelect select,
Map<String,Serializable> criteriaMap,
Map<String,Serializable> joinMap,
boolean limitToOne)
Fetches the rows for a select with fixed criteria given as two maps (a criteriaMap whose values and up in the
returned rows, and a joinMap for other criteria).
|
Modifier and Type | Method and Description |
---|---|
protected <T> PartialList<T> |
JDBCMapper.queryProjection(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo,
JDBCMapper.BiFunctionSQLException<SQLInfo.SQLInfoSelect,ResultSet,T> extractor,
Object... params) |
Copyright © 2017 Nuxeo. All rights reserved.