public interface ChainTableDatabase
| Modifier and Type | Method and Description |
|---|---|
void |
delete(List<Uid32> uids)
Delete the lines indexed by the given UIDs
Uid32 from the Chain Table. |
default FindexNativeWrapper.DeleteCallback |
deleteCallback()
Return the appropriate delete callback (with input/output serialization).
|
List<Tuple<Uid32,ChainTableValue>> |
fetch(List<Uid32> uids)
Fetch the Chain Table lines for the list of given
Uid32. |
default FindexNativeWrapper.FetchCallback |
fetchCallback()
Return the appropriate fetch callback (with input/output serialization).
|
void |
insert(Map<Uid32,ChainTableValue> uidsAndValues)
Insert the given lines in the Chain Table.
|
default FindexNativeWrapper.InsertCallback |
insertCallback()
Return the appropriate insert callback (with input/output serialization).
|
List<Tuple<Uid32,ChainTableValue>> fetch(List<Uid32> uids) throws CloudproofException
Uid32. If a line does not exist, there should be no
entry in the returned list.
Implementation of this method is always required (to search, update or compact the index).
uids - the unique Uid32s used as line idMap of Uid32 to ChainTableValueCloudproofException - if anything goes wrongvoid insert(Map<Uid32,ChainTableValue> uidsAndValues) throws CloudproofException
Implementation of this method is only required to perform additions, deletions or compact operations on the index.
uidsAndValues - a Map of Uid32 to ChainTableValueCloudproofException - if anything goes wrongvoid delete(List<Uid32> uids) throws CloudproofException
Uid32 from the Chain Table.
Implementation of this method is only required to perform compact operations on the index.
uids - a List of Uid32CloudproofException - if anything goes wrongdefault FindexNativeWrapper.FetchCallback fetchCallback()
default FindexNativeWrapper.InsertCallback insertCallback()
default FindexNativeWrapper.DeleteCallback deleteCallback()
Copyright © 2023. All rights reserved.