Tabnine Logo
FlowNodeGraph.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
cascading.flow.planner.process.FlowNodeGraph
constructor

Best Java code snippets using cascading.flow.planner.process.FlowNodeGraph.<init> (Showing top 3 results out of 315)

origin: cwensel/cascading

protected FlowNodeGraph createFlowNodeGraph( FlowStepFactory flowStepFactory, FlowElementGraph flowElementGraph, Map<ElementGraph, List<? extends ElementGraph>> pipelineSubGraphsMap, List<? extends ElementGraph> nodeSubGraphs )
 {
 return new FlowNodeGraph( flowStepFactory.getFlowNodeFactory(), flowElementGraph, nodeSubGraphs, pipelineSubGraphsMap );
 }
}
origin: cwensel/cascading

protected FlowNodeGraph createFlowNodeGraph( List<ElementGraph> elementGraphs )
 {
 ElementGraph mapElementGraph = elementGraphs.get( 0 );
 ElementGraph reduceElementGraph = elementGraphs.size() == 2 ? elementGraphs.get( 1 ) : null;
 FlowNodeGraph flowNodeGraph = new FlowNodeGraph();
 int nodes = elementGraphs.size();
 FlowNode mapperNode = new BaseFlowNode( mapElementGraph, String.format( "(1/%s)", nodes ), 0 );
 flowNodeGraph.addVertex( mapperNode );
 if( nodes == 2 )
  {
  FlowNode reducerNode = new BaseFlowNode( reduceElementGraph, "(2/2)", 1 );
  flowNodeGraph.addVertex( reducerNode );
  flowNodeGraph.addEdge( mapperNode, reducerNode, new ProcessEdge( mapperNode, reducerNode ) );
  }
 return flowNodeGraph;
 }
}
origin: cascading/cascading-hadoop2-mr1

protected FlowNodeGraph createFlowNodeGraph( List<ElementGraph> elementGraphs )
 {
 ElementGraph mapElementGraph = elementGraphs.get( 0 );
 ElementGraph reduceElementGraph = elementGraphs.size() == 2 ? elementGraphs.get( 1 ) : null;
 FlowNodeGraph flowNodeGraph = new FlowNodeGraph();
 int nodes = elementGraphs.size();
 FlowNode mapperNode = new BaseFlowNode( mapElementGraph, String.format( "(1/%s)", nodes ), 0 );
 flowNodeGraph.addVertex( mapperNode );
 if( nodes == 2 )
  {
  FlowNode reducerNode = new BaseFlowNode( reduceElementGraph, "(2/2)", 1 );
  flowNodeGraph.addVertex( reducerNode );
  flowNodeGraph.addEdge( mapperNode, reducerNode, new ProcessEdge( mapperNode, reducerNode ) );
  }
 return flowNodeGraph;
 }
}
cascading.flow.planner.processFlowNodeGraph<init>

Popular methods of FlowNodeGraph

  • edgeSet
  • getOrderedTopologicalIterator
  • vertexSet
  • getElementGraphs
  • addVertex
  • getTopologicalIterator
  • addEdge
  • getEdge
  • getEdgeSource
  • getEdgeTarget
  • getElementSourceProcesses
  • inDegreeOf
  • getElementSourceProcesses,
  • inDegreeOf,
  • incomingEdgesOf,
  • outgoingEdgesOf,
  • bindEdges,
  • buildGraph,
  • getAnnotations,
  • getFlowElementsFor,
  • getSinkElements

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • From CI to AI: The AI layer in your organization
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