public class SQLDirectoryDescriptor extends BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
Modifier and Type | Field and Description |
---|---|
String |
dataSourceName |
Boolean |
nativeCase |
static int |
QUERY_SIZE_LIMIT_DEFAULT |
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, dataFileCharacterSeparator, dataFileName, DEFAULT_DATA_FILE_CHARACTER_SEPARATOR, extendz, idField, name, negativeCaching, parentDirectory, passwordField, passwordHashAlgorithm, permissions, READ_ONLY_DEFAULT, readOnly, remove, schemaName, SUBSTRING_MATCH_TYPE_DEFAULT, substringMatchType, tableName, template, types
Constructor and Description |
---|
SQLDirectoryDescriptor() |
Modifier and Type | Method and Description |
---|---|
SQLDirectoryDescriptor |
clone()
Sub-classes MUST OVERRIDE and use a more specific return type.
|
String |
getDataSourceName() |
int |
getQuerySizeLimit() |
SQLStaticFilter[] |
getStaticFilters() |
TableReferenceDescriptor[] |
getTableReferences() |
boolean |
isComputeMultiTenantId()
Returns
true if a multi tenant id should be computed for this directory, if the directory has support for
multi tenancy, false otherwise. |
void |
merge(BaseDirectoryDescriptor other) |
protected void |
merge(SQLDirectoryDescriptor other) |
SQLDirectory |
newDirectory()
Creates a new
Directory instance from this {@link BaseDirectoryDescriptor). |
void |
setDataSourceName(String dataSourceName) |
void |
setQuerySizeLimit(int querySizeLimit) |
getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDeleteConstraints, getInverseReferences, getReferences, getSubstringMatchType, isAutoincrementIdField, isReadOnly, setAutoincrementIdField, setReadOnly
public static final int QUERY_SIZE_LIMIT_DEFAULT
public String dataSourceName
public Boolean nativeCase
public SQLDirectoryDescriptor()
public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
public TableReferenceDescriptor[] getTableReferences()
public int getQuerySizeLimit()
public void setQuerySizeLimit(int querySizeLimit)
public SQLStaticFilter[] getStaticFilters()
public boolean isComputeMultiTenantId()
true
if a multi tenant id should be computed for this directory, if the directory has support for
multi tenancy, false
otherwise.public void merge(BaseDirectoryDescriptor other)
merge
in class BaseDirectoryDescriptor
protected void merge(SQLDirectoryDescriptor other)
public SQLDirectoryDescriptor clone()
BaseDirectoryDescriptor
Usually it's bad to use clone(), and a copy-constructor is preferred, but here we want the copy method to be inheritable so clone() is appropriate.
clone
in class BaseDirectoryDescriptor
public SQLDirectory newDirectory()
BaseDirectoryDescriptor
Directory
instance from this {@link BaseDirectoryDescriptor).newDirectory
in class BaseDirectoryDescriptor
Copyright © 2017 Nuxeo. All rights reserved.