org.compass.gps.impl
Class DefaultReplaceIndexCallback
java.lang.Object
org.compass.gps.impl.DefaultReplaceIndexCallback
- All Implemented Interfaces:
- SearchEngineIndexManager.IndexOperationPlan, SearchEngineIndexManager.ReplaceIndexCallback
public class DefaultReplaceIndexCallback
- extends Object
- implements SearchEngineIndexManager.ReplaceIndexCallback, SearchEngineIndexManager.IndexOperationPlan
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultReplaceIndexCallback
public DefaultReplaceIndexCallback(Collection<CompassGpsDevice> devices,
IndexPlan indexPlan)
buildIndexIfNeeded
public void buildIndexIfNeeded()
throws SearchEngineException
- Description copied from interface:
SearchEngineIndexManager.ReplaceIndexCallback
- Provides the ability to be notified when the index can be built
during the replace operation. There is no need to actually build the
index, if one already exists.
- Specified by:
buildIndexIfNeeded in interface SearchEngineIndexManager.ReplaceIndexCallback
- Throws:
SearchEngineException
getSubIndexes
public String[] getSubIndexes()
- Specified by:
getSubIndexes in interface SearchEngineIndexManager.IndexOperationPlan
getAliases
public String[] getAliases()
- Specified by:
getAliases in interface SearchEngineIndexManager.IndexOperationPlan
getTypes
public Class[] getTypes()
- Specified by:
getTypes in interface SearchEngineIndexManager.IndexOperationPlan
Copyright (c) 2004-2008 The Compass Project.