processing/src/main/java/org/apache/carbondata/processing/store/writer/v3/CarbonFactDataWriterImplV3.java
/**
   * Method will be used to close the open file channel
   *
   * @throws CarbonDataWriterException
   */
Method will be used to close the open file channel
@throws CarbonDataWriterException
Method will be used to close the open file channel @throws CarbonDataWriterException
public void closeWriter() throws CarbonDataWriterException {
    commitCurrentFile(true);
    try {
      writeIndexFile();
    } catch (IOException e) {
      LOGGER.error(e, "Problem while writing the index file");
      throw new CarbonDataWriterException("Problem while writing the index file", e);
    }
    closeExecutorService();
  }
public void closeWriter ( ) throws CarbonDataWriterException { commitCurrentFile ( true ) ; try { writeIndexFile ( ) ; } catch ( IOException e ) { LOGGER . error ( e , "Problem while writing the index file" ) ; throw new CarbonDataWriterException ( "Problem while writing the index file" , e ) ; } closeExecutorService ( ) ; }
Method will be used to close the open file channel
 @throws CarbonDataWriterException
Method will be used to close the open file channel @throws CarbonDataWriterException