Interface Query


  • public interface Query
    An inventory query. See QueryTypes for possible types of queries.
    • Method Detail

      • builder

        static Query.Builder builder()
        Returns the query builder.
        Returns:
        The query builder
      • orQueries

        static Query orQueries​(Query... queries)
        Returns a new query matching any of the queries.
        Parameters:
        queries - The queries to match
        Returns:
        The new query
      • execute

        Inventory execute​(Inventory inventory)
        Executes this query on given inventory
        Parameters:
        inventory - The query
        Returns:
        The query result