Is identified by its unique label. Contains a vector of index keys that define the features of the type that should be used in the index
Public Types | |
typedef std::vector< FSIndexKeyDescription * > | TyVecpFSIndexKeys |
enum | EnIndexKind { SORTED, BAG, SET } |
Public Member Functions | |
FSIndexDescription () | |
~FSIndexDescription () | |
TyErrorId | setLabel (const icu::UnicodeString &name) |
const icu::UnicodeString & | getLabel () const |
TyErrorId | setTypeName (const icu::UnicodeString &name) |
const icu::UnicodeString & | getTypeName () const |
TyErrorId | setIndexKind (EnIndexKind kind) |
EnIndexKind | getIndexKind () const |
TyErrorId | addFSIndexKey (FSIndexKeyDescription *desc) |
NOTE: This object will assume memory ownership of desc , i.e. | |
const TyVecpFSIndexKeys & | getFSIndexKeys () const |
void | commit () |
When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return #UIMA_ERR_CONFIG_OBJECT_COMMITED#. | |
bool | isModifiable () const |
Protected Attributes | |
bool | iv_bIsModifiable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NOTE: This object will assume memory ownership of it will delete it when destroyed! |
|
|
|
When this method is called on a MetaDataObject# that must not be reconfigured after the engine is created, isModifiable()# will return false and all subsequent calls to setter methods will return #UIMA_ERR_CONFIG_OBJECT_COMMITED#. Subclasses of such MetaDataObjects must override this method to ensure that commit is propagated to its members. Note that configuration parameter values can be reconfigured after the engine is created. Hence, the #extractValue# methods of the #AnnotatorContext# can be called anytime. Reimplemented from uima::MetaDataObject. |
|
|
|
|