public class MyTISMIndexEntitiesIndexer
extends java.lang.Object
implements org.compass.gps.device.support.parallel.IndexEntitiesIndexer
Constructor and Description |
---|
MyTISMIndexEntitiesIndexer(DBManLocalI _dbm,
int _fetchSize) |
MyTISMIndexEntitiesIndexer(DBManLocalI _dbm,
int _fetchSize,
IndexingListenerI _indexingListener) |
MyTISMIndexEntitiesIndexer(DBManLocalI _dbm,
int _fetchSize,
IndexingListenerI _indexingListener,
boolean _indexDeletedBOs) |
Modifier and Type | Method and Description |
---|---|
DBManLocalI |
getDbm() |
SchemaVsIndexDiff |
getDiff() |
int |
getFetchSize() |
java.lang.Boolean |
getIndexDeletedBOsOld() |
IndexingListenerI |
getIndexingListener() |
boolean |
isIndexDeletedBOs() |
void |
performIndex(org.compass.core.CompassSession _session,
org.compass.gps.device.support.parallel.IndexEntity[] _entities) |
void |
setDbm(DBManLocalI $4) |
void |
setDiff(SchemaVsIndexDiff $8) |
void |
setFetchSize(int $9) |
void |
setIndexDeletedBOs(boolean $5) |
void |
setIndexDeletedBOsOld(java.lang.Boolean $6) |
void |
setIndexingListener(IndexingListenerI $7) |
public MyTISMIndexEntitiesIndexer(DBManLocalI _dbm, int _fetchSize)
_dbm
- the DBManLocalI instance with which to load the BOs._fetchSize
- the "chunk size" which determines how many BOs (of a
given Entity) are loaded from the DB for indexing; should not be set to
high to avoid queries running to long and being automatically aborted.
Default is 50.000._indexingListener
- FIXME the MyTISMGpsDevice that handles updating
the index meta data._indexDeletedBOs
- if false deleted BOs will not be loaded and indexed
and if necessary be removed from the index; if true (the default) all BOs
will be loaded and indexed.public MyTISMIndexEntitiesIndexer(DBManLocalI _dbm, int _fetchSize, IndexingListenerI _indexingListener)
public MyTISMIndexEntitiesIndexer(DBManLocalI _dbm, int _fetchSize, IndexingListenerI _indexingListener, boolean _indexDeletedBOs)
public void performIndex(org.compass.core.CompassSession _session, org.compass.gps.device.support.parallel.IndexEntity[] _entities) throws org.compass.core.CompassException
performIndex
in interface org.compass.gps.device.support.parallel.IndexEntitiesIndexer
org.compass.core.CompassException
public DBManLocalI getDbm()
public void setDbm(DBManLocalI $4)
public boolean isIndexDeletedBOs()
public void setIndexDeletedBOs(boolean $5)
public java.lang.Boolean getIndexDeletedBOsOld()
public void setIndexDeletedBOsOld(java.lang.Boolean $6)
public IndexingListenerI getIndexingListener()
public void setIndexingListener(IndexingListenerI $7)
public SchemaVsIndexDiff getDiff()
public void setDiff(SchemaVsIndexDiff $8)
public int getFetchSize()
public void setFetchSize(int $9)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.