public class DefaultSolrIndexOperationDao extends DefaultGenericDao<SolrIndexOperationModel> implements SolrIndexOperationDao
SolrIndexOperationDao.| Modifier and Type | Field and Description |
|---|---|
protected static String |
LAST_SUCCESSFUL_OPERATION_QUERY |
protected static String |
OPERATIONS_PARAM |
| Constructor and Description |
|---|
DefaultSolrIndexOperationDao()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SolrIndexOperationModel |
findIndexOperationById(long id)
Finds the index operation by id.
|
Optional<SolrIndexOperationModel> |
findLastSuccesfulIndexOperation(SolrIndexModel index)
Finds the last successfully finished FULL or UPDATE index operation for a given index.
|
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServiceprotected static final String OPERATIONS_PARAM
protected static final String LAST_SUCCESSFUL_OPERATION_QUERY
public DefaultSolrIndexOperationDao()
public SolrIndexOperationModel findIndexOperationById(long id)
SolrIndexOperationDaofindIndexOperationById in interface SolrIndexOperationDaoid - - the index operation idpublic Optional<SolrIndexOperationModel> findLastSuccesfulIndexOperation(SolrIndexModel index)
SolrIndexOperationDaofindLastSuccesfulIndexOperation in interface SolrIndexOperationDaoindex - - the indexSolrIndexOperationModelCopyright © 2017 SAP SE. All Rights Reserved.