public interface IndexReader
extends org.neo4j.graphdb.Resource
Modifier and Type | Field and Description |
---|---|
static IndexReader |
EMPTY |
Modifier and Type | Method and Description |
---|---|
long |
countIndexedNodes(long nodeId,
Object... propertyValues) |
IndexSampler |
createSampler() |
org.neo4j.collection.primitive.PrimitiveLongIterator |
query(org.neo4j.kernel.api.schema.IndexQuery... predicates)
Queries the index for the given
IndexQuery predicates. |
static final IndexReader EMPTY
long countIndexedNodes(long nodeId, Object... propertyValues)
nodeId
- node if to match.propertyValues
- property values to match.nodeId
and propertyValue
.IndexSampler createSampler()
org.neo4j.collection.primitive.PrimitiveLongIterator query(org.neo4j.kernel.api.schema.IndexQuery... predicates) throws org.neo4j.kernel.api.exceptions.index.IndexNotApplicableKernelException
IndexQuery
predicates.predicates
- the predicates to query for.org.neo4j.kernel.api.exceptions.index.IndexNotApplicableKernelException
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.