public class DefaultSolrIndexOperationDao extends DefaultGenericDao<SolrIndexOperationModel> implements SolrIndexOperationDao
SolrIndexOperationDao.| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
LAST_SUCCESSFUL_OPERATION_QUERY |
protected static java.lang.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.
|
java.util.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 java.lang.String OPERATIONS_PARAM
protected static final java.lang.String LAST_SUCCESSFUL_OPERATION_QUERY
public DefaultSolrIndexOperationDao()
public SolrIndexOperationModel findIndexOperationById(long id)
SolrIndexOperationDaofindIndexOperationById in interface SolrIndexOperationDaoid - - the index operation idpublic java.util.Optional<SolrIndexOperationModel> findLastSuccesfulIndexOperation(SolrIndexModel index)
SolrIndexOperationDaofindLastSuccesfulIndexOperation in interface SolrIndexOperationDaoindex - - the indexSolrIndexOperationModelCopyright © 2018 SAP SE. All Rights Reserved.