|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.search.datadictionary.DataDictionaryController
public abstract class DataDictionaryController
A Class class.
| Constructor Summary | |
|---|---|
DataDictionaryController()
|
|
| Method Summary | |
|---|---|
static void |
addIndex(DIndex dIndex)
This method adds an index entry to the data dictionary and saves it. |
static void |
addIndex(java.lang.String indexTypeName)
Adds the index. |
static boolean |
deleteIndex(java.lang.String indexName)
This method removes an index entry from the data dictionary. |
static DAnyFinderDataDictionary |
getDataDictionary()
Gets the data dictionary. |
static DAnyFinderDataDictionary |
getDataDictionaryTypes()
Gets the data dictionary types. |
static java.lang.String |
getExistingIndexName(java.lang.String indexName)
Checks whether an index with a given name exists and returns that name if such an index is found. |
static DIndex |
getIndex(java.lang.String indexName)
Gets the index. |
static boolean |
hasIndex(java.lang.String indexName)
Checks for index. |
static boolean |
hasIndexIgnoreCase(java.lang.String indexName)
This method checks whether an index with the same name already exists in the data dictionary. |
static boolean |
renameIndex(java.lang.String indexName,
java.lang.String newIndexName)
Rename index. |
static void |
setIndexConfiguration(java.lang.String indexName,
DConfiguration dConfiguration)
Sets the index configuration. |
static void |
validateConfiguration(DConfiguration dConfiguration,
DIndexStructure dIS)
Validate configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataDictionaryController()
| Method Detail |
|---|
public static void addIndex(DIndex dIndex)
throws DataDictionaryException
dIndex - the d index
DataDictionaryException - the data dictionary exception
public static void addIndex(java.lang.String indexTypeName)
throws DataDictionaryException
indexTypeName - the index type name
DataDictionaryException - the data dictionary exception
public static boolean renameIndex(java.lang.String indexName,
java.lang.String newIndexName)
throws DataDictionaryException
indexName - the index namenewIndexName - the new index name
DataDictionaryException - the data dictionary exception
public static boolean deleteIndex(java.lang.String indexName)
throws DataDictionaryException
indexName - the index name
DataDictionaryException - the data dictionary exception
public static DAnyFinderDataDictionary getDataDictionaryTypes()
throws DataDictionaryException
DataDictionaryException - the data dictionary exception
public static DAnyFinderDataDictionary getDataDictionary()
throws DataDictionaryException
DataDictionaryException - the data dictionary exception
public static java.lang.String getExistingIndexName(java.lang.String indexName)
throws DataDictionaryException
hasIndexIgnoreCase() returns true, this method can be used to obtain the name of the index in the
same writing as is used in the data dictionary.
indexName - -
The name of the index to search for
DataDictionaryException - if the data dictionary cannot be loaded
public static DIndex getIndex(java.lang.String indexName)
throws DataDictionaryException
indexName - the index name
DataDictionaryException - the data dictionary exception
public static boolean hasIndex(java.lang.String indexName)
throws DataDictionaryException
indexName - the index name
DataDictionaryException - the data dictionary exception
public static boolean hasIndexIgnoreCase(java.lang.String indexName)
throws DataDictionaryException
indexName - -
The name of the index to check
DataDictionaryException - if the data dictionary cannot be loaded
public static void setIndexConfiguration(java.lang.String indexName,
DConfiguration dConfiguration)
throws DataDictionaryException
indexName - the index namedConfiguration - the d configuration
DataDictionaryException - the data dictionary exception
public static void validateConfiguration(DConfiguration dConfiguration,
DIndexStructure dIS)
throws DataDictionaryException
dConfiguration - the d configurationdIS - the d is
DataDictionaryException - the data dictionary exception
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||