public interface IndexBeanProvider
Modifier and Type | Method and Description |
---|---|
default List<IndexBean> |
getBeans(Head pFrom,
boolean pAscending,
int pCount,
boolean pInsertAsTail)
Retrieves a number of
beans from the given position
in a specified order. |
List<IndexBean> |
getBeans(Timestamp pFrom,
boolean pAscending,
int pCount)
Retrieves a number of
beans from the given timestamp
in a specified order. |
default List<IndexBean> |
getBeans(Timestamp pFrom,
boolean pAscending,
int pCount,
boolean pInsertAsTail)
Deprecated.
|
IndexBean.IndexBeanType |
getIndexBeanType()
Returns type of
IndexBean which is provided by the IndexBeanProvider. |
List<IndexBean> |
getMissingBeans()
|
List<IndexBean> |
getMissingBeans(Timestamp pModifiedAfter)
|
List<IndexBean> getBeans(Timestamp pFrom, boolean pAscending, int pCount)
beans
from the given timestamp
in a specified order.default List<IndexBean> getBeans(Timestamp pFrom, boolean pAscending, int pCount, boolean pInsertAsTail)
getBeans(com.escenic.search.index.Head, boolean, int, boolean)
instead.default List<IndexBean> getBeans(Head pFrom, boolean pAscending, int pCount, boolean pInsertAsTail)
beans
from the given position
in a specified order.pFrom
- - the to fetch the beans
from.
For backwards compatibility, the Head must contain both the objectID and the last modified
timestamp of the head item.pAscending
- - the order of the returned beans
.pCount
- - the number of objects to be returned.pInsertAsTail
- - true if the beans should be inserted as tail entriesbeans
in the specified order.List<IndexBean> getMissingBeans() throws SQLException
beans
. The method should never return null
SQLException
- if collection the missing beans failedList<IndexBean> getMissingBeans(Timestamp pModifiedAfter) throws SQLException
pModifiedAfter
- Only find objects that has been modified since the given timestamp. This parameter will never be null
beans
. The method should never return null
SQLException
- if collection the missing beans failedIndexBean.IndexBeanType getIndexBeanType()
IndexBean
which is provided by the IndexBeanProvider.© 1998- 2021 Escenic AS