Package org.nuxeo.ecm.core.storage.sql
Class RepositoryDescriptor
java.lang.Object
org.nuxeo.ecm.core.storage.sql.RepositoryDescriptor
Low-level VCS Repository Descriptor.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionClass<? extends CachingMapper>
Class<? extends VCSClusterInvalidator>
static final String
At startup, DDL changes are detected and if not empty Nuxeo startup is aborted.static final String
Specifies that stored procedure detection must be compatible with previous Nuxeo versions.static final String
At startup, DDL changes are detected and if not empty they are dumped.static final String
At startup, DDL changes are detected and executed.static final String
At startup, DDL changes are not detected.static final int
static final int
Deprecated.since 11.1, was PostgreSQL-specific -
Constructor Summary
ConstructorDescriptionCopy constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
getNoDDL()
boolean
int
boolean
int
boolean
boolean
void
merge
(RepositoryDescriptor other) protected void
setAclOptimizationsEnabled
(boolean enabled) void
setArrayColumns
(boolean enabled) void
setChangeTokenEnabled
(boolean enabled) void
setFulltextAnalyzer
(String fulltextAnalyzer) void
setFulltextCatalog
(String fulltextCatalog) void
setFulltextDisabled
(boolean disabled) void
setFulltextExcludedTypes
(Set<String> fulltextExcludedTypes) void
setFulltextFieldSizeLimit
(int fieldSizeLimit) void
setFulltextIncludedTypes
(Set<String> fulltextIncludedTypes) void
setFulltextIndexes
(List<FulltextDescriptor.FulltextIndexDescriptor> fulltextIndexes) void
setFulltextSearchDisabled
(boolean disabled) void
setFulltextStoredInBlob
(boolean storedInBlob) void
protected void
setPathOptimizationsEnabled
(boolean enabled) protected void
setProxiesEnabled
(boolean enabled) void
setQueryMakerDeprecated
(String klass) protected void
setSoftDeleteEnabled
(boolean enabled)
-
Field Details
-
DEFAULT_READ_ACL_MAX_SIZE
Deprecated.since 11.1, was PostgreSQL-specific- See Also:
-
DEFAULT_PATH_OPTIM_VERSION
public static final int DEFAULT_PATH_OPTIM_VERSION- See Also:
-
DDL_MODE_IGNORE
At startup, DDL changes are not detected.- See Also:
-
DDL_MODE_DUMP
At startup, DDL changes are detected and if not empty they are dumped.- See Also:
-
DDL_MODE_EXECUTE
At startup, DDL changes are detected and executed.- See Also:
-
DDL_MODE_ABORT
At startup, DDL changes are detected and if not empty Nuxeo startup is aborted.- See Also:
-
DDL_MODE_COMPAT
Specifies that stored procedure detection must be compatible with previous Nuxeo versions.- See Also:
-
name
-
label
-
repositoryDescriptor
-
pool
-
clusterInvalidatorClass
-
cachingMapperClass
-
cachingMapperProperties
-
sqlInitFiles
-
idType
-
schemaFields
-
neverPerInstanceMixins
-
usersSeparatorKey
-
-
Constructor Details
-
RepositoryDescriptor
public RepositoryDescriptor() -
RepositoryDescriptor
Copy constructor.
-
-
Method Details
-
setName
-
isDefault
-
isHeadless
- Since:
- 11.2
-
getCachingMapperEnabled
public boolean getCachingMapperEnabled() -
getDDLMode
-
getNoDDL
public boolean getNoDDL() -
getSoftDeleteEnabled
public boolean getSoftDeleteEnabled() -
setSoftDeleteEnabled
protected void setSoftDeleteEnabled(boolean enabled) -
getProxiesEnabled
public boolean getProxiesEnabled() -
setProxiesEnabled
protected void setProxiesEnabled(boolean enabled) -
getArrayColumns
public boolean getArrayColumns() -
setArrayColumns
public void setArrayColumns(boolean enabled) -
getChildNameUniqueConstraintEnabled
public boolean getChildNameUniqueConstraintEnabled() -
getCollectionUniqueConstraintEnabled
public boolean getCollectionUniqueConstraintEnabled() -
setQueryMakerDeprecated
-
getFulltextAnalyzer
-
setFulltextAnalyzer
-
getFulltextCatalog
-
setFulltextCatalog
-
getFulltextDescriptor
-
setFulltextFieldSizeLimit
public void setFulltextFieldSizeLimit(int fieldSizeLimit) -
setFulltextDisabled
public void setFulltextDisabled(boolean disabled) -
setFulltextStoredInBlob
public void setFulltextStoredInBlob(boolean storedInBlob) - Since:
- 11.1
-
setFulltextSearchDisabled
public void setFulltextSearchDisabled(boolean disabled) -
setFulltextIndexes
-
setFulltextExcludedTypes
-
setFulltextIncludedTypes
-
getPathOptimizationsEnabled
public boolean getPathOptimizationsEnabled() -
setPathOptimizationsEnabled
protected void setPathOptimizationsEnabled(boolean enabled) -
getPathOptimizationsVersion
public int getPathOptimizationsVersion() -
getAclOptimizationsEnabled
public boolean getAclOptimizationsEnabled() -
setAclOptimizationsEnabled
protected void setAclOptimizationsEnabled(boolean enabled) -
getReadAclMaxSize
public int getReadAclMaxSize() -
isChangeTokenEnabled
public boolean isChangeTokenEnabled()- Since:
- 9.1
-
setChangeTokenEnabled
public void setChangeTokenEnabled(boolean enabled) - Since:
- 9.1
-
merge
-