Examples of materialize()


Examples of com.oracle.truffle.api.frame.VirtualFrame.materialize()

            final VirtualFrame maximumClosureFrame = Truffle.getRuntime().createVirtualFrame(RubyArguments.pack(maxBlock, null, array, null, new Object[]{}), maxBlock.getFrameDescriptor());
            maximumClosureFrame.setObject(maxBlock.getFrameSlot(), maximum);

            final RubyProc block = new RubyProc(getContext().getCoreLibrary().getProcClass(), RubyProc.Type.PROC,
                    maxBlock.getSharedMethodInfo(), maxBlock.getCallTarget(), maxBlock.getCallTarget(),
                    maximumClosureFrame.materialize(), array, null);

            eachNode.call(frame, array, "each", block);

            if (maximum.get() == null) {
                return getContext().getCoreLibrary().getNilObject();
View Full Code Here

Examples of lupos.datastructures.queryresult.QueryResult.materialize()

              .serialize(AsynchronSubgraphContainer.this
                  .getRootOfSubgraph(), 0);
          final QueryResult result = AsynchronSubgraphContainer.this.subgraphExecutor
              .evaluate(AsynchronSubgraphContainer.this.getKey(),
                  serializedGraph.toString(),bindingsFactory);
          result.materialize();
          result.materialize(); // just for now read all from the
                      // stream sent by the endpoint,
                      // otherwise it may be blocked! (may
                      // be removed if each endpoint can
                      // work completely in parallel!)
View Full Code Here

Examples of org.apache.crunch.impl.mr.MRPipeline.materialize()

    if (!(right.getPipeline() instanceof MRPipeline)) {
      throw new CrunchRuntimeException("Map-side join is only supported within a MapReduce context");
    }

    MRPipeline pipeline = (MRPipeline) right.getPipeline();
    pipeline.materialize(right);

    // TODO Move necessary logic to MRPipeline so that we can theoretically
    // optimize his by running the setup of multiple map-side joins concurrently
    pipeline.run();
View Full Code Here

Examples of org.apache.crunch.materialize.MaterializableIterable.materialize()

      for (PCollectionImpl<?> c : outputTargets.keySet()) {
        if (toMaterialize.containsKey(c)) {
          MaterializableIterable iter = toMaterialize.get(c);
          if (iter.isSourceTarget()) {
            iter.materialize();
            c.materializeAt((SourceTarget) iter.getSource());
          }
        } else {
          boolean materialized = false;
          for (Target t : outputTargets.get(c)) {
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.