|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaOperations
Method Summary | ||
---|---|---|
org.neo4j.kernel.impl.nioneo.store.IndexRule |
addIndexRule(long labelId,
long propertyKey)
Adds a IndexRule to the database which applies globally on both
existing as well as new data. |
|
void |
dropIndexRule(org.neo4j.kernel.impl.nioneo.store.IndexRule indexRule)
Drops a IndexRule from the database |
|
org.neo4j.kernel.impl.api.index.IndexDescriptor |
getIndexDescriptor(long indexId)
Returns the index descriptor for the given indexId. |
|
org.neo4j.kernel.impl.nioneo.store.IndexRule |
getIndexRule(long labelId,
long propertyKey)
Returns the index rule for the given labelId and propertyKey. |
|
Iterator<org.neo4j.kernel.impl.nioneo.store.IndexRule> |
getIndexRules()
Returns all index rules. |
|
Iterator<org.neo4j.kernel.impl.nioneo.store.IndexRule> |
getIndexRules(long labelId)
Get all indexes for a label. |
|
InternalIndexState |
getIndexState(org.neo4j.kernel.impl.nioneo.store.IndexRule indexRule)
Retrieve the state of an index. |
|
|
getOrCreateFromSchemaState(K key,
Function<K,V> creator)
The schema state is flushed when ever the schema is updated. |
|
|
schemaStateContains(K key)
Check if some key is in the schema state. |
Method Detail |
---|
org.neo4j.kernel.impl.nioneo.store.IndexRule addIndexRule(long labelId, long propertyKey) throws ConstraintViolationKernelException
IndexRule
to the database which applies globally on both
existing as well as new data.
ConstraintViolationKernelException
org.neo4j.kernel.impl.nioneo.store.IndexRule getIndexRule(long labelId, long propertyKey) throws SchemaRuleNotFoundException
SchemaRuleNotFoundException
org.neo4j.kernel.impl.api.index.IndexDescriptor getIndexDescriptor(long indexId) throws IndexNotFoundKernelException
IndexNotFoundKernelException
Iterator<org.neo4j.kernel.impl.nioneo.store.IndexRule> getIndexRules(long labelId)
Iterator<org.neo4j.kernel.impl.nioneo.store.IndexRule> getIndexRules()
InternalIndexState getIndexState(org.neo4j.kernel.impl.nioneo.store.IndexRule indexRule) throws IndexNotFoundKernelException
IndexNotFoundKernelException
void dropIndexRule(org.neo4j.kernel.impl.nioneo.store.IndexRule indexRule) throws ConstraintViolationKernelException
IndexRule
from the database
ConstraintViolationKernelException
<K,V> V getOrCreateFromSchemaState(K key, Function<K,V> creator)
<K> boolean schemaStateContains(K key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |