org.neo4j.kernel.impl.nioneo.store
Class RecordStore.Processor
java.lang.Object
org.neo4j.kernel.impl.nioneo.store.RecordStore.Processor
- Direct Known Subclasses:
- ConsistencyCheck
- Enclosing interface:
- RecordStore<R extends AbstractBaseRecord>
public abstract static class RecordStore.Processor
- extends Object
|
Method Summary |
|
applyById(RecordStore<R> store,
Iterable<Long> ids)
|
|
applyFiltered(RecordStore<R> store,
Predicate<? super R>... filters)
|
|
applyFiltered(RecordStore<R> store,
ProgressIndicator progress,
Predicate<? super R>... filters)
|
void |
processArray(RecordStore<DynamicRecord> store,
DynamicRecord array)
|
protected void |
processDynamic(RecordStore<DynamicRecord> store,
DynamicRecord record)
|
void |
processNode(RecordStore<NodeRecord> store,
NodeRecord node)
|
void |
processProperty(RecordStore<PropertyRecord> store,
PropertyRecord property)
|
void |
processPropertyIndex(RecordStore<PropertyIndexRecord> store,
PropertyIndexRecord record)
|
protected
|
processRecord(Class<R> type,
RecordStore<R> store,
R record)
|
void |
processRelationship(RecordStore<RelationshipRecord> store,
RelationshipRecord rel)
|
void |
processRelationshipType(RecordStore<RelationshipTypeRecord> store,
RelationshipTypeRecord record)
|
void |
processString(RecordStore<DynamicRecord> store,
DynamicRecord string)
|
protected
|
progressInit(RecordStore<R> store,
long highId)
Override to provide progress indication for the tool. |
static
|
scan(RecordStore<R> store,
Predicate<? super R>... filters)
|
static
|
scanById(RecordStore<R> store,
Iterable<Long> ids)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordStore.Processor
public RecordStore.Processor()
processNode
public void processNode(RecordStore<NodeRecord> store,
NodeRecord node)
processRelationship
public void processRelationship(RecordStore<RelationshipRecord> store,
RelationshipRecord rel)
processProperty
public void processProperty(RecordStore<PropertyRecord> store,
PropertyRecord property)
processString
public void processString(RecordStore<DynamicRecord> store,
DynamicRecord string)
processArray
public void processArray(RecordStore<DynamicRecord> store,
DynamicRecord array)
processDynamic
protected void processDynamic(RecordStore<DynamicRecord> store,
DynamicRecord record)
processRelationshipType
public void processRelationshipType(RecordStore<RelationshipTypeRecord> store,
RelationshipTypeRecord record)
processPropertyIndex
public void processPropertyIndex(RecordStore<PropertyIndexRecord> store,
PropertyIndexRecord record)
processRecord
protected <R extends AbstractBaseRecord> void processRecord(Class<R> type,
RecordStore<R> store,
R record)
scan
public static <R extends AbstractBaseRecord> Iterable<R> scan(RecordStore<R> store,
Predicate<? super R>... filters)
scanById
public static <R extends AbstractBaseRecord> Iterable<R> scanById(RecordStore<R> store,
Iterable<Long> ids)
applyById
public <R extends AbstractBaseRecord> void applyById(RecordStore<R> store,
Iterable<Long> ids)
applyFiltered
public <R extends AbstractBaseRecord> void applyFiltered(RecordStore<R> store,
Predicate<? super R>... filters)
applyFiltered
public <R extends AbstractBaseRecord> void applyFiltered(RecordStore<R> store,
ProgressIndicator progress,
Predicate<? super R>... filters)
progressInit
protected <R extends AbstractBaseRecord> ProgressIndicator progressInit(RecordStore<R> store,
long highId)
- Override to provide progress indication for the tool. Alternatively a
pre-existing
ProgressIndicator can be passed to the
apply method, in which case this method will not be invoked.
- Parameters:
store - the store progress will be reported on.highId - the highest count the process will reach for this
store.
- Returns:
- a
ProgressIndicator to report the progress to.
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.