
public class ODefaultIndexFactory extends Object implements OIndexFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
NONE_VALUE_CONTAINER |
static String |
SBTREE_ALGORITHM |
static String |
SBTREEBONSAI_VALUE_CONTAINER |
| Constructor and Description |
|---|
ODefaultIndexFactory() |
| Modifier and Type | Method and Description |
|---|---|
OIndexInternal<?> |
createIndex(String name,
ODatabaseDocumentInternal database,
String indexType,
String algorithm,
String valueContainerAlgorithm,
ODocument metadata,
int version)
Creates an index.
|
OIndexEngine |
createIndexEngine(String algorithm,
String name,
Boolean durableInNonTxMode,
OStorage storage,
int version,
Map<String,String> engineProperties) |
Set<String> |
getAlgorithms() |
int |
getLastVersion() |
Set<String> |
getTypes()
Index types :
UNIQUE
NOTUNIQUE
FULLTEXT
DICTIONARY
|
static boolean |
isMultiValueIndex(String indexType) |
public static final String SBTREE_ALGORITHM
public static final String SBTREEBONSAI_VALUE_CONTAINER
public static final String NONE_VALUE_CONTAINER
public static boolean isMultiValueIndex(String indexType)
public Set<String> getTypes()
getTypes in interface OIndexFactorypublic Set<String> getAlgorithms()
getAlgorithms in interface OIndexFactorypublic OIndexInternal<?> createIndex(String name, ODatabaseDocumentInternal database, String indexType, String algorithm, String valueContainerAlgorithm, ODocument metadata, int version) throws OConfigurationException
OIndexFactorycreateIndex in interface OIndexFactoryindexType - index typeOConfigurationException - if index creation failedpublic int getLastVersion()
getLastVersion in interface OIndexFactorypublic OIndexEngine createIndexEngine(String algorithm, String name, Boolean durableInNonTxMode, OStorage storage, int version, Map<String,String> engineProperties)
createIndexEngine in interface OIndexFactoryCopyright © 2009–2025 OrientDB. All rights reserved.