public class OrientIndexAuto<T extends OrientElement> extends Object implements OrientIndex<T>
Modifier and Type | Method and Description |
---|---|
long |
count(String key,
Object value) |
static <T extends OrientElement> |
create(OrientBaseGraph graph,
String indexName,
Class<T> indexClass) |
static void |
drop(OrientBaseGraph graph,
String indexName) |
com.tinkerpop.blueprints.CloseableIterable<T> |
get(String key,
Object value) |
Class<T> |
getIndexClass() |
String |
getIndexName() |
static <T extends OrientElement> |
load(OrientBaseGraph graph,
String indexName,
Class<T> indexClass) |
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 <T extends OrientElement> OrientIndexAuto<T> create(OrientBaseGraph graph, String indexName, Class<T> indexClass)
public static <T extends OrientElement> OrientIndexAuto<T> load(OrientBaseGraph graph, String indexName, Class<T> indexClass)
public static void drop(OrientBaseGraph graph, String indexName)
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 value)
get
in interface com.tinkerpop.blueprints.Index<T extends OrientElement>
public com.tinkerpop.blueprints.CloseableIterable<T> query(String key, Object query)
query
in interface com.tinkerpop.blueprints.Index<T extends OrientElement>
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 void removeElement(T element)
removeElement
in interface OrientIndex<T extends OrientElement>
Copyright © 2009–2020 OrientDB. All rights reserved.