Class ODefaultIndexFactory
java.lang.Object
com.orientechnologies.orient.core.index.ODefaultIndexFactory
- All Implemented Interfaces:
OIndexFactory
Default OrientDB index factory for indexes based on SBTree.
Supports index types:
Supports index types:
- UNIQUE
- NOTUNIQUE
- FULLTEXT
- DICTIONARY
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndex(OStorage storage, OIndexMetadata im) Creates an index.createIndexEngine(OStorage storage, IndexEngineData data) intgetLastVersion(String algorithm) getTypes()Index types : UNIQUE NOTUNIQUE FULLTEXT DICTIONARY
-
Field Details
-
SBTREE_BONSAI_VALUE_CONTAINER
- See Also:
-
NONE_VALUE_CONTAINER
- See Also:
-
-
Constructor Details
-
ODefaultIndexFactory
public ODefaultIndexFactory()
-
-
Method Details
-
getTypes
Index types :- UNIQUE
- NOTUNIQUE
- FULLTEXT
- DICTIONARY
- Specified by:
getTypesin interfaceOIndexFactory- Returns:
- List of supported indexes of this factory
-
getAlgorithms
- Specified by:
getAlgorithmsin interfaceOIndexFactory- Returns:
- List of supported algorithms of this factory
-
createIndex
public OIndexInternal createIndex(OStorage storage, OIndexMetadata im) throws OConfigurationException Description copied from interface:OIndexFactoryCreates an index.- Specified by:
createIndexin interfaceOIndexFactoryim- TODO- Returns:
- OIndexInternal
- Throws:
OConfigurationException- if index creation failed
-
getLastVersion
- Specified by:
getLastVersionin interfaceOIndexFactory
-
createIndexEngine
- Specified by:
createIndexEnginein interfaceOIndexFactory
-