public class MockDataSource extends AbstractDataSource implements DataSource
| Constructor and Description |
|---|
MockDataSource() |
| Modifier and Type | Method and Description |
|---|---|
Collection<DataObject> |
fetchDataObjects()
Fetch the data objects of the data source
|
List<DataObject> |
getDataObjects(List<String> listIdDataObjects)
Get the full data objects from given list of ids
|
List<String> |
getIdDataObjects()
Get the business id of all the data objects to fetch
|
getBatchSize, getDataObjects, getDataObjectsIterator, getExternalAttributesProvider, getId, getMappings, getName, getTargetIndexName, isLocalizable, removeDataObjects, setBatchSize, setExternalAttributesProvider, setFullIndexingDaemon, setId, setLocalizable, setMappings, setName, setTargetIndexName, usesFullIndexingDaemonequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBatchSize, getDataObjects, getDataObjectsIterator, getExternalAttributesProvider, getId, getMappings, getName, getTargetIndexName, isLocalizable, removeDataObjects, usesFullIndexingDaemonpublic Collection<DataObject> fetchDataObjects()
fetchDataObjects in interface DataSourcepublic List<String> getIdDataObjects()
getIdDataObjects in interface DataSourcegetIdDataObjects in class AbstractDataSourcepublic List<DataObject> getDataObjects(List<String> listIdDataObjects)
getDataObjects in interface DataSourcegetDataObjects in class AbstractDataSourceCopyright © 2021 City of Paris. All rights reserved.