Package | Description |
---|---|
org.nuxeo.ecm.core.opencmis.impl.server | |
org.nuxeo.ecm.core.storage.sql |
Implementation of a Nuxeo repository over an SQL database.
|
org.nuxeo.ecm.core.storage.sql.jdbc | |
org.nuxeo.ecm.core.storage.sql.jdbc.db |
Internal API to deal with the database by generating SQL statements.
|
org.nuxeo.ecm.core.storage.sql.jdbc.dialect |
Database
Dialect s implementations;
a Dialect encapsulates knowledge about database-specific behavior. |
org.nuxeo.ecm.core.storage.sql.management |
Simple MBean to report the status of a SQL repository.
|
org.nuxeo.ecm.core.storage.sql.ra | |
org.nuxeo.ecm.platform.tag |
Modifier and Type | Field and Description |
---|---|
protected Model |
CMISQLQueryMaker.model |
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
CMISQLQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String statement,
QueryFilter queryFilter,
Object... params)
Builds the query.
|
Modifier and Type | Field and Description |
---|---|
Model |
CapturingQueryMaker.Captured.model |
protected Model |
PersistenceContext.model |
Modifier and Type | Method and Description |
---|---|
Model |
SessionImpl.getModel() |
Model |
Session.getModel()
Gets the
Model associated to this session. |
Model |
RepositoryImpl.getModel() |
Model |
RepositoryBackend.initialize(RepositoryImpl repository)
Initializer.
|
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
CapturingQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params) |
protected Mapper |
RepositoryImpl.createCachingMapper(Model model,
Mapper mapper) |
void |
UnifiedCachingMapper.initialize(String repositoryName,
Model model,
Mapper mapper,
InvalidationsPropagator invalidationsPropagator,
Map<String,String> properties) |
void |
SoftRefCachingMapper.initialize(String repositoryName,
Model model,
Mapper mapper,
InvalidationsPropagator cachePropagator,
Map<String,String> properties) |
void |
CachingMapper.initialize(String repositoryName,
Model model,
Mapper mapper,
InvalidationsPropagator cachePropagator,
Map<String,String> properties)
Initialize the caching mapper instance
|
void |
UnifiedCachingRowMapper.initialize(String repositoryName,
Model model,
RowMapper rowMapper,
InvalidationsPropagator invalidationsPropagator,
Map<String,String> properties) |
void |
SoftRefCachingRowMapper.initialize(String repositoryName,
Model model,
RowMapper rowMapper,
InvalidationsPropagator cachePropagator,
Map<String,String> properties) |
protected SessionImpl |
RepositoryImpl.newSession(Model model,
Mapper mapper) |
Constructor and Description |
---|
PersistenceContext(Model model,
RowMapper mapper,
SessionImpl session) |
SessionImpl(RepositoryImpl repository,
Model model,
Mapper mapper) |
Modifier and Type | Field and Description |
---|---|
protected Model |
NXQLQueryMaker.model |
protected Model |
JDBCConnection.model
The model used to do the mapping.
|
Modifier and Type | Method and Description |
---|---|
Model |
JDBCBackend.initialize(RepositoryImpl repository) |
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
QueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params)
Builds the query.
|
QueryMaker.Query |
NXQLQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params) |
protected static boolean |
NXQLQueryMaker.findFulltextIndexOrField(Model model,
String[] nameref) |
Serializable |
ScalarCollectionIO.getCurrentFromResultSet(ResultSet rs,
List<Column> columns,
Model model,
Serializable[] returnId,
int[] returnPos) |
Serializable |
CollectionIO.getCurrentFromResultSet(ResultSet rs,
List<Column> columns,
Model model,
Serializable[] returnId,
int[] returnPos)
Gets one value from the current position of the result set.
|
ACLRow |
ACLCollectionIO.getCurrentFromResultSet(ResultSet rs,
List<Column> columns,
Model model,
Serializable[] returnId,
int[] returnPos) |
Constructor and Description |
---|
JDBCConnection(Model model,
SQLInfo sqlInfo)
Creates a new Mapper.
|
JDBCMapper(Model model,
Session.PathResolver pathResolver,
SQLInfo sqlInfo,
ClusterInvalidator clusterInvalidator,
RepositoryImpl repository)
Creates a new Mapper.
|
JDBCRowMapper(Model model,
SQLInfo sqlInfo,
ClusterInvalidator clusterInvalidator,
InvalidationsPropagator invalidationsPropagator) |
SQLInfo(Model model,
Dialect dialect)
|
Modifier and Type | Method and Description |
---|---|
Column |
TableImpl.addColumn(String name,
ColumnType type,
String key,
Model model) |
Column |
TableAlias.addColumn(String name,
ColumnType type,
String key,
Model model) |
Column |
Table.addColumn(String name,
ColumnType type,
String key,
Model model)
Adds a
Column to the table. |
List<String> |
TableImpl.getPostAddSqls(Column column,
Model model) |
List<String> |
TableAlias.getPostAddSqls(Column column,
Model model) |
List<String> |
Table.getPostAddSqls(Column column,
Model model)
Computes the SQL statements to finish adding a column, usually some ALTER TABLE statements to add constraints or
indexes.
|
List<String> |
TableImpl.getPostCreateSqls(Model model) |
List<String> |
TableAlias.getPostCreateSqls(Model model) |
List<String> |
Table.getPostCreateSqls(Model model)
Computes the SQL statements to finish creating the table, usually some ALTER TABLE statements to add constraints
or indexes.
|
protected void |
TableImpl.postAddColumn(Column column,
List<String> sqls,
Model model) |
Modifier and Type | Method and Description |
---|---|
String |
DialectSQLServer.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectPostgreSQL.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectOracle.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectMySQL.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectHSQLDB.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectH2.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectDerby.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
String |
DialectDB2.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model) |
abstract String |
Dialect.getCreateFulltextIndexSql(String indexName,
String quotedIndexName,
Table table,
List<Column> columns,
Model model)
Gets a CREATE INDEX statement for a fulltext index.
|
String |
Dialect.getCreateIndexSql(String indexName,
Table.IndexType indexType,
Table table,
List<Column> columns,
Model model)
Gets a CREATE INDEX statement for an index.
|
List<String> |
DialectSQLServer.getCustomPostCreateSqls(Table table,
Model model) |
List<String> |
DialectPostgreSQL.getCustomPostCreateSqls(Table table,
Model model) |
List<String> |
Dialect.getCustomPostCreateSqls(Table table,
Model model)
Additional things to execute after CREATE TABLE.
|
Dialect.FulltextMatchInfo |
DialectSQLServer.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectPostgreSQL.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectOracle.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectMySQL.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectHSQLDB.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectH2.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectDerby.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
Dialect.FulltextMatchInfo |
DialectDB2.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database) |
abstract Dialect.FulltextMatchInfo |
Dialect.getFulltextScoredMatchInfo(String fulltextQuery,
String indexName,
int nthMatch,
Column mainColumn,
Model model,
Database database)
Gets the SQL information needed to do a a fulltext match, either with a direct expression in the WHERE clause, or
using a join with an additional table.
|
Map<String,Serializable> |
DialectSQLServer.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectPostgreSQL.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectOracle.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectMySQL.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectHSQLDB.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectH2.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectDerby.getSQLStatementsProperties(Model model,
Database database) |
Map<String,Serializable> |
DialectDB2.getSQLStatementsProperties(Model model,
Database database) |
abstract Map<String,Serializable> |
Dialect.getSQLStatementsProperties(Model model,
Database database)
Gets the properties to use with the SQL statements.
|
List<String> |
DialectSQLServer.getStartupSqls(Model model,
Database database) |
List<String> |
DialectPostgreSQL.getStartupSqls(Model model,
Database database) |
List<String> |
DialectOracle.getStartupSqls(Model model,
Database database) |
List<String> |
Dialect.getStartupSqls(Model model,
Database database)
Gets the sql statements to execute after the repository init (at startup).
|
Modifier and Type | Method and Description |
---|---|
Model |
MonitoredBackend.initialize(RepositoryImpl repository) |
Modifier and Type | Method and Description |
---|---|
Model |
ConnectionImpl.getModel() |
Modifier and Type | Method and Description |
---|---|
QueryMaker.Query |
TagQueryMaker.buildQuery(SQLInfo sqlInfo,
Model model,
Session.PathResolver pathResolver,
String query,
QueryFilter queryFilter,
Object... params) |
Copyright © 2018 Nuxeo. All rights reserved.