mirror of
https://github.com/corda/corda.git
synced 2025-06-23 17:53:31 +00:00
[CORDA-2298] Update trackBy documentation (#4496)
* Update the documentation for trackBy to better indicate that updates are not filtered according to the query criteria * Add a test that shows the behaviour, which is skipped for now until a solution is implemented.
This commit is contained in:
@ -390,8 +390,11 @@ interface VaultService {
|
||||
*
|
||||
* @throws VaultQueryException if the query cannot be executed for any reason.
|
||||
*
|
||||
* Notes: the snapshot part of the query adheres to the same behaviour as the [queryBy] function.
|
||||
* the [QueryCriteria] applies to both snapshot and deltas (streaming updates).
|
||||
* Notes:
|
||||
* - The snapshot part of the query adheres to the same behaviour as the [queryBy] function.
|
||||
* - The update part of the query currently only supports query criteria filtering by contract
|
||||
* type(s) and state status(es). CID-731 <https://r3-cev.atlassian.net/browse/CID-731> proposes
|
||||
* adding the complete set of [QueryCriteria] filtering.
|
||||
*/
|
||||
@Throws(VaultQueryException::class)
|
||||
fun <T : ContractState> _trackBy(criteria: QueryCriteria,
|
||||
|
Reference in New Issue
Block a user