
public class OPropertyRidBagIndexDefinition extends OAbstractIndexDefinitionMultiValue
OType.LINKBAG .className, field, keyTypecollatedocument| Constructor and Description |
|---|
OPropertyRidBagIndexDefinition() |
OPropertyRidBagIndexDefinition(String className,
String field) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createSingleValue(Object... param)
Converts passed in value in the key of single index entry.
|
Object |
createValue(List<?> params)
Calculates key value by passed in parameters.
|
Object |
createValue(Object... params)
Calculates key value by passed in parameters.
|
Object |
getDocumentValueToIndex(ODocument iDocument) |
void |
processChangeEvent(OMultiValueChangeEvent<?,?> changeEvent,
Map<Object,Integer> keysToAdd,
Map<Object,Integer> keysToRemove)
Process event that contains operation on collection and extract values that should be added removed from index to reflect
collection changes in the given index.
|
String |
toCreateIndexDDL(String indexName,
String indexType,
String engine) |
isAutomatic, processAdd, processRemovalcreateIndexDDLWithFieldType, createIndexDDLWithoutFieldType, equals, fromStream, getClassName, getFields, getFieldsToIndex, getParamCount, getTypes, hashCode, serializeFromStream, serializeToStream, toStream, toStringgetCollate, isNullValuesIgnored, setCollate, setCollate, setNullValuesIgnoredfromStream, load, reload, reload, save, savegetDocument, load, load, reloadclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, fromStream, getClassName, getCollate, getFields, getFieldsToIndex, getParamCount, getTypes, hashCode, isNullValuesIgnored, setCollate, setNullValuesIgnored, toStream, toStringpublic Object createSingleValue(Object... param)
OIndexDefinitionMultiValueparam - Value to convert.public void processChangeEvent(OMultiValueChangeEvent<?,?> changeEvent, Map<Object,Integer> keysToAdd, Map<Object,Integer> keysToRemove)
OIndexDefinitionMultiValuechangeEvent - Event that describes operation that was performed on collection.keysToAdd - Values that should be added to related index.keysToRemove - Values that should be removed to related index.public Object getDocumentValueToIndex(ODocument iDocument)
getDocumentValueToIndex in interface OIndexCallbackgetDocumentValueToIndex in class OPropertyIndexDefinitionpublic Object createValue(List<?> params)
OIndexDefinitionnull will be returned.createValue in interface OIndexDefinitioncreateValue in class OPropertyIndexDefinitionparams - Parameters from which index key will be calculated.public Object createValue(Object... params)
OPropertyIndexDefinitionnull will be returned.createValue in interface OIndexDefinitioncreateValue in class OPropertyIndexDefinitionparams - Parameters from which index key will be calculated.public String toCreateIndexDDL(String indexName, String indexType, String engine)
OPropertyIndexDefinitiontoCreateIndexDDL in interface OIndexDefinitiontoCreateIndexDDL in class OPropertyIndexDefinitionCopyright © 2009–2025 OrientDB. All rights reserved.