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).EntityNotFoundExceptionorg.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.EntityNotFoundExceptionProperty 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
PropertyKeyIdNotFoundExceptionboolean 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
PropertyKeyIdNotFoundExceptionorg.neo4j.kernel.impl.api.PrimitiveLongIterator nodeGetPropertyKeys(StatementState state, long nodeId) throws EntityNotFoundException
EntityNotFoundExceptionIterator<Property> nodeGetAllProperties(StatementState state, long nodeId) throws EntityNotFoundException
EntityNotFoundExceptionorg.neo4j.kernel.impl.api.PrimitiveLongIterator relationshipGetPropertyKeys(StatementState state, long relationshipId) throws EntityNotFoundException
EntityNotFoundExceptionIterator<Property> relationshipGetAllProperties(StatementState state, long relationshipId) throws EntityNotFoundException
EntityNotFoundExceptionorg.neo4j.kernel.impl.api.PrimitiveLongIterator graphGetPropertyKeys(StatementState state)
Iterator<Property> graphGetAllProperties(StatementState state)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.