org.hypergraphdb.maintenance
Class ApplyNewIndexer
java.lang.Object
org.hypergraphdb.maintenance.ApplyNewIndexer
- All Implemented Interfaces:
- MaintenanceOperation
public class ApplyNewIndexer
- extends java.lang.Object
- implements MaintenanceOperation
The MaintenanceOperation will create index entries for a newly
added HGIndexer.
- Author:
- Borislav Iordanov
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplyNewIndexer
public ApplyNewIndexer()
ApplyNewIndexer
public ApplyNewIndexer(HGHandle hIndexer)
execute
public void execute(HyperGraph graph)
throws MaintenanceException
- Description copied from interface:
MaintenanceOperation
Execute a maintenance operation.
- Specified by:
execute in interface MaintenanceOperation
- Parameters:
graph - The HyperGraph on which this maintenance operation is executed.
- Throws:
MaintenanceException
getHIndexer
public HGHandle getHIndexer()
setHIndexer
public void setHIndexer(HGHandle indexer)
getLastProcessed
public HGPersistentHandle getLastProcessed()
setLastProcessed
public void setLastProcessed(HGPersistentHandle lastProcessed)
getBatchSize
public int getBatchSize()
setBatchSize
public void setBatchSize(int batchSize)