congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Duct.start
Code IndexAdd Tabnine to your IDE (free)

How to use
start
method
in
cascading.flow.stream.duct.Duct

Best Java code snippets using cascading.flow.stream.duct.Duct.start (Showing top 15 results out of 315)

origin: cwensel/cascading

@Override
public void start( Duct previous )
 {
 next.start( previous );
 }
origin: cwensel/cascading

@Override
public void start( Duct previous )
 {
 next.start( this );
 }
origin: cwensel/cascading

public void start( Duct previous )
 {
 next.start( this );
 }
origin: cwensel/cascading

@Override
public void start( Duct previous )
 {
 for( int i = 0; i < allNext.length; i++ )
  allNext[ i ].start( previous );
 }
origin: dataArtisans/cascading-flink

@Override
public void start(Duct previous) {
  next.start(this);
}
origin: cwensel/cascading

public void passOn( Duct next )
 {
 startLatch.countDown();
 next.start( previous );
 }
origin: dataArtisans/cascading-flink

public void setRecordReader(RecordReader recordReader) throws Throwable {
  try {
    next.start( this );
    // input may be null
    iterator = source.openForRead( flowProcess, recordReader );
  }
  catch( Throwable throwable ) {
    if( !( throwable instanceof OutOfMemoryError ) ) {
      LOG.error("caught throwable", throwable);
    }
    throw throwable;
  }
}
origin: cwensel/cascading

 return;
next.start( this );
origin: cwensel/cascading

 return;
next.start( this );
origin: cwensel/cascading

@Override
public void receive( Duct previous, int ordinal, Void value )
 {
 next.start( this );
 for( Outgoing item : values )
  next.receive( this, 0, item );
 next.complete( this );
 }
}
origin: dataArtisans/cascading-flink

next.start(this);
origin: cwensel/cascading

@Override
public synchronized void complete( Duct previous )
 {
 count++;
 if( count < size )
  return;
 try
  {
  Grouping grouping = new Grouping();
  grouping.joinIterator = list.listIterator();
  next.start( this );
  next.receive( this, 0, (Outgoing) grouping );
  next.complete( this );
  }
 finally
  {
  list.clear();
  count = 0;
  }
 }
origin: dataArtisans/cascading-flink

next.start(this);
TupleEntry tupleEntry = new TupleEntry();
origin: cwensel/cascading

next.start( this );
origin: dataArtisans/cascading-flink

  @Override
  public void run(Object input) throws Throwable {

    if(!this.nextStarted) {
      next.start(this);
      this.nextStarted = true;
    }

    try {
      Tuple tuple = (Tuple)input;
      tupleEntry.setTuple(tuple);
      flowProcess.increment( StepCounters.Tuples_Read, 1 );
      flowProcess.increment(SliceCounters.Tuples_Read, 1);
    }
    catch( OutOfMemoryError error ) {
      handleReThrowableException("out of memory, try increasing task memory allocation", error);
    }
    catch( CascadingException exception ) {
      handleException(exception, null);
    }
    catch( Throwable throwable ) {
      handleException(new DuctException("internal error", throwable), null);
    }

    next.receive( this, tupleEntry );

  }
}
cascading.flow.stream.ductDuctstart

Popular methods of Duct

  • receive
  • complete
  • bind
  • cleanup
  • getNext
  • getNextFor
  • initialize
    Called immediately after bind
  • prepare

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now