congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GraphFinderException
Code IndexAdd Tabnine to your IDE (free)

How to use
GraphFinderException
in
cascading.flow.planner.iso.finder

Best Java code snippets using cascading.flow.planner.iso.finder.GraphFinderException (Showing top 2 results out of 315)

origin: cwensel/cascading

public Node getVertex( int vertex )
 {
 while( count < vertex && iterator.hasNext() )
  {
  count++;
  index[ count ] = iterator.next();
  reverse.put( (Node) index[ count ], count );
  }
 if( index[ vertex ] == null )
  {
  if( index.length != count - 1 )
   throw new GraphFinderException( "given graph has multiple origins with search order: " + searchOrder + ", likely not all paths connect HEAD and TAIL of element graph", getDelegate() );
  throw new GraphFinderException( "vertex is null: " + vertex, getDelegate() );
  }
 return (Node) index[ vertex ];
 }
origin: cwensel/cascading

/**
 * Method writeCauseDOT writes the underlying {@link cascading.flow.planner.iso.finder.GraphFinderException}
 * intermediate graph as a DOT file.
 * <p>
 * If the cause is not a GraphFinderException, and the underlying graph doesn't provide a 'writeDOT' method,
 * the method does nothing.
 *
 * @param filename of type String
 */
public void writeCauseDOT( String filename )
 {
 if( getCause() instanceof GraphFinderException )
  ( (GraphFinderException) getCause() ).writeDOT( filename );
 }
}
cascading.flow.planner.iso.finderGraphFinderException

Most used methods

  • <init>
  • writeDOT

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • requestLocationUpdates (LocationManager)
  • String (java.lang)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • ImageIO (javax.imageio)
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim 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