Class OAutoShardingIndexFactory
java.lang.Object
com.orientechnologies.orient.core.sharding.auto.OAutoShardingIndexFactory
- All Implemented Interfaces:
OIndexFactory
Auto-sharding index factory.
Supports index types:
Supports index types:
- UNIQUE
- NOTUNIQUE
- Since:
- 3.0
-
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
-
Field Details
-
AUTOSHARDING_ALGORITHM
- See Also:
-
NONE_VALUE_CONTAINER
- See Also:
-
-
Constructor Details
-
OAutoShardingIndexFactory
public OAutoShardingIndexFactory()
-
-
Method Details
-
getTypes
Index types:- UNIQUE
- NOTUNIQUE
- 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 interfaceOIndexFactory- Parameters:
im- TODO- Returns:
- OIndexInternal
- Throws:
OConfigurationException- if index creation failed
-
getLastVersion
- Specified by:
getLastVersionin interfaceOIndexFactory
-
createIndexEngine
- Specified by:
createIndexEnginein interfaceOIndexFactory
-