
public class ORuntimeKeyIndexDefinition<T> extends OAbstractIndexDefinition
collatedocument| Constructor and Description |
|---|
ORuntimeKeyIndexDefinition() |
ORuntimeKeyIndexDefinition(byte iId) |
| Modifier and Type | Method and Description |
|---|---|
Comparable<?> |
createValue(List<?> params)
Calculates key value by passed in parameters.
|
Comparable<?> |
createValue(Object... params)
Calculates key value by passed in parameters.
|
boolean |
equals(Object o) |
protected void |
fromStream() |
String |
getClassName() |
Object |
getDocumentValueToIndex(ODocument iDocument) |
List<String> |
getFields() |
List<String> |
getFieldsToIndex() |
int |
getParamCount()
Returns amount of parameters that are used to calculate key value.
|
OBinarySerializer<T> |
getSerializer() |
OType[] |
getTypes()
Return types of values from which index key consist.
|
int |
hashCode() |
boolean |
isAutomatic() |
protected void |
serializeFromStream() |
protected void |
serializeToStream() |
String |
toCreateIndexDDL(String indexName,
String indexType,
String engine) |
ODocument |
toStream()
Serializes internal index state to document.
|
String |
toString() |
getCollate, isNullValuesIgnored, setCollate, setCollate, setNullValuesIgnoredfromStream, load, reload, reload, save, savegetDocument, load, load, reloadclone, finalize, getClass, notify, notifyAll, wait, wait, waitfromStreampublic ORuntimeKeyIndexDefinition(byte iId)
public ORuntimeKeyIndexDefinition()
public List<String> getFields()
public List<String> getFieldsToIndex()
Map values) which given
index is used to calculate key value. Order of fields is important.public String getClassName()
public Comparable<?> createValue(List<?> params)
OIndexDefinitionnull will be returned.params - Parameters from which index key will be calculated.public Comparable<?> createValue(Object... params)
OIndexDefinitionnull will be returned.params - Parameters from which index key will be calculated.public int getParamCount()
OIndexDefinitiongetTypes().length.public OType[] getTypes()
OIndexDefinitionpublic ODocument toStream()
OIndexDefinitiontoStream in interface OIndexDefinitiontoStream in class ODocumentWrapperprotected void serializeToStream()
serializeToStream in class OAbstractIndexDefinitionprotected void fromStream()
fromStream in class ODocumentWrapperNoClassprotected void serializeFromStream()
serializeFromStream in class OAbstractIndexDefinitionpublic boolean equals(Object o)
OIndexDefinitionequals in interface OIndexDefinitionequals in class OAbstractIndexDefinitionpublic int hashCode()
OIndexDefinitionhashCode in interface OIndexDefinitionhashCode in class OAbstractIndexDefinitionpublic String toString()
OIndexDefinitiontoString in interface OIndexDefinitiontoString in class ODocumentWrapperpublic String toCreateIndexDDL(String indexName, String indexType, String engine)
indexName - indexType - public OBinarySerializer<T> getSerializer()
public boolean isAutomatic()
Copyright © 2009–2025 OrientDB. All rights reserved.