| Constructor and Description |
|---|
CTFullTextIndex()
Default constructor for the CTFullTextIndex class.
|
CTFullTextIndex(CTFullTextIndex FTI)
Copy constructor for the CTFullTextIndex class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddField(CTField field,
int mode)
Add a new field to Full Text Index
|
void |
finalize()
Destroys an allocated CTFullTextIndex object This method should be called
in order to avoid memory leaks.
|
CTField |
GetField(int fieldNumber)
Retrieve a Full Text index field
|
int |
GetFieldCount()
Retrieve the Full Text index field count.
|
int |
GetFieldMode(int FieldNumber)
Retrieve a Full Text index field mode
|
java.lang.String |
GetName()
Retrieve the Full Text index name
|
int |
GetNumber()
Retrieve the ordinal number of the current Full Text index
|
int |
GetStatus()
Retrieve the status of the index handle.
|
void |
SetOption(int option,
java.lang.String stringValue,
int intValue)
Set Full Text index options
|
Abort, Begin, ClearSavePoint, Commit, GetAutoCommit, GetHandle, GetKeepLock, GetLockMode, GetOperation, GetTransactionMode, IsLockActive, IsTransActive, IsUnicodeLib, Lock, PrepareCommit, RestoreSavePoint, SetAutoCommit, SetHandle, SetKeepLock, SetOperation, SetSavePoint, SetTransactionMode, Unlockpublic CTFullTextIndex()
CTFullTextIndex(CTFullTextIndex),
finalize()public CTFullTextIndex(CTFullTextIndex FTI)
FTI - CTFullTextIndex object to be copiedCTFullTextIndex(),
finalize()public void finalize()
finalize in class java.lang.ObjectCTFullTextIndex(FairCom.CtreeDb.CTFullTextIndex)public void AddField(CTField field, int mode) throws CTException
field - the field object to addmode - the full text search field matching mode use the
FTI_FIELD_MODE class members to pass this
valueCTException - in case of errorGetFieldCount(),
GetField(int)public int GetFieldCount()
throws CTException
CTException - in case of errorAddField(FairCom.CtreeDb.CTField, int),
GetField(int)public CTField GetField(int fieldNumber) throws CTException
fieldNumber - the field number to getCTField representing the field at the
passed position in the indexCTException - in case of errorpublic int GetStatus()
FTI_STATUS for
comparisonpublic void SetOption(int option,
java.lang.String stringValue,
int intValue)
throws CTException
option - the option to set use the
FTI_OPTION to pass this parameterstringValue - value to set the option to for option taking string
valueintValue - value to set the option to for option taking integer
value to pass this value the members of the following classes can be
used: FTI_OPTION_UPDATECTException - in case of errorFTI_OPTION,
FTI_OPTION_TOKENIZER,
FTI_OPTION_UPDATEpublic java.lang.String GetName()
throws CTException
CTException - in case of errorpublic int GetNumber()
throws CTException
CTException - in case of errorpublic int GetFieldMode(int FieldNumber)
throws CTException
FieldNumber - the field numberCTException - in case of errorGetField(int),
AddField(FairCom.CtreeDb.CTField, int)