public class OrientIndexManual<T extends OrientElement> extends Object implements OrientIndex<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 |
OrientIndexManual(OrientBaseGraph orientGraph,
OIndex rawIndex) |
protected |
OrientIndexManual(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) |
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 OrientIndexManual(OrientBaseGraph graph, String indexName, Class<? extends com.tinkerpop.blueprints.Element> indexClass, OType iType)
protected OrientIndexManual(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>
UnsupportedOperationException
public 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()
public void removeElement(T element)
removeElement
in interface OrientIndex<T extends OrientElement>
Copyright © 2009–2020 OrientDB. All rights reserved.