public interface EntityReadOperations
Modifier and Type | Method and Description |
---|---|
Iterator<Property> |
graphGetAllProperties(StatementState state) |
Property |
graphGetProperty(StatementState state,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
graphGetPropertyKeys(StatementState state)
Return all property keys associated with a relationship.
|
boolean |
graphHasProperty(StatementState state,
long propertyKeyId) |
Iterator<Property> |
nodeGetAllProperties(StatementState state,
long nodeId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
nodeGetLabels(StatementState state,
long nodeId)
Returns all labels set on node with id
nodeId . |
Property |
nodeGetProperty(StatementState state,
long nodeId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
nodeGetPropertyKeys(StatementState state,
long nodeId)
Return all property keys associated with a node.
|
boolean |
nodeHasLabel(StatementState state,
long nodeId,
long labelId)
Checks if a node is labeled with a certain label or not.
|
boolean |
nodeHasProperty(StatementState state,
long nodeId,
long propertyKeyId)
Returns true if node has the property given it's property key id for the node with the given node id
|
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
nodesGetForLabel(StatementState state,
long labelId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
nodesGetFromIndexLookup(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor index,
Object value)
Returns an iterable with the matched nodes.
|
Iterator<Property> |
relationshipGetAllProperties(StatementState state,
long relationshipId) |
Property |
relationshipGetProperty(StatementState state,
long relationshipId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
relationshipGetPropertyKeys(StatementState state,
long relationshipId)
Return all property keys associated with a relationship.
|
boolean |
relationshipHasProperty(StatementState state,
long relationshipId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator nodesGetForLabel(StatementState state, long labelId)
labelId
- the label id of the label that returned nodes are guaranteed to haveorg.neo4j.kernel.impl.api.PrimitiveLongIterator nodesGetFromIndexLookup(StatementState state, org.neo4j.kernel.impl.api.index.IndexDescriptor index, Object value) throws IndexNotFoundKernelException
IndexNotFoundKernelException
- if no such index found.boolean nodeHasLabel(StatementState state, long nodeId, long labelId) throws EntityNotFoundException
true
if the node is labeled with the label, otherwise false.
Label ids are retrieved from KeyWriteOperations.labelGetOrCreateForName(StatementState, String)
or
KeyReadOperations.labelGetForName(StatementState, String)
.EntityNotFoundException
org.neo4j.kernel.impl.api.PrimitiveLongIterator nodeGetLabels(StatementState state, long nodeId) throws EntityNotFoundException
nodeId
.
If the node has no labels an empty Iterable
will be returned.EntityNotFoundException
Property nodeGetProperty(StatementState state, long nodeId, long propertyKeyId) throws PropertyKeyIdNotFoundException, EntityNotFoundException
Property relationshipGetProperty(StatementState state, long relationshipId, long propertyKeyId) throws PropertyKeyIdNotFoundException, EntityNotFoundException
Property graphGetProperty(StatementState state, long propertyKeyId) throws PropertyKeyIdNotFoundException
PropertyKeyIdNotFoundException
boolean nodeHasProperty(StatementState state, long nodeId, long propertyKeyId) throws PropertyKeyIdNotFoundException, EntityNotFoundException
boolean relationshipHasProperty(StatementState state, long relationshipId, long propertyKeyId) throws PropertyKeyIdNotFoundException, EntityNotFoundException
boolean graphHasProperty(StatementState state, long propertyKeyId) throws PropertyKeyIdNotFoundException
PropertyKeyIdNotFoundException
org.neo4j.kernel.impl.api.PrimitiveLongIterator nodeGetPropertyKeys(StatementState state, long nodeId) throws EntityNotFoundException
EntityNotFoundException
Iterator<Property> nodeGetAllProperties(StatementState state, long nodeId) throws EntityNotFoundException
EntityNotFoundException
org.neo4j.kernel.impl.api.PrimitiveLongIterator relationshipGetPropertyKeys(StatementState state, long relationshipId) throws EntityNotFoundException
EntityNotFoundException
Iterator<Property> relationshipGetAllProperties(StatementState state, long relationshipId) throws EntityNotFoundException
EntityNotFoundException
org.neo4j.kernel.impl.api.PrimitiveLongIterator graphGetPropertyKeys(StatementState state)
Iterator<Property> graphGetAllProperties(StatementState state)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.