Class QueryHelper

  • Direct Known Subclasses:
    QueryParserHelper

    public class QueryHelper
    extends java.lang.Object
    Query helper (common to all types: SELECT, UPDATE, INSET, DELETE)
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected QueryHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static BooleanQuery and()  
      static CompareQuery eq​(java.lang.String variableName, boolean value)  
      static CompareQuery eq​(java.lang.String variableName, double value)  
      static CompareQuery eq​(java.lang.String variableName, long value)  
      static CompareQuery eq​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery eq​(java.lang.String variableName, java.util.Date value)  
      static ExistsQuery exists​(java.lang.String variableName)  
      static MltQuery flt​(java.lang.String value, java.lang.String... variableName)  
      static CompareQuery gt​(java.lang.String variableName, boolean value)  
      static CompareQuery gt​(java.lang.String variableName, double value)  
      static CompareQuery gt​(java.lang.String variableName, long value)  
      static CompareQuery gt​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery gt​(java.lang.String variableName, java.util.Date value)  
      static CompareQuery gte​(java.lang.String variableName, boolean value)  
      static CompareQuery gte​(java.lang.String variableName, double value)  
      static CompareQuery gte​(java.lang.String variableName, long value)  
      static CompareQuery gte​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery gte​(java.lang.String variableName, java.util.Date value)  
      static InQuery in​(java.lang.String variableName, boolean... value)  
      static InQuery in​(java.lang.String variableName, double... value)  
      static InQuery in​(java.lang.String variableName, long... value)  
      static InQuery in​(java.lang.String variableName, java.lang.String... value)  
      static InQuery in​(java.lang.String variableName, java.util.Date... value)  
      static ExistsQuery isNull​(java.lang.String variableName)  
      static CompareQuery lt​(java.lang.String variableName, boolean value)  
      static CompareQuery lt​(java.lang.String variableName, double value)  
      static CompareQuery lt​(java.lang.String variableName, long value)  
      static CompareQuery lt​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery lt​(java.lang.String variableName, java.util.Date value)  
      static CompareQuery lte​(java.lang.String variableName, boolean value)  
      static CompareQuery lte​(java.lang.String variableName, double value)  
      static CompareQuery lte​(java.lang.String variableName, long value)  
      static CompareQuery lte​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery lte​(java.lang.String variableName, java.util.Date value)  
      static MatchQuery match​(java.lang.String variableName, java.lang.String value)  
      static MatchQuery matchAll​(java.lang.String variableName, java.lang.String value)  
      static MatchQuery matchPhrase​(java.lang.String variableName, java.lang.String value)  
      static MatchQuery matchPhrasePrefix​(java.lang.String variableName, java.lang.String value)  
      static ExistsQuery missing​(java.lang.String variableName)
      Deprecated.
      Use $not + $exists
      static MltQuery mlt​(java.lang.String value, java.lang.String... variableName)  
      static CompareQuery ne​(java.lang.String variableName, boolean value)  
      static CompareQuery ne​(java.lang.String variableName, double value)  
      static CompareQuery ne​(java.lang.String variableName, long value)  
      static CompareQuery ne​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery ne​(java.lang.String variableName, java.util.Date value)  
      static NestedQuery nestedSearch​(java.lang.String variableName, com.fasterxml.jackson.databind.JsonNode value)  
      static InQuery nin​(java.lang.String variableName, boolean... value)  
      static InQuery nin​(java.lang.String variableName, double... value)  
      static InQuery nin​(java.lang.String variableName, long... value)  
      static InQuery nin​(java.lang.String variableName, java.lang.String... value)  
      static InQuery nin​(java.lang.String variableName, java.util.Date... value)  
      static BooleanQuery not()  
      static BooleanQuery or()  
      static PathQuery path​(java.lang.String... pathes)  
      static RangeQuery range​(java.lang.String variableName, double min, boolean includeMin, double max, boolean includeMax)  
      static RangeQuery range​(java.lang.String variableName, long min, boolean includeMin, long max, boolean includeMax)  
      static RangeQuery range​(java.lang.String variableName, java.lang.String min, boolean includeMin, java.lang.String max, boolean includeMax)  
      static RangeQuery range​(java.lang.String variableName, java.util.Date min, boolean includeMin, java.util.Date max, boolean includeMax)  
      static SearchQuery regex​(java.lang.String variableName, java.lang.String value)  
      static SearchQuery search​(java.lang.String variableName, java.lang.String value)  
      static CompareQuery size​(java.lang.String variableName, long value)  
      static TermQuery term​(java.lang.String variableName, boolean value)  
      static TermQuery term​(java.lang.String variableName, double value)  
      static TermQuery term​(java.lang.String variableName, long value)  
      static TermQuery term​(java.lang.String variableName, java.lang.String value)  
      static TermQuery term​(java.lang.String variableName, java.util.Date value)  
      static TermQuery term​(java.util.Map<java.lang.String,​java.lang.Object> variableNameValue)  
      static WildcardQuery wildcard​(java.lang.String variableName, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait