|
Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The Primitive this Index holdspublic interface ReadableIndex<T extends PropertyContainer>
An index that allows for read only operations. Can also be seen as a chopped
down version of Index
that disallows mutating operations.
Method Summary | |
---|---|
IndexHits<T> |
get(String key,
Object value)
Returns exact matches from this index, given the key/value pair. |
Class<T> |
getEntityType()
|
GraphDatabaseService |
getGraphDatabase()
Get the graph database that owns this index. |
String |
getName()
|
boolean |
isWriteable()
A ReadableIndex is possible to support mutating operations as well. |
IndexHits<T> |
query(Object queryOrQueryObject)
Returns matches from this index based on the supplied query object, which can be a query string or an implementation-specific query object. |
IndexHits<T> |
query(String key,
Object queryOrQueryObject)
Returns matches from this index based on the supplied key and
query object, which can be a query string or an implementation-specific
query object. |
Method Detail |
---|
String getName()
Class<T> getEntityType()
IndexHits<T> get(String key, Object value)
Index.add(PropertyContainer, String, Object)
method.
key
- the key in the key/value pair to match.value
- the value in the key/value pair to match.
IndexHits
object. If the entire
result set isn't looped through, IndexHits.close()
must
be called before disposing of the result.IndexHits<T> query(String key, Object queryOrQueryObject)
key
and
query object, which can be a query string or an implementation-specific
query object.
key
- the key in this query.queryOrQueryObject
- the query for the key
to match.
IndexHits
object. If the entire
result set isn't looped through, IndexHits.close()
must be
called before disposing of the result.IndexHits<T> query(Object queryOrQueryObject)
queryOrQueryObject
- the query to match.
IndexHits
object. If the entire
result set isn't looped through, IndexHits.close()
must be
called before disposing of the result.boolean isWriteable()
GraphDatabaseService getGraphDatabase()
graph database
that owns this index.
graph database
that owns this index.
|
Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |