public abstract class BaseValueVector extends Object implements ValueVector
修飾子とタイプ | フィールドと説明 |
---|---|
protected BufferAllocator |
allocator |
static int |
INITIAL_VALUE_ALLOCATION |
static int |
MAX_ALLOCATION_SIZE |
static String |
MAX_ALLOCATION_SIZE_PROPERTY |
protected String |
name |
修飾子 | コンストラクタと説明 |
---|---|
protected |
BaseValueVector(String name,
BufferAllocator allocator) |
修飾子とタイプ | メソッドと説明 |
---|---|
static boolean |
checkBufRefs(ValueVector vv) |
void |
clear()
Release any owned ArrowBuf and reset the ValueVector to the initial state.
|
void |
close()
Alternative to clear().
|
protected void |
compareTypes(BaseValueVector target,
String caller) |
BufferAllocator |
getAllocator() |
TransferPair |
getTransferPair(BufferAllocator allocator)
to transfer quota responsibility
|
protected static int |
getValidityBufferSizeFromCount(int valueCount) |
Iterator<ValueVector> |
iterator() |
protected ArrowBuf |
releaseBuffer(ArrowBuf buffer) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allocateNew, allocateNewSafe, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, isNull, makeTransferPair, reAlloc, reset, setInitialCapacity, setValueCount
forEach, spliterator
public static final int MAX_ALLOCATION_SIZE
public static final int INITIAL_VALUE_ALLOCATION
protected final BufferAllocator allocator
protected final String name
protected BaseValueVector(String name, BufferAllocator allocator)
public void clear()
ValueVector
clear
インタフェース内 ValueVector
public void close()
ValueVector
close
インタフェース内 Closeable
close
インタフェース内 AutoCloseable
close
インタフェース内 ValueVector
public TransferPair getTransferPair(BufferAllocator allocator)
ValueVector
getTransferPair
インタフェース内 ValueVector
allocator
- the target allocatortransfer pair
, creating a new target vector of
the same type.public Iterator<ValueVector> iterator()
iterator
インタフェース内 Iterable<ValueVector>
public static boolean checkBufRefs(ValueVector vv)
public BufferAllocator getAllocator()
getAllocator
インタフェース内 ValueVector
protected void compareTypes(BaseValueVector target, String caller)
protected static int getValidityBufferSizeFromCount(int valueCount)
Copyright © 2018 The Apache Software Foundation. All rights reserved.