Class OHashIndexFactory
java.lang.Object
com.orientechnologies.orient.core.storage.index.hashindex.local.OHashIndexFactory
- All Implemented Interfaces:
OIndexFactory
- Author:
- Artem Orobets (enisher-at-gmail.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal OIndexInternalcreateIndex(OStorage storage, OIndexMetadata im) Creates an index.createIndexEngine(OStorage storage, IndexEngineData data) final intgetLastVersion(String algorithm) getTypes()Index types : UNIQUE NOTUNIQUE FULLTEXT DICTIONARY
-
Field Details
-
HASH_INDEX_ALGORITHM
- See Also:
-
-
Constructor Details
-
OHashIndexFactory
public OHashIndexFactory()
-
-
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 final 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
-