Tabnine Logo
OJson.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
com.orientechnologies.orient.core.sql.parser.OJson

Best Java code snippets using com.orientechnologies.orient.core.sql.parser.OJson.toString (Showing top 5 results out of 315)

origin: com.orientechnologies/orientdb-core

 arrayConcatExpression.toString(params, builder);
} else if (json != null) {
 json.toString(params, builder);
} else if (booleanValue != null) {
 builder.append(booleanValue.toString());
origin: com.orientechnologies/orientdb-core

case TYPE_MERGE:
 builder.append("MERGE ");
 json.toString(params, builder);
 break;
case TYPE_CONTENT:
 builder.append("CONTENT ");
 json.toString(params, builder);
 break;
case TYPE_INCREMENT:
origin: com.orientechnologies/orientdb-core

 content.toString(params, builder);
} else if (contentInputParam != null) {
 builder.append("CONTENT ");
origin: com.orientechnologies/orientdb-core

metadata.toString(params, builder);
origin: com.orientechnologies/orientdb-lucene

protected OLuceneResultSet results(OFromClause target, OExpression[] args, OCommandContext ctx, Object rightValue) {
 OIndex oIndex = searchForIndex(target, args);
 if (oIndex == null) {
  return null;
 }
 Map<String, Object> queryParams = new HashMap<>();
 queryParams.put(SpatialQueryBuilderAbstract.GEO_FILTER, operator());
 Object shape;
 if (args[1].getValue() instanceof OJson) {
  OJson json = (OJson) args[1].getValue();
  ODocument doc = new ODocument().fromJSON(json.toString());
  shape = doc.toMap();
 } else {
  shape = args[1].execute((OIdentifiable) null, ctx);
 }
 queryParams.put(SpatialQueryBuilderAbstract.SHAPE, shape);
 onAfterParsing(queryParams, args, ctx, rightValue);
 Set<String> indexes = (Set<String>) ctx.getVariable("involvedIndexes");
 if (indexes == null) {
  indexes = new HashSet<>();
  ctx.setVariable("involvedIndexes", indexes);
 }
 indexes.add(oIndex.getName());
 return (OLuceneResultSet) oIndex.get(queryParams);
}
com.orientechnologies.orient.core.sql.parserOJsontoString

Popular methods of OJson

  • <init>
  • copy
  • deserialize
  • equals
  • extractSubQueries
  • getClassNameForDocument
  • getTypeForDocument
  • hashCode
  • isAggregate
  • isCacheable
  • jjtSetFirstToken
  • jjtSetLastToken
  • jjtSetFirstToken,
  • jjtSetLastToken,
  • needsAliases,
  • refersToParent,
  • serialize,
  • splitForAggregation,
  • toDocument,
  • toMap,
  • toObjectDetermineType

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JButton (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best IntelliJ plugins
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