either text or gpdbwritable . call the appropiate write method concode_field_sep boolean isCompressed concode_elem_sep String xid concode_elem_sep int segid concode_elem_sep TaskAttemptContext fakeTaskCtx concode_elem_sep boolean isTextFormat concode_elem_sep String outputpath concode_elem_sep String compressCodec concode_elem_sep Configuration conf concode_elem_sep String compressType concode_elem_sep InputStream instream concode_field_sep SequenceFile.Writer getSequenceFileWriter concode_elem_sep RecordWriter<LongWritable,GPDBWritable> getGPDBRecordWriter concode_elem_sep void writeTextFormat concode_elem_sep Class<? extends CompressionCodec> getCodecClass concode_elem_sep void main concode_elem_sep void writeGPDBWritableFormat
void function ( ) { if ( isTextFormat ) writeTextFormat ( ) ; else writeGPDBWritableFormat ( ) ; }