Examples of ExecutionResult


Examples of org.neo4j.cypher.javacompat.ExecutionResult

  @Override
  public ClosableIterator<Tuple> executeBackendQuery(BackendQuery<String> backendQuery, QueryParameters queryParameters) {
    Map<String, Object> parameters = getNamedParameterValuesConvertedByGridType( queryParameters );
    String nativeQuery = buildNativeQuery( backendQuery, queryParameters );
    ExecutionResult result = executionEngine.execute( nativeQuery, parameters );

    if ( backendQuery.getSingleEntityKeyMetadataOrNull() != null ) {
      return new NodesTupleIterator( result );
    }
    return new MapsTupleIterator( result );
View Full Code Here

Examples of org.stjs.generator.executor.ExecutionResult

  }

  public static Object execute(String preGeneratedJs) {
    try {
      File jsfile = new File(preGeneratedJs);
      ExecutionResult execResult = new RhinoExecutor().run(Collections.singletonList(jsfile), false);
      return convert(execResult.getResult());
    }
    catch (ScriptException se) {
      throw new RuntimeException(se);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.