public class ApplyNewIndexer extends java.lang.Object implements MaintenanceOperation
The MaintenanceOperation
will create index entries for a newly
added HGIndexer
.
Constructor and Description |
---|
ApplyNewIndexer() |
ApplyNewIndexer(HGHandle hIndexer) |
Modifier and Type | Method and Description |
---|---|
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) |
public ApplyNewIndexer()
public ApplyNewIndexer(HGHandle hIndexer)
public void execute(HyperGraph graph) throws MaintenanceException
MaintenanceOperation
Execute a maintenance operation.
execute
in interface MaintenanceOperation
graph
- The HyperGraph
on which this maintenance operation is executed.MaintenanceException
public HGHandle getHindexer()
public void setHindexer(HGHandle indexer)
public HGPersistentHandle getLastProcessed()
public void setLastProcessed(HGPersistentHandle lastProcessed)
public int getBatchSize()
public void setBatchSize(int batchSize)