org.hypergraphdb.maintenance
Class ApplyNewIndexer

java.lang.Object
  extended by 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

Constructor Summary
ApplyNewIndexer()
           
ApplyNewIndexer(HGHandle hIndexer)
           
 
Method Summary
 void execute(HyperGraph graph)
           Execute a maintenance operation.
 int getBatchSize()
           
 HGHandle getHIndexer()
           
 HGPersistentHandle getLastProcessed()
           
 void setBatchSize(int batchSize)
           
 void setHIndexer(HGHandle indexer)
           
 void setLastProcessed(HGPersistentHandle lastProcessed)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyNewIndexer

public ApplyNewIndexer()

ApplyNewIndexer

public ApplyNewIndexer(HGHandle hIndexer)
Method Detail

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)