public class WritableBatch extends Object implements AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
static WritableBatch |
get(VectorAccessible batch) |
static WritableBatch |
getBatchNoHV(int recordCount,
Iterable<ValueVector> vectors,
boolean isSV2) |
static WritableBatch |
getBatchNoHVWrap(int recordCount,
Iterable<VectorWrapper<?>> vws,
boolean isSV2) |
DrillBuf[] |
getBuffers() |
UserBitShared.RecordBatchDef |
getDef() |
void |
reconstructContainer(BufferAllocator allocator,
VectorContainer container) |
void |
retainBuffers(int increment) |
WritableBatch |
transfer(BufferAllocator allocator) |
public WritableBatch transfer(BufferAllocator allocator)
public UserBitShared.RecordBatchDef getDef()
public DrillBuf[] getBuffers()
public void reconstructContainer(BufferAllocator allocator, VectorContainer container)
public void clear()
public static WritableBatch getBatchNoHVWrap(int recordCount, Iterable<VectorWrapper<?>> vws, boolean isSV2)
public static WritableBatch getBatchNoHV(int recordCount, Iterable<ValueVector> vectors, boolean isSV2)
public static WritableBatch get(VectorAccessible batch)
public void retainBuffers(int increment)
public void close()
close
in interface AutoCloseable
Copyright © 1970 The Apache Software Foundation. All rights reserved.