Class QueryModel.ArrayContains

All Implemented Interfaces:
QueryModel.Criterion
Enclosing interface:
QueryModel

public static class QueryModel.ArrayContains extends QueryModel.PropertyCriterion
Criterion used to restrict the results based on belonging to an array.
  • Constructor Details

    • ArrayContains

      public ArrayContains(String name, Object parameter)
      Constructor for an individual parameter.
      Parameters:
      name - The name
      parameter - The parameter
    • ArrayContains

      public ArrayContains(String name, QueryModel subquery)
      Constructor for a subquery.
      Parameters:
      name - The name
      subquery - The subquery
  • Method Details

    • getName

      public String getName()
      Returns:
      The name
    • getSubquery

      @Nullable public @Nullable QueryModel getSubquery()
      Returns:
      The subquery