public class OrientIndex<T extends OrientElement> extends Object implements com.tinkerpop.blueprints.Index<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_CLASSNAME |
static String |
CONFIG_RECORD_MAP_NAME |
protected static String |
EDGE |
protected OrientBaseGraph |
graph |
protected Class<? extends com.tinkerpop.blueprints.Element> |
indexClass |
protected OIndex<?> |
recordKeyValueIndex |
protected static String |
SEPARATOR |
protected OIndex<?> |
underlying |
protected static String |
VERTEX |
| Modifier | Constructor and Description |
|---|---|
protected |
OrientIndex(OrientBaseGraph orientGraph,
OIndex<?> rawIndex) |
protected |
OrientIndex(OrientBaseGraph graph,
String indexName,
Class<? extends com.tinkerpop.blueprints.Element> indexClass,
OType iType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
count(String key,
Object value) |
com.tinkerpop.blueprints.CloseableIterable<T> |
get(String key,
Object iValue) |
Class<T> |
getIndexClass() |
String |
getIndexName() |
OIndex<?> |
getUnderlying() |
void |
put(String key,
Object value,
T element) |
com.tinkerpop.blueprints.CloseableIterable<T> |
query(String key,
Object query) |
void |
remove(String key,
Object value,
T element) |
protected void |
removeElement(T element) |
String |
toString() |
public static final String CONFIG_CLASSNAME
public static final String CONFIG_RECORD_MAP_NAME
protected static final String VERTEX
protected static final String EDGE
protected static final String SEPARATOR
protected OrientBaseGraph graph
protected OIndex<?> underlying
protected OIndex<?> recordKeyValueIndex
protected Class<? extends com.tinkerpop.blueprints.Element> indexClass
protected OrientIndex(OrientBaseGraph graph, String indexName, Class<? extends com.tinkerpop.blueprints.Element> indexClass, OType iType)
protected OrientIndex(OrientBaseGraph orientGraph, OIndex<?> rawIndex)
public String getIndexName()
getIndexName in interface com.tinkerpop.blueprints.Index<T extends OrientElement>public Class<T> getIndexClass()
getIndexClass in interface com.tinkerpop.blueprints.Index<T extends OrientElement>public void put(String key, Object value, T element)
put in interface com.tinkerpop.blueprints.Index<T extends OrientElement>public com.tinkerpop.blueprints.CloseableIterable<T> get(String key, Object iValue)
get in interface com.tinkerpop.blueprints.Index<T extends OrientElement>public com.tinkerpop.blueprints.CloseableIterable<T> query(String key, Object query) throws UnsupportedOperationException
query in interface com.tinkerpop.blueprints.Index<T extends OrientElement>UnsupportedOperationExceptionpublic long count(String key, Object value)
count in interface com.tinkerpop.blueprints.Index<T extends OrientElement>public void remove(String key, Object value, T element)
remove in interface com.tinkerpop.blueprints.Index<T extends OrientElement>public OIndex<?> getUnderlying()
public void close()
protected void removeElement(T element)
Copyright © 2009–2025 OrientDB. All rights reserved.