format/src/main/java/com/github/sadikovi/riff/Buffers.java
/**
     * Close underlying stream and release resources associated with this row buffer.
     */
Close underlying stream and release resources associated with this row buffer.
Close underlying stream and release resources associated with this row buffer .
@Override
    public void close() {
      try {
        if (currentStream != null) {
          currentStream.close();
          currentStripe.close();
          currentStream = null;
          currentStripe = null;
        }
        info = null;
        stripes = null;
        if (in != null) {
          in.close();
        }
        if (codec != null) {
          codec.close();
        }
      } catch (IOException ioe) {
        LOG.warn("Exception occuried during release of resources: {}", ioe.getMessage());
      } finally {
        in = null;
      }
    }
@ Override public void close ( ) { try { if ( currentStream != null ) { currentStream . close ( ) ; currentStripe . close ( ) ; currentStream = null ; currentStripe = null ; } info = null ; stripes = null ; if ( in != null ) { in . close ( ) ; } if ( codec != null ) { codec . close ( ) ; } } catch ( IOException ioe ) { LOG . warn ( "Exception occuried during release of resources: {}" , ioe . getMessage ( ) ) ; } finally { in = null ; } }
Close underlying stream and release resources associated with this row buffer.
Close underlying stream and release resources associated with this row buffer .
// release current stripe data // release raw stream // release codec resources