public interface SchemaReadOperations
| Modifier and Type | Method and Description |
|---|---|
Iterator<UniquenessConstraint> |
constraintsGetAll()
Get all constraints.
|
Iterator<UniquenessConstraint> |
constraintsGetForLabel(long labelId)
Get all constraints applicable to label.
|
Iterator<UniquenessConstraint> |
constraintsGetForLabelAndPropertyKey(long labelId,
long propertyKeyId)
Get all constraints applicable to label and propertyKey.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
indexesGetAll()
Returns all indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
indexesGetForLabel(long labelId)
Get all indexes for a label.
|
org.neo4j.kernel.impl.api.index.IndexDescriptor |
indexesGetForLabelAndPropertyKey(long labelId,
long propertyKey)
Returns the index rule for the given labelId and propertyKey.
|
long |
indexGetCommittedId(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.
|
Long |
indexGetOwningUniquenessConstraintId(org.neo4j.kernel.impl.api.index.IndexDescriptor index)
Get the owning constraint for a constraint index.
|
InternalIndexState |
indexGetState(org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Retrieve the state of an index.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
uniqueIndexesGetAll()
Returns all constraint indexes.
|
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> |
uniqueIndexesGetForLabel(long labelId)
Get all constraint indexes for a label.
|
org.neo4j.kernel.impl.api.index.IndexDescriptor indexesGetForLabelAndPropertyKey(long labelId,
long propertyKey)
throws SchemaRuleNotFoundException
SchemaRuleNotFoundExceptionIterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> indexesGetForLabel(long labelId)
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> indexesGetAll()
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> uniqueIndexesGetForLabel(long labelId)
Iterator<org.neo4j.kernel.impl.api.index.IndexDescriptor> uniqueIndexesGetAll()
InternalIndexState indexGetState(org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor) throws IndexNotFoundKernelException
IndexNotFoundKernelExceptionIterator<UniquenessConstraint> constraintsGetForLabelAndPropertyKey(long labelId, long propertyKeyId)
UniquenessConstraint
for the time being.Iterator<UniquenessConstraint> constraintsGetForLabel(long labelId)
UniquenessConstraint
for the time being.Iterator<UniquenessConstraint> constraintsGetAll()
UniquenessConstraint
for the time being.Long indexGetOwningUniquenessConstraintId(org.neo4j.kernel.impl.api.index.IndexDescriptor index) throws SchemaRuleNotFoundException
SchemaRuleNotFoundExceptionlong indexGetCommittedId(org.neo4j.kernel.impl.api.index.IndexDescriptor index)
throws SchemaRuleNotFoundException
SchemaRuleNotFoundExceptionCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.