QueryCriteria - corda

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

# QueryCriteria

`sealed class QueryCriteria : GenericQueryCriteria<QueryCriteria, IQueryCriteriaParser>, ChainableQueryCriteria<QueryCriteria, IQueryCriteriaParser>`

Indexing assumptions: QueryCriteria assumes underlying schema tables are correctly indexed for performance.

### Types

#### AndComposition | `class AndComposition : QueryCriteria, AndVisitor<QueryCriteria, IQueryCriteriaParser, Sort>`
#### CommonQueryCriteria | `abstract class CommonQueryCriteria : QueryCriteria`
#### FungibleAssetQueryCriteria | FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates `data class FungibleAssetQueryCriteria : CommonQueryCriteria`
#### FungibleStateQueryCriteria | FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates `data class FungibleStateQueryCriteria : CommonQueryCriteria`
#### LinearStateQueryCriteria | LinearStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultLinearState `data class LinearStateQueryCriteria : CommonQueryCriteria`
#### OrComposition | `class OrComposition : QueryCriteria, OrVisitor<QueryCriteria, IQueryCriteriaParser, Sort>`
#### SoftLockingCondition | Select states based on their locks. `data class SoftLockingCondition`
#### SoftLockingType | `enum class SoftLockingType`
#### TimeCondition | `data class TimeCondition`
#### TimeInstantType | `enum class TimeInstantType`
#### VaultCustomQueryCriteria | VaultCustomQueryCriteria: provides query by custom attributes defined in a contracts QueryableState implementation. (see Persistence documentation for more information) `data class VaultCustomQueryCriteria<L : StatePersistable> : CommonQueryCriteria`
#### VaultQueryCriteria | VaultQueryCriteria: provides query by attributes defined in VaultSchema.VaultStates `data class VaultQueryCriteria : CommonQueryCriteria`

### Functions

#### and | `open fun and(criteria: QueryCriteria): QueryCriteria`
#### or | `open fun or(criteria: QueryCriteria): QueryCriteria`