@Override public TupleEntryCollector openForWrite(FlowProcess<JobConf> flowProcess, OutputCollector output) throws IOException { return new HadoopTupleEntrySchemeCollector(flowProcess, this, output); }
@Override public TupleEntryCollector openForWrite(FlowProcess<JobConf> flowProcess, OutputCollector output) throws IOException { return new HadoopTupleEntrySchemeCollector(flowProcess, this, output); }
@Override public TupleEntryCollector openForWrite( FlowProcess<? extends Configuration> flowProcess, OutputCollector output ) throws IOException { resetFileStatuses(); // output may be null when this method is called on the client side or cluster side when creating // side files with the PartitionTap return new HadoopTupleEntrySchemeCollector( flowProcess, this, output ); }
@Override public TupleEntryCollector openForWrite( FlowProcess<? extends Configuration> flowProcess, OutputCollector output ) throws IOException { resetFileStatuses(); // output may be null when this method is called on the client side or cluster side when creating // side files with the PartitionTap return new HadoopTupleEntrySchemeCollector( flowProcess, this, output ); }
@Override public TupleEntryCollector openForWrite( FlowProcess<? extends Configuration> flowProcess, OutputCollector output ) throws IOException { if( !isSink() ) throw new TapException( "this tap may not be used as a sink, no TableDesc defined" ); return new HadoopTupleEntrySchemeCollector( flowProcess, this, output ); }