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