public class OHashIndexFactory extends Object implements OIndexFactory
Modifier and Type | Field and Description |
---|---|
static String |
HASH_INDEX_ALGORITHM |
Constructor and Description |
---|
OHashIndexFactory() |
Modifier and Type | Method and Description |
---|---|
OIndexInternal<?> |
createIndex(String name,
OStorage storage,
String indexType,
String algorithm,
String valueContainerAlgorithm,
ODocument metadata,
int version)
Creates an index.
|
OBaseIndexEngine |
createIndexEngine(String algoritm,
String name,
Boolean durableInNonTxMode,
OStorage storage,
int version,
int apiVersion,
boolean multivalue,
Map<String,String> engineProperties) |
Set<String> |
getAlgorithms() |
int |
getLastVersion(String algorithm) |
Set<String> |
getTypes()
Index types :
UNIQUE
NOTUNIQUE
FULLTEXT
DICTIONARY
|
public static final String HASH_INDEX_ALGORITHM
public Set<String> getTypes()
getTypes
in interface OIndexFactory
public Set<String> getAlgorithms()
getAlgorithms
in interface OIndexFactory
public OIndexInternal<?> createIndex(String name, OStorage storage, String indexType, String algorithm, String valueContainerAlgorithm, ODocument metadata, int version) throws OConfigurationException
OIndexFactory
createIndex
in interface OIndexFactory
storage
- TODOindexType
- index typeOConfigurationException
- if index creation failedpublic int getLastVersion(String algorithm)
getLastVersion
in interface OIndexFactory
public OBaseIndexEngine createIndexEngine(String algoritm, String name, Boolean durableInNonTxMode, OStorage storage, int version, int apiVersion, boolean multivalue, Map<String,String> engineProperties)
createIndexEngine
in interface OIndexFactory
Copyright © 2009–2020 OrientDB. All rights reserved.