com.worklight.jsonstore.api

Class JSONStoreQueryParts

  • java.lang.Object
    • com.worklight.jsonstore.api.JSONStoreQueryParts


  • public class JSONStoreQueryParts
    extends java.lang.Object
    Represents a group of query parts that are joined with an OR statement.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addQueryPart(JSONStoreQueryPart part)
      Add a JSONStoreQueryPart to the group of parts.
      java.util.List getAllQueryParts()
      Retrieve the current list of query parts in this query part group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONStoreQueryParts

        public JSONStoreQueryParts()
    • Method Detail

      • addQueryPart

        public void addQueryPart(JSONStoreQueryPart part)
        Add a JSONStoreQueryPart to the group of parts.
        Parameters:
        part - A query part that should be included in the query. All query parts are ORed together. For example, when adding query part A and query part B to the query content, the final query will be A OR B.
      • getAllQueryParts

        public java.util.List getAllQueryParts()
        Retrieve the current list of query parts in this query part group.
        Returns:
        A list of all query parts in the query content.


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.