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

data class FungibleAssetQueryCriteria : CommonQueryCriteria

FungibleStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultFungibleStates

LinearStateQueryCriteria

data class LinearStateQueryCriteria : CommonQueryCriteria

LinearStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultLinearState

OrComposition

class OrComposition : QueryCriteria, OrVisitor<QueryCriteria, IQueryCriteriaParser, Sort>

SoftLockingCondition

data class SoftLockingCondition

Select states based on their locks.

SoftLockingType

enum class SoftLockingType

TimeCondition

data class TimeCondition

TimeInstantType

enum class TimeInstantType

VaultCustomQueryCriteria

data class VaultCustomQueryCriteria<L : PersistentState> : CommonQueryCriteria

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

VaultQueryCriteria

data class VaultQueryCriteria : CommonQueryCriteria

VaultQueryCriteria: provides query by attributes defined in VaultSchema.VaultStates

Functions

and

open fun and(criteria: QueryCriteria): QueryCriteria

or

open fun or(criteria: QueryCriteria): QueryCriteria

Inherited Functions

visit

abstract fun visit(parser: P): Collection<Predicate>

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

AndComposition

class AndComposition : QueryCriteria, AndVisitor<QueryCriteria, IQueryCriteriaParser, Sort>

CommonQueryCriteria

abstract class CommonQueryCriteria : QueryCriteria

OrComposition

class OrComposition : QueryCriteria, OrVisitor<QueryCriteria, IQueryCriteriaParser, Sort>