@Override public void write(byte[] value) throws IOException {
  if (isFirstTime) {
    init();
    isFirstTime=false;
  }
  checkAndWriteDictionaryChunkToFile();
  oneDictionaryChunkList.add(ByteBuffer.wrap(value));
  totalRecordCount++;
}

@ Override public void write ( byte [ ] value ) throws IOException { if ( isFirstTime ) { init ( ) ; isFirstTime = false ; } checkAndWriteDictionaryChunkToFile ( ) ; oneDictionaryChunkList . add ( ByteBuffer . wrap ( value ) ) ; totalRecordCount ++ ; }
this method will write the data in thrift format to disk . this method will be guided by parameter dictionary_one_chunk_size and data will be divided into chunks based on this parameter
