@Override public void close() throws IOException { if (columnarBatch != null) { columnarBatch.close(); columnarBatch = null; } super.close(); }
/** * Called to close all the columns in this batch. It is not valid to access the data after * calling this. This must be called at the end to clean up memory allocations. */ public void close() { columnarBatch.close(); }
@Override public void close() throws IOException { if (columnarBatch != null) { columnarBatch.close(); columnarBatch = null; } super.close(); }