Package | Description |
---|---|
org.nuxeo.ecm.core.storage.sql |
Implementation of a Nuxeo repository over an SQL database.
|
org.nuxeo.ecm.core.storage.sql.jdbc |
Modifier and Type | Field and Description |
---|---|
Row |
RowMapper.RowUpdate.row |
protected Row |
Fragment.row
The row holding the data.
|
Modifier and Type | Field and Description |
---|---|
List<Row> |
RowMapper.RowBatch.creates
Creates are done first and are ordered.
|
Modifier and Type | Method and Description |
---|---|
protected Row |
UnifiedCachingRowMapper.cacheGet(RowId rowId) |
protected Row |
SoftRefCachingRowMapper.cacheGet(RowId rowId) |
Row |
Row.clone() |
Row |
UnifiedCachingRowMapper.readSimpleRow(RowId rowId) |
Row |
SoftRefCachingRowMapper.readSimpleRow(RowId rowId) |
Row |
RowMapper.readSimpleRow(RowId rowId)
Gets a row for a
SimpleFragment from the database, given its table name and id. |
Modifier and Type | Method and Description |
---|---|
List<Row> |
UnifiedCachingRowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne) |
List<Row> |
SoftRefCachingRowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne) |
List<Row> |
RowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne)
Reads the rows corresponding to a selection.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UnifiedCachingRowMapper.cachePut(Row row) |
protected void |
SoftRefCachingRowMapper.cachePut(Row row) |
protected void |
UnifiedCachingRowMapper.cachePutAbsentIfNull(RowId rowId,
Row row) |
protected void |
SoftRefCachingRowMapper.cachePutAbsentIfNull(RowId rowId,
Row row) |
RowMapper.CopyResult |
UnifiedCachingRowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow) |
RowMapper.CopyResult |
SoftRefCachingRowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow) |
RowMapper.CopyResult |
RowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow)
Copies the hierarchy starting from a given row to a new parent with a new name.
|
SimpleFragment |
PersistenceContext.createHierarchyFragment(Row row) |
protected static boolean |
UnifiedCachingRowMapper.isAbsent(Row row) |
protected static boolean |
SoftRefCachingRowMapper.isAbsent(Row row) |
Constructor and Description |
---|
CollectionFragment(Row row,
Fragment.State state,
PersistenceContext context)
Constructs a
CollectionFragment from a Row . |
Fragment(Row row,
Fragment.State state,
PersistenceContext context)
|
RowUpdate(Row row)
Constructor for collection fragment full update.
|
RowUpdate(Row row,
Collection<String> keys)
Constructor for simple fragment update.
|
RowUpdate(Row row,
int pos)
Constructor for collection fragment right push update.
|
SimpleFragment(Row row,
Fragment.State state,
PersistenceContext context)
Constructs a
SimpleFragment from a Row . |
Modifier and Type | Method and Description |
---|---|
Row |
JDBCRowMapper.readSimpleRow(RowId rowId) |
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).
|
protected List<Row> |
JDBCRowMapper.readCollectionArrays(String tableName,
Collection<Serializable> ids)
Reads several collection rows, given a table name and the ids.
|
List<Row> |
JDBCRowMapper.readSelectionRows(SelectionType selType,
Serializable selId,
Serializable filter,
Serializable criterion,
boolean limitToOne) |
protected List<Row> |
JDBCRowMapper.readSimpleRows(String tableName,
Collection<Serializable> ids)
Gets a list of rows for
SimpleFragment s from the database, given the table name and the ids. |
Modifier and Type | Method and Description |
---|---|
RowMapper.CopyResult |
JDBCRowMapper.copy(RowMapper.IdWithTypes source,
Serializable destParentId,
String destName,
Row overwriteRow) |
void |
JDBCLogger.logSQL(String sql,
List<Column> columns,
Row row) |
void |
JDBCLogger.logSQL(String sql,
List<Column> columns,
Row row,
List<Column> whereColumns,
Map<String,Serializable> conditions) |
protected void |
JDBCRowMapper.updateSimpleRowWithValues(String tableName,
Row row)
Updates a row in the database with given explicit values.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JDBCRowMapper.insertSimpleRows(String tableName,
List<Row> rows)
Inserts multiple rows, all for the same table.
|
protected void |
JDBCRowMapper.writeCreates(List<Row> creates) |
Copyright © 2017 Nuxeo. All rights reserved.