287288289290291292293
public TupleEntryCollector openForWrite( JobConf conf ) throws IOException { if( !isSink() ) throw new TapException( "this tap may not be used as a sink, no TableDesc defined" ); return new TapCollector( this, conf ); }
59606162636465
return new TupleEntryIterator( getSourceFields(), new TapIterator( this, jobConf ) ); } @Override public TupleEntryCollector openForWrite(JobConf jobConf) throws IOException { return new TapCollector( this, jobConf ); }