Tabnine Logo
BaseCondition.toMap
Code IndexAdd Tabnine to your IDE (free)

How to use
toMap
method
in
io.yawp.repository.query.condition.BaseCondition

Best Java code snippets using io.yawp.repository.query.condition.BaseCondition.toMap (Showing top 2 results out of 315)

origin: feroult/yawp

@Override
public Map<String, Object> toMap() {
  Map<String, Object> map = new HashMap<>();
  map.put("logicalOperator", logicalOperator.toString());
  List<Map<String, Object>> cs = new ArrayList<>();
  for (BaseCondition c : conditions) {
    cs.add(c.toMap());
  }
  map.put("conditions", cs);
  return map;
}
origin: feroult/yawp

  public Map<String, Object> toMap() {
    Map<String, Object> result = new HashMap<>();
    result.put("clazz", clazz.getCanonicalName());
    result.put("parentId", parentId == null ? null : parentId.toString());
    result.put("condition", condition == null ? null : condition.toMap());
    result.put("preOrders", preOrders);
    result.put("postOrders", postOrders);
    result.put("limit", limit);
    return result;
  }
}
io.yawp.repository.query.conditionBaseConditiontoMap

Popular methods of BaseCondition

  • hasPreFilter
  • evaluate
  • init
  • not
  • and
  • applyPostFilter
  • hasPostFilter
  • or

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now