QueryCriteria.FungibleStateQueryCriteria - corda

corda / net.corda.core.node.services.vault / QueryCriteria / FungibleStateQueryCriteria

# FungibleStateQueryCriteria

`data class FungibleStateQueryCriteria : CommonQueryCriteria`

FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates

### Constructors

#### <init> | FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates `FungibleStateQueryCriteria(participants: List<AbstractParty>? = null, quantity: ColumnPredicate<Long>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus = Vault.RelevancyStatus.ALL)`

### Properties

#### contractStateTypes | `val contractStateTypes: Set<Class<out ContractState>>?`
#### participants | `val participants: List<AbstractParty>?`
#### quantity | `val quantity: ColumnPredicate<Long>?`
#### relevancyStatus | `val relevancyStatus: RelevancyStatus`
#### status | `val status: StateStatus`

### Functions

#### visit | `fun visit(parser: IQueryCriteriaParser): Collection<Predicate>`
#### withContractStateTypes | `fun withContractStateTypes(contractStateTypes: Set<Class<out ContractState>>): FungibleStateQueryCriteria`
#### withParticipants | `fun withParticipants(participants: List<AbstractParty>): FungibleStateQueryCriteria`
#### withQuantity | `fun withQuantity(quantity: ColumnPredicate<Long>): FungibleStateQueryCriteria`
#### withRelevancyStatus | `fun withRelevancyStatus(relevancyStatus: RelevancyStatus): FungibleStateQueryCriteria`
#### withStatus | `fun withStatus(status: StateStatus): FungibleStateQueryCriteria`