QueryCriteria
Keywords: net.corda.core.node.services.vault.QueryCriteria class
Date: 2023-09-18

net.corda.core.node.services.vault

## Class QueryCriteria

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

- All Implemented Interfaces:
    GenericQueryCriteria<Q,P>
  Direct Known Subclasses:
    QueryCriteria.AndComposition, QueryCriteria.CommonQueryCriteria, QueryCriteria.OrComposition

      public class QueryCriteria
      implements GenericQueryCriteria<Q,P>

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

- - ### Method Detail

    - #### and

          @NotNull
          public QueryCriteria and(@NotNull
                                            QueryCriteria criteria)

    - #### or

          @NotNull
          public QueryCriteria or(@NotNull
                                           QueryCriteria criteria)