
public class OIndexFullText extends OIndexMultiValues
OIndexAbstract.IndexConfiguration, OIndexAbstract.IndexTxSnapshotapiVersion, binaryFormatVersion, clustersToIndex, CONFIG_MAP_RID, indexId, metadata, storage, valueContainerAlgorithmALGORITHM, CONFIG_AUTOMATIC, CONFIG_KEYTYPE, CONFIG_NAME, CONFIG_TYPE, INDEX_DEFINITION, INDEX_DEFINITION_CLASS, INDEX_VERSION, METADATA, VALUE_CONTAINER_ALGORITHMMERGE_KEYS| Constructor and Description |
|---|
OIndexFullText(String name,
String typeId,
String algorithm,
int version,
OAbstractPaginatedStorage storage,
String valueContainerAlgorithm,
ODocument metadata,
int binaryFormatVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeUsedInEqualityOperators()
Indicates whether given index can be used to calculate result of
OQueryOperatorEquality
operators. |
OIndexInternal<?> |
create(OIndexDefinition indexDefinition,
String clusterIndexName,
Set<String> clustersToIndex,
boolean rebuild,
OProgressListener progressListener,
OBinarySerializer valueSerializer)
Creates the index.
|
OIndexMultiValues |
create(String name,
OIndexDefinition indexDefinition,
String clusterIndexName,
Set<String> clustersToIndex,
boolean rebuild,
OProgressListener progressListener)
Creates the index.
|
protected OIndexAbstract.IndexConfiguration |
indexConfigurationInstance(ODocument document) |
boolean |
isNativeTxSupported() |
OIndexFullText |
put(Object key,
OIdentifiable singleValue)
Indexes a value and save the index.
|
boolean |
remove(Object key,
OIdentifiable value)
Splits passed in key on several words and remove records with keys equals to any item of split result and values equals to
passed in value.
|
boolean |
supportsOrderedIterations() |
ODocument |
updateConfiguration()
Saves the index configuration to disk.
|
count, cursor, descCursor, determineValueSerializer, doPut, doRemove, get, getKeySize, getSize, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinoracquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, addTxOperation, clear, clearSnapshot, close, commit, commitSnapshot, compareTo, contains, delete, doReloadIndexEngine, doRemove, equals, flush, getAlgorithm, getClusters, getCollatingValue, getConfiguration, getDatabase, getDatabaseName, getDefinition, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getType, getVersion, hashCode, hasRangeQuerySupport, interpretTxKeyChanges, isAutomatic, isRebuilding, isUnique, keyCursor, loadFromConfiguration, loadMetadata, loadMetadataInternal, onIndexEngineChange, postCommit, putInSnapshot, rebuild, rebuild, releaseExclusiveLock, releaseSharedLock, remove, removeCluster, removeFromSnapshot, setRebuildingFlag, setType, toStringpublic OIndexFullText put(Object key, OIdentifiable singleValue)
put in interface OIndex<Collection<ORID>>put in class OIndexMultiValueskey - Entry's keysingleValue - Entry's value as OIdentifiable instancepublic boolean isNativeTxSupported()
isNativeTxSupported in interface OIndexInternal<Collection<ORID>>isNativeTxSupported in class OIndexMultiValuespublic boolean remove(Object key, OIdentifiable value)
remove in interface OIndex<Collection<ORID>>remove in class OIndexMultiValueskey - Key to remove.value - Value to remove.true if at least one record is removed.public OIndexInternal<?> create(OIndexDefinition indexDefinition, String clusterIndexName, Set<String> clustersToIndex, boolean rebuild, OProgressListener progressListener, OBinarySerializer valueSerializer)
OIndexAbstractcreate in class OIndexAbstract<Collection<ORID>>clusterIndexName - Cluster name where to place the TreeMappublic OIndexMultiValues create(String name, OIndexDefinition indexDefinition, String clusterIndexName, Set<String> clustersToIndex, boolean rebuild, OProgressListener progressListener)
OIndexcreate in interface OIndex<Collection<ORID>>create in class OIndexMultiValuesclusterIndexName - Cluster name where to place the TreeMappublic ODocument updateConfiguration()
OIndexInternalupdateConfiguration in interface OIndexInternal<Collection<ORID>>updateConfiguration in class OIndexAbstract<Collection<ORID>>OIndex.getConfiguration()protected OIndexAbstract.IndexConfiguration indexConfigurationInstance(ODocument document)
public boolean canBeUsedInEqualityOperators()
OIndexInternalOQueryOperatorEquality
operators.true if given index can be used to calculate result of OQueryOperatorEquality
operators.public boolean supportsOrderedIterations()
Copyright © 2009–2025 OrientDB. All rights reserved.