
public class OIndexDefinitionFactory extends Object
OIndexDefinition creation.
IMPORTANT: This class designed for internal usage only.
| Constructor and Description |
|---|
OIndexDefinitionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static OIndexDefinition |
createIndexDefinition(OClass oClass,
List<String> fieldNames,
List<OType> types,
List<OCollate> collates,
String indexKind,
String algorithm)
Creates an instance of
OIndexDefinition for automatic index. |
static String |
extractFieldName(String fieldDefinition)
Extract field name from '
|
public static OIndexDefinition createIndexDefinition(OClass oClass, List<String> fieldNames, List<OType> types, List<OCollate> collates, String indexKind, String algorithm)
OIndexDefinition for automatic index.oClass - class which will be indexedfieldNames - list of properties which will be indexed. Format should be 'types - types of indexed propertiescollates - indexKind - algorithm - Copyright © 2009–2025 OrientDB. All rights reserved.