private static Pools createPools(PoolFactory pf) {
    Pools pools = new Pools();
    pools.ecbPool = pf.createEncodedColumnBatchPool();
    pools.csdPool = pf.createColumnStreamDataPool();
    return pools;
  }
Add one buffer with compressed data the results for addOneCompressionBuffer (see javadoc).
@param fullCompressionBlock (fCB) Entire compression block, sliced or copied from disk data.
@param isUncompressed Whether the data in the block is uncompressed.
@param cbStartOffset Compressed start offset of the fCB.
@param cbEndOffset Compressed end offset of the fCB.
@param lastChunkLength The number of compressed bytes consumed from last *chunk* into fullCompressionBlock.
@param lastChunk
@param toDecompress See addOneCompressionBuffer.
@param cacheBuffers See addOneCompressionBuffer.
@return New cache buffer.
ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java