Uses of Class
org.nuxeo.ecm.core.storage.sql.Model
Package
Description
Implementation of a Nuxeo repository over an SQL database.
Internal API to deal with the database by generating SQL statements.
Database
Dialect
s implementations;
a Dialect encapsulates knowledge about database-specific behavior.-
Uses of Model in org.nuxeo.ecm.core.opencmis.impl.server
Modifier and TypeMethodDescriptionCMISQLQueryMaker.buildQuery
(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String statement, QueryFilter queryFilter, Object... params) Builds the query. -
Uses of Model in org.nuxeo.ecm.core.storage.sql
Modifier and TypeFieldDescriptionCapturingQueryMaker.Captured.model
protected final Model
PersistenceContext.model
protected final Model
VCSLockManager.model
Modifier and TypeMethodDescriptionRepositoryImpl.getModel()
Session.getModel()
Gets theModel
associated to this session.SessionImpl.getModel()
Modifier and TypeMethodDescriptionCapturingQueryMaker.buildQuery
(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params) protected Mapper
RepositoryImpl.createCachingMapper
(Model model, Mapper mapper) void
CachingMapper.initialize
(String repositoryName, Model model, Mapper mapper, VCSInvalidationsPropagator cachePropagator, Map<String, String> properties) Initialize the caching mapper instancevoid
SoftRefCachingMapper.initialize
(String repositoryName, Model model, Mapper mapper, VCSInvalidationsPropagator cachePropagator, Map<String, String> properties) void
SoftRefCachingRowMapper.initialize
(String repositoryName, Model model, RowMapper rowMapper, VCSInvalidationsPropagator cachePropagator, Map<String, String> properties) void
UnifiedCachingMapper.initialize
(String repositoryName, Model model, Mapper mapper, VCSInvalidationsPropagator invalidationsPropagator, Map<String, String> properties) void
UnifiedCachingRowMapper.initialize
(String repositoryName, Model model, RowMapper rowMapper, VCSInvalidationsPropagator invalidationsPropagator, Map<String, String> properties) ModifierConstructorDescriptionPersistenceContext
(Model model, RowMapper mapper, SessionImpl session) SessionImpl
(RepositoryImpl repository, Model model, Mapper mapper) -
Uses of Model in org.nuxeo.ecm.core.storage.sql.jdbc
Modifier and TypeFieldDescriptionprotected final Model
JDBCConnection.model
The model used to do the mapping.protected Model
NXQLQueryMaker.model
Modifier and TypeMethodDescriptionNXQLQueryMaker.buildQuery
(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params) QueryMaker.buildQuery
(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params) Builds the query.protected static boolean
NXQLQueryMaker.findFulltextIndexOrField
(Model model, String[] nameref) ACLCollectionIO.getCurrentFromResultSet
(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos) CollectionIO.getCurrentFromResultSet
(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos) Gets one value from the current position of the result set.ScalarCollectionIO.getCurrentFromResultSet
(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos) ModifierConstructorDescriptionJDBCConnection
(Model model, SQLInfo sqlInfo) Creates a new Mapper.JDBCMapper
(Model model, Session.PathResolver pathResolver, SQLInfo sqlInfo, VCSClusterInvalidator clusterInvalidator, RepositoryImpl repository) Creates a new Mapper.JDBCRowMapper
(Model model, SQLInfo sqlInfo, VCSClusterInvalidator clusterInvalidator, VCSInvalidationsPropagator invalidationsPropagator) -
Uses of Model in org.nuxeo.ecm.core.storage.sql.jdbc.db
Modifier and TypeMethodDescriptionTable.addColumn
(String name, ColumnType type, String key, Model model) Adds aColumn
to the table.TableAlias.addColumn
(String name, ColumnType type, String key, Model model) TableImpl.addColumn
(String name, ColumnType type, String key, Model model) 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.TableAlias.getPostAddSqls
(Column column, Model model) TableImpl.getPostAddSqls
(Column column, Model model) Table.getPostCreateSqls
(Model model) Computes the SQL statements to finish creating the table, usually some ALTER TABLE statements to add constraints or indexes.TableAlias.getPostCreateSqls
(Model model) TableImpl.getPostCreateSqls
(Model model) protected void
TableImpl.postAddColumn
(Column column, List<String> sqls, Model model) -
Uses of Model in org.nuxeo.ecm.core.storage.sql.jdbc.dialect
Modifier and TypeMethodDescriptionabstract String
Dialect.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) Gets a CREATE INDEX statement for a fulltext index.DialectDB2.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) DialectH2.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) DialectMySQL.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) DialectOracle.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) DialectPostgreSQL.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) DialectSQLServer.getCreateFulltextIndexSql
(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model) Dialect.getCreateIndexSql
(String indexName, Table.IndexType indexType, Table table, List<Column> columns, Model model) Gets a CREATE INDEX statement for an index.Dialect.getCustomPostCreateSqls
(Table table, Model model) Additional things to execute after CREATE TABLE.DialectPostgreSQL.getCustomPostCreateSqls
(Table table, Model model) DialectSQLServer.getCustomPostCreateSqls
(Table table, Model model) 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.DialectDB2.getFulltextScoredMatchInfo
(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database) DialectH2.getFulltextScoredMatchInfo
(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database) DialectMySQL.getFulltextScoredMatchInfo
(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database) DialectOracle.getFulltextScoredMatchInfo
(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database) DialectPostgreSQL.getFulltextScoredMatchInfo
(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database) DialectSQLServer.getFulltextScoredMatchInfo
(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database) abstract Map<String,
Serializable> Dialect.getSQLStatementsProperties
(Model model, Database database) Gets the properties to use with the SQL statements.DialectDB2.getSQLStatementsProperties
(Model model, Database database) DialectH2.getSQLStatementsProperties
(Model model, Database database) DialectMySQL.getSQLStatementsProperties
(Model model, Database database) DialectOracle.getSQLStatementsProperties
(Model model, Database database) DialectPostgreSQL.getSQLStatementsProperties
(Model model, Database database) DialectSQLServer.getSQLStatementsProperties
(Model model, Database database) Dialect.getStartupSqls
(Model model, Database database) Gets the sql statements to execute after the repository init (at startup).DialectOracle.getStartupSqls
(Model model, Database database) DialectPostgreSQL.getStartupSqls
(Model model, Database database) DialectSQLServer.getStartupSqls
(Model model, Database database) -
Uses of Model in org.nuxeo.ecm.platform.tag
Modifier and TypeMethodDescriptionTagQueryMaker.buildQuery
(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params)