| Package | Description |
|---|---|
| org.neo4j.kernel |
Implementation for embedding a Neo4j graph database in an application.
|
| org.neo4j.kernel.api | |
| org.neo4j.kernel.api.operations |
| Modifier and Type | Method and Description |
|---|---|
StatementState |
ThreadToStatementContextBridge.statementForReading() |
StatementState |
ThreadToStatementContextBridge.statementForWriting() |
| Modifier and Type | Method and Description |
|---|---|
StatementState |
KernelTransaction.newStatementState() |
| Modifier and Type | Class and Description |
|---|---|
class |
ReadOnlyStatementState |
class |
WritableStatementState |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaWriteOperations.constraintDrop(StatementState state,
UniquenessConstraint constraint) |
Iterator<UniquenessConstraint> |
SchemaReadOperations.constraintsGetAll(StatementState state)
Get all constraints.
|
Iterator<UniquenessConstraint> |
SchemaReadOperations.constraintsGetForLabel(StatementState state,
long labelId)
Get all constraints applicable to label.
|
Iterator<UniquenessConstraint> |
SchemaReadOperations.constraintsGetForLabelAndPropertyKey(StatementState state,
long labelId,
long propertyKeyId)
Get all constraints applicable to label and propertyKey.
|
Iterator<Property> |
EntityReadOperations.graphGetAllProperties(StatementState state) |
Property |
EntityReadOperations.graphGetProperty(StatementState state,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.graphGetPropertyKeys(StatementState state)
Return all property keys associated with a relationship.
|
boolean |
EntityReadOperations.graphHasProperty(StatementState state,
long propertyKeyId) |
Property |
EntityWriteOperations.graphRemoveProperty(StatementState state,
long propertyKeyId) |
Property |
EntityWriteOperations.graphSetProperty(StatementState state,
Property property) |
org.neo4j.kernel.impl.api.index.IndexDescriptor |
SchemaWriteOperations.indexCreate(StatementState state,
long labelId,
long propertyKeyId)
Creates an index, indexing properties with the given
propertyKeyId for nodes with the given
labelId. |
void |
SchemaWriteOperations.indexDrop(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Drops a
IndexDescriptor from the database |
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.indexesGetAll(StatementState state)
Returns all indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.indexesGetForLabel(StatementState state,
long labelId)
Get all indexes for a label.
|
org.neo4j.kernel.impl.api.index.IndexDescriptor |
SchemaReadOperations.indexesGetForLabelAndPropertyKey(StatementState state,
long labelId,
long propertyKey)
Returns the index rule for the given labelId and propertyKey.
|
long |
SchemaReadOperations.indexGetCommittedId(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor index)
Get the index id (the id or the schema rule record) for a committed index
- throws exception for indexes that aren't committed.
|
String |
SchemaReadOperations.indexGetFailure(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Returns the failure description of a failed index.
|
Long |
SchemaReadOperations.indexGetOwningUniquenessConstraintId(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor index)
Get the owning constraint for a constraint index.
|
InternalIndexState |
SchemaReadOperations.indexGetState(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Retrieve the state of an index.
|
long |
KeyReadOperations.labelGetForName(StatementState state,
String labelName)
Returns a label id for a label name.
|
String |
KeyReadOperations.labelGetName(StatementState state,
long labelId)
Returns the label name for the given label id.
|
long |
KeyWriteOperations.labelGetOrCreateForName(StatementState state,
String labelName)
Returns a label id for a label name.
|
Iterator<org.neo4j.kernel.impl.core.Token> |
KeyReadOperations.labelsGetAllTokens(StatementState state)
Returns the labels currently stored in the database
|
boolean |
EntityWriteOperations.nodeAddLabel(StatementState state,
long nodeId,
long labelId)
Labels a node with the label corresponding to the given label id.
|
void |
EntityWriteOperations.nodeDelete(StatementState state,
long nodeId) |
Iterator<Property> |
EntityReadOperations.nodeGetAllProperties(StatementState state,
long nodeId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodeGetLabels(StatementState state,
long nodeId)
Returns all labels set on node with id
nodeId. |
Property |
EntityReadOperations.nodeGetProperty(StatementState state,
long nodeId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodeGetPropertyKeys(StatementState state,
long nodeId)
Return all property keys associated with a node.
|
boolean |
EntityReadOperations.nodeHasLabel(StatementState state,
long nodeId,
long labelId)
Checks if a node is labeled with a certain label or not.
|
boolean |
EntityReadOperations.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
|
boolean |
EntityWriteOperations.nodeRemoveLabel(StatementState state,
long nodeId,
long labelId)
Removes a label with the corresponding id from a node.
|
Property |
EntityWriteOperations.nodeRemoveProperty(StatementState state,
long nodeId,
long propertyKeyId)
Remove a node's property given the node's id and the property key id and return the value to which
it was set or null if it was not set on the node
|
Property |
EntityWriteOperations.nodeSetProperty(StatementState state,
long nodeId,
Property property) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodesGetForLabel(StatementState state,
long labelId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodesGetFromIndexLookup(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor index,
Object value)
Returns an iterable with the matched nodes.
|
long |
KeyReadOperations.propertyKeyGetForName(StatementState state,
String propertyKeyName)
Returns a property key id for the given property key.
|
String |
KeyReadOperations.propertyKeyGetName(StatementState state,
long propertyKeyId)
Returns the name of a property given its property key id
|
long |
KeyWriteOperations.propertyKeyGetOrCreateForName(StatementState state,
String propertyKeyName)
Returns a property key id for a property key.
|
void |
EntityWriteOperations.relationshipDelete(StatementState state,
long relationshipId) |
Iterator<Property> |
EntityReadOperations.relationshipGetAllProperties(StatementState state,
long relationshipId) |
Property |
EntityReadOperations.relationshipGetProperty(StatementState state,
long relationshipId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.relationshipGetPropertyKeys(StatementState state,
long relationshipId)
Return all property keys associated with a relationship.
|
boolean |
EntityReadOperations.relationshipHasProperty(StatementState state,
long relationshipId,
long propertyKeyId) |
Property |
EntityWriteOperations.relationshipRemoveProperty(StatementState state,
long relationshipId,
long propertyKeyId) |
Property |
EntityWriteOperations.relationshipSetProperty(StatementState state,
long relationshipId,
Property property) |
<K> boolean |
SchemaStateOperations.schemaStateContains(StatementState state,
K key)
Check if some key is in the schema state.
|
<K,V> V |
SchemaStateOperations.schemaStateGetOrCreate(StatementState state,
K key,
Function<K,V> creator)
The schema state is flushed when ever the schema is updated.
|
org.neo4j.kernel.impl.api.index.IndexDescriptor |
SchemaWriteOperations.uniqueIndexCreate(StatementState state,
long labelId,
long propertyKey)
Creates an index for use with a uniqueness constraint.
|
void |
SchemaWriteOperations.uniqueIndexDrop(StatementState state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor) |
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.uniqueIndexesGetAll(StatementState state)
Returns all constraint indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.uniqueIndexesGetForLabel(StatementState state,
long labelId)
Get all constraint indexes for a label.
|
UniquenessConstraint |
SchemaWriteOperations.uniquenessConstraintCreate(StatementState state,
long labelId,
long propertyKeyId) |
| Constructor and Description |
|---|
KeyNameLookup(StatementState state,
KeyReadOperations context) |
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.