Uses of Class
org.nuxeo.ecm.core.storage.sql.Model
-
Packages that use Model 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 DatabaseDialect
s implementations; a Dialect encapsulates knowledge about database-specific behavior.org.nuxeo.ecm.platform.tag -
-
Uses of Model in org.nuxeo.ecm.core.opencmis.impl.server
Fields in org.nuxeo.ecm.core.opencmis.impl.server declared as Model Modifier and Type Field Description protected Model
CMISQLQueryMaker. model
Methods in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type Model Modifier and Type Method Description QueryMaker.Query
CMISQLQueryMaker. 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
Fields in org.nuxeo.ecm.core.storage.sql declared as Model Modifier and Type Field Description Model
CapturingQueryMaker.Captured. model
protected Model
PersistenceContext. model
protected Model
VCSLockManager. model
Methods in org.nuxeo.ecm.core.storage.sql that return Model Modifier and Type Method Description Model
RepositoryImpl. getModel()
Model
Session. getModel()
Gets theModel
associated to this session.Model
SessionImpl. getModel()
Methods in org.nuxeo.ecm.core.storage.sql with parameters of type Model Modifier and Type Method 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
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)
Constructors in org.nuxeo.ecm.core.storage.sql with parameters of type Model Constructor Description PersistenceContext(Model model, RowMapper mapper, SessionImpl session)
SessionImpl(RepositoryImpl repository, Model model, Mapper mapper)
-
Uses of Model in org.nuxeo.ecm.core.storage.sql.jdbc
Fields in org.nuxeo.ecm.core.storage.sql.jdbc declared as Model Modifier and Type Field Description protected Model
JDBCConnection. model
The model used to do the mapping.protected Model
NXQLQueryMaker. model
Methods in org.nuxeo.ecm.core.storage.sql.jdbc with parameters of type Model Modifier and Type Method Description QueryMaker.Query
NXQLQueryMaker. buildQuery(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params)
QueryMaker.Query
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)
ACLRow
ACLCollectionIO. 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.Serializable
ScalarCollectionIO. getCurrentFromResultSet(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos)
Constructors in org.nuxeo.ecm.core.storage.sql.jdbc with parameters of type Model Constructor Description JDBCConnection(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)
SQLInfo(Model model, Dialect dialect, boolean requiresClusterSQL)
-
Uses of Model in org.nuxeo.ecm.core.storage.sql.jdbc.db
Methods in org.nuxeo.ecm.core.storage.sql.jdbc.db with parameters of type Model Modifier and Type Method Description Column
Table. addColumn(String name, ColumnType type, String key, Model model)
Adds aColumn
to the table.Column
TableAlias. addColumn(String name, ColumnType type, String key, Model model)
Column
TableImpl. addColumn(String name, ColumnType type, String key, 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>
TableAlias. getPostAddSqls(Column column, Model model)
List<String>
TableImpl. getPostAddSqls(Column column, 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.List<String>
TableAlias. getPostCreateSqls(Model model)
List<String>
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
Methods in org.nuxeo.ecm.core.storage.sql.jdbc.dialect with parameters of type Model Modifier and Type Method Description 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
DialectDB2. 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
DialectMySQL. 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
DialectPostgreSQL. getCreateFulltextIndexSql(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model)
String
DialectSQLServer. getCreateFulltextIndexSql(String indexName, String quotedIndexName, Table table, List<Column> columns, Model model)
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>
Dialect. getCustomPostCreateSqls(Table table, Model model)
Additional things to execute after CREATE TABLE.List<String>
DialectPostgreSQL. getCustomPostCreateSqls(Table table, Model model)
List<String>
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.Dialect.FulltextMatchInfo
DialectDB2. 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
DialectMySQL. 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
DialectPostgreSQL. getFulltextScoredMatchInfo(String fulltextQuery, String indexName, int nthMatch, Column mainColumn, Model model, Database database)
Dialect.FulltextMatchInfo
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.Map<String,Serializable>
DialectDB2. getSQLStatementsProperties(Model model, Database database)
Map<String,Serializable>
DialectH2. getSQLStatementsProperties(Model model, Database database)
Map<String,Serializable>
DialectMySQL. getSQLStatementsProperties(Model model, Database database)
Map<String,Serializable>
DialectOracle. getSQLStatementsProperties(Model model, Database database)
Map<String,Serializable>
DialectPostgreSQL. getSQLStatementsProperties(Model model, Database database)
Map<String,Serializable>
DialectSQLServer. getSQLStatementsProperties(Model model, Database database)
List<String>
Dialect. getStartupSqls(Model model, Database database)
Gets the sql statements to execute after the repository init (at startup).List<String>
DialectOracle. getStartupSqls(Model model, Database database)
List<String>
DialectPostgreSQL. getStartupSqls(Model model, Database database)
List<String>
DialectSQLServer. getStartupSqls(Model model, Database database)
-
Uses of Model in org.nuxeo.ecm.platform.tag
Methods in org.nuxeo.ecm.platform.tag with parameters of type Model Modifier and Type Method Description QueryMaker.Query
TagQueryMaker. buildQuery(SQLInfo sqlInfo, Model model, Session.PathResolver pathResolver, String query, QueryFilter queryFilter, Object... params)
-