Class DefaultSolrIndexOperationDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<SolrIndexOperationModel>
de.hybris.platform.solrfacetsearch.daos.impl.DefaultSolrIndexOperationDao
- All Implemented Interfaces:
GenericDao<SolrIndexOperationModel>,SolrIndexOperationDao
public class DefaultSolrIndexOperationDao
extends DefaultGenericDao<SolrIndexOperationModel>
implements SolrIndexOperationDao
Default implementation of
SolrIndexOperationDao.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindIndexOperationById(long id) Finds the index operation by id.Finds the last successfully finished FULL or UPDATE index operation for a given index.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Field Details
-
OPERATIONS_PARAM
- See Also:
-
LAST_SUCCESSFUL_OPERATION_QUERY
- See Also:
-
-
Constructor Details
-
DefaultSolrIndexOperationDao
public DefaultSolrIndexOperationDao()Default constructor.
-
-
Method Details
-
findIndexOperationById
Description copied from interface:SolrIndexOperationDaoFinds the index operation by id.- Specified by:
findIndexOperationByIdin interfaceSolrIndexOperationDao- Parameters:
id- - the index operation id- Returns:
- the index operation
-
findLastSuccesfulIndexOperation
Description copied from interface:SolrIndexOperationDaoFinds the last successfully finished FULL or UPDATE index operation for a given index.- Specified by:
findLastSuccesfulIndexOperationin interfaceSolrIndexOperationDao- Parameters:
index- - the index- Returns:
- Optional
SolrIndexOperationModel
-