| Package | Description |
|---|---|
| org.neo4j.kernel.api | |
| org.neo4j.kernel.api.operations |
| Modifier and Type | Method and Description |
|---|---|
RESULT |
Transactor.Work.perform(StatementOperationParts statementContext,
Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaWriteOperations.constraintDrop(Statement state,
UniquenessConstraint constraint) |
Iterator<UniquenessConstraint> |
SchemaReadOperations.constraintsGetAll(Statement state)
Get all constraints.
|
Iterator<UniquenessConstraint> |
SchemaReadOperations.constraintsGetForLabel(Statement state,
long labelId)
Get all constraints applicable to label.
|
Iterator<UniquenessConstraint> |
SchemaReadOperations.constraintsGetForLabelAndPropertyKey(Statement state,
long labelId,
long propertyKeyId)
Get all constraints applicable to label and propertyKey.
|
Iterator<SafeProperty> |
EntityReadOperations.graphGetAllProperties(Statement state) |
Property |
EntityReadOperations.graphGetProperty(Statement state,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.graphGetPropertyKeys(Statement state)
Return all property keys associated with a relationship.
|
Property |
ConstraintEnforcingEntityWriteOperations.graphRemoveProperty(Statement state,
long propertyKeyId) |
Property |
EntityWriteOperations.graphRemoveProperty(Statement state,
long propertyKeyId) |
Property |
ConstraintEnforcingEntityWriteOperations.graphSetProperty(Statement state,
SafeProperty property) |
Property |
EntityWriteOperations.graphSetProperty(Statement state,
SafeProperty property) |
org.neo4j.kernel.impl.api.index.IndexDescriptor |
SchemaWriteOperations.indexCreate(Statement state,
long labelId,
long propertyKeyId)
Creates an index, indexing properties with the given
propertyKeyId for nodes with the given
labelId. |
void |
SchemaWriteOperations.indexDrop(Statement 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(Statement state)
Returns all indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.indexesGetForLabel(Statement state,
long labelId)
Get all indexes for a label.
|
org.neo4j.kernel.impl.api.index.IndexDescriptor |
SchemaReadOperations.indexesGetForLabelAndPropertyKey(Statement state,
long labelId,
long propertyKey)
Returns the index rule for the given labelId and propertyKey.
|
long |
SchemaReadOperations.indexGetCommittedId(Statement 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(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Returns the failure description of a failed index.
|
Long |
SchemaReadOperations.indexGetOwningUniquenessConstraintId(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor index)
Get the owning constraint for a constraint index.
|
InternalIndexState |
SchemaReadOperations.indexGetState(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Retrieve the state of an index.
|
long |
KeyReadOperations.labelGetForName(Statement state,
String labelName)
Returns a label id for a label name.
|
String |
KeyReadOperations.labelGetName(Statement state,
long labelId)
Returns the label name for the given label id.
|
long |
KeyWriteOperations.labelGetOrCreateForName(Statement state,
String labelName)
Returns a label id for a label name.
|
Iterator<org.neo4j.kernel.impl.core.Token> |
KeyReadOperations.labelsGetAllTokens(Statement state)
Returns the labels currently stored in the database
|
boolean |
ConstraintEnforcingEntityWriteOperations.nodeAddLabel(Statement state,
long nodeId,
long labelId) |
boolean |
EntityWriteOperations.nodeAddLabel(Statement state,
long nodeId,
long labelId)
Labels a node with the label corresponding to the given label id.
|
long |
LegacyKernelOperations.nodeCreate(Statement state) |
void |
ConstraintEnforcingEntityWriteOperations.nodeDelete(Statement state,
long nodeId) |
void |
EntityWriteOperations.nodeDelete(Statement state,
long nodeId) |
Iterator<SafeProperty> |
EntityReadOperations.nodeGetAllProperties(Statement state,
long nodeId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodeGetLabels(Statement state,
long nodeId)
Returns all labels set on node with id
nodeId. |
Property |
EntityReadOperations.nodeGetProperty(Statement state,
long nodeId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodeGetPropertyKeys(Statement state,
long nodeId)
Return all property keys associated with a node.
|
boolean |
EntityReadOperations.nodeHasLabel(Statement state,
long nodeId,
long labelId)
Checks if a node is labeled with a certain label or not.
|
boolean |
ConstraintEnforcingEntityWriteOperations.nodeRemoveLabel(Statement state,
long nodeId,
long labelId) |
boolean |
EntityWriteOperations.nodeRemoveLabel(Statement state,
long nodeId,
long labelId)
Removes a label with the corresponding id from a node.
|
Property |
ConstraintEnforcingEntityWriteOperations.nodeRemoveProperty(Statement state,
long nodeId,
long propertyKeyId) |
Property |
EntityWriteOperations.nodeRemoveProperty(Statement 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 |
ConstraintEnforcingEntityWriteOperations.nodeSetProperty(Statement state,
long nodeId,
SafeProperty property) |
Property |
EntityWriteOperations.nodeSetProperty(Statement state,
long nodeId,
SafeProperty property) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodesGetForLabel(Statement state,
long labelId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.nodesGetFromIndexLookup(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor index,
Object value)
Returns an iterable with the matched nodes.
|
long |
KeyReadOperations.propertyKeyGetForName(Statement state,
String propertyKeyName)
Returns a property key id for the given property key.
|
String |
KeyReadOperations.propertyKeyGetName(Statement state,
long propertyKeyId)
Returns the name of a property given its property key id
|
long |
KeyWriteOperations.propertyKeyGetOrCreateForName(Statement state,
String propertyKeyName)
Returns a property key id for a property key.
|
long |
LegacyKernelOperations.relationshipCreate(Statement state,
long relationshipTypeId,
long startNodeId,
long endNodeId) |
void |
ConstraintEnforcingEntityWriteOperations.relationshipDelete(Statement state,
long relationshipId) |
void |
EntityWriteOperations.relationshipDelete(Statement state,
long relationshipId) |
Iterator<SafeProperty> |
EntityReadOperations.relationshipGetAllProperties(Statement state,
long relationshipId) |
Property |
EntityReadOperations.relationshipGetProperty(Statement state,
long relationshipId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.PrimitiveLongIterator |
EntityReadOperations.relationshipGetPropertyKeys(Statement state,
long relationshipId)
Return all property keys associated with a relationship.
|
Property |
ConstraintEnforcingEntityWriteOperations.relationshipRemoveProperty(Statement state,
long relationshipId,
long propertyKeyId) |
Property |
EntityWriteOperations.relationshipRemoveProperty(Statement state,
long relationshipId,
long propertyKeyId) |
Property |
ConstraintEnforcingEntityWriteOperations.relationshipSetProperty(Statement state,
long relationshipId,
SafeProperty property) |
Property |
EntityWriteOperations.relationshipSetProperty(Statement state,
long relationshipId,
SafeProperty property) |
long |
KeyReadOperations.relationshipTypeGetForName(Statement state,
String relationshipTypeName) |
String |
KeyReadOperations.relationshipTypeGetName(Statement state,
long relationshipTypeId) |
long |
KeyWriteOperations.relationshipTypeGetOrCreateForName(Statement state,
String relationshipTypeName) |
<K> boolean |
SchemaStateOperations.schemaStateContains(Statement state,
K key)
Check if some key is in the schema state.
|
<K,V> V |
SchemaStateOperations.schemaStateGetOrCreate(Statement state,
K key,
Function<K,V> creator)
The schema state is flushed when ever the schema is updated.
|
void |
SchemaWriteOperations.uniqueIndexDrop(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
This should not be used, it is exposed to allow an external job to clean up constraint indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.uniqueIndexesGetAll(Statement state)
Returns all constraint indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
SchemaReadOperations.uniqueIndexesGetForLabel(Statement state,
long labelId)
Get all constraint indexes for a label.
|
UniquenessConstraint |
SchemaWriteOperations.uniquenessConstraintCreate(Statement state,
long labelId,
long propertyKeyId) |
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.