QueryCriteria.VaultCustomQueryCriteria.<init> - corda

corda / net.corda.core.node.services.vault / QueryCriteria / VaultCustomQueryCriteria / <init>

# <init>

`VaultCustomQueryCriteria(expression: CriteriaExpression<L, Boolean>, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null)` `VaultCustomQueryCriteria(expression: CriteriaExpression<L, Boolean>, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus = Vault.RelevancyStatus.ALL)`

VaultCustomQueryCriteria: provides query by custom attributes defined in a contracts QueryableState implementation. (see Persistence documentation for more information)

Params expression refers to a (composable) type safe CriteriaExpression