public interface Index
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(CacheDataRow row)
Checks whether index handles specified cache row.
|
void |
destroy(boolean softDelete)
Destroy index.
|
UUID |
id()
Unique ID.
|
String |
name()
Index name.
|
void |
onUpdate(@Nullable CacheDataRow oldRow,
@Nullable CacheDataRow newRow,
boolean prevRowAvailable)
Callback that runs when the underlying cache is updated.
|
<T extends Index> |
unwrap(Class<T> clazz)
Provides a standard way to access the underlying concrete index
implementation to provide access to further, proprietary features.
|
UUID id()
String name()
boolean canHandle(CacheDataRow row) throws IgniteCheckedException
row - Cache row.IgniteCheckedExceptionvoid onUpdate(@Nullable
@Nullable CacheDataRow oldRow,
@Nullable
@Nullable CacheDataRow newRow,
boolean prevRowAvailable)
throws IgniteCheckedException
oldRow - Cache row that was replaced with newRow.newRow - Cache row that was stored.prevRowAvailable - Whether oldRow available.IgniteCheckedException<T extends Index> T unwrap(Class<T> clazz)
void destroy(boolean softDelete)
softDelete - if true then perform logical deletion.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021