Class RestQuery

java.lang.Object
io.clonecloudstore.common.database.utils.RestQuery
Direct Known Subclasses:
DbQuery

public class RestQuery extends Object
RestQuery enabling Query to be serialized as Json
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Returns:
      True if this query has no criteria (equivalent to where "all")
    • getQUERY

      public RestQuery.QUERY getQUERY()
      Returns:
      the QUERY
    • getConjunction

      public RestQuery.CONJUNCTION getConjunction()
      Returns:
      the CONJUNCTION
    • getFieldName

      public String getFieldName()
      Returns:
      the Field Name
    • getSvalue

      public String getSvalue()
      Returns:
      the value for a String
    • getOvalue

      public Object getOvalue()
      Returns:
      the value for an Object
    • getAvalues

      public Object[] getAvalues()
      Returns:
      the value for an array of Object
    • getValueCollection

      public Collection<Object> getValueCollection()
      Returns:
      the value for a collection of Object
    • getRestQueries

      public RestQuery[] getRestQueries()
      Returns:
      in case of Conjunction, the array of sub-queries