private void processColumnCacheData(LlapSerDeDataBuffer[][][] cacheBuffers, OrcEncodedColumnBatch ecb, int colIx) { // The column has been obtained from cache. LlapSerDeDataBuffer[][] colData = cacheBuffers[colIx]; if (LlapIoImpl.CACHE_LOGGER.isTraceEnabled()) { LlapIoImpl.CACHE_LOGGER.trace("Processing cache data for column " + colIx + ": " + SerDeLowLevelCacheImpl.toString(colData)); } for (int streamIx = 0; streamIx < colData.length; ++streamIx) { if (colData[streamIx] == null) continue; ColumnStreamData cb = useObjectPools ? CSD_POOL.take() : new ColumnStreamData(); cb.incRef(); cb.setCacheBuffers(Lists.<MemoryBuffer>newArrayList(colData[streamIx])); ecb.setStreamData(colIx, streamIx, cb); } }
cb.incRef(); cb.setCacheBuffers(stream.data); ecb.setStreamData(colIx, streamIx, cb);
ecb.setStreamData(ctx.colIx, sctx.kind.getNumber(), cb);
cb.incRef(); cb.setCacheBuffers(stream.data); ecb.setStreamData(colIx, streamIx, cb);
private void processColumnCacheData(LlapSerDeDataBuffer[][][] cacheBuffers, OrcEncodedColumnBatch ecb, int colIx) { // The column has been obtained from cache. LlapSerDeDataBuffer[][] colData = cacheBuffers[colIx]; if (LlapIoImpl.CACHE_LOGGER.isTraceEnabled()) { LlapIoImpl.CACHE_LOGGER.trace("Processing cache data for column " + colIx + ": " + SerDeLowLevelCacheImpl.toString(colData)); } for (int streamIx = 0; streamIx < colData.length; ++streamIx) { if (colData[streamIx] == null) continue; ColumnStreamData cb = useObjectPools ? CSD_POOL.take() : new ColumnStreamData(); cb.incRef(); cb.setCacheBuffers(Lists.<MemoryBuffer>newArrayList(colData[streamIx])); ecb.setStreamData(colIx, streamIx, cb); } }
ecb.setStreamData(ctx.colIx, sctx.kind.getNumber(), cb); } catch (Exception ex) { DiskRangeList drl = toRead == null ? null : toRead.next;