blob: 7c24cdac03718cd956f47c387bbfec1d49433b50 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BaseFixedWidthVector (Apache Arrow Java Root POM 17.0.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BaseFixedWidthVector (Apache Arrow Java Root POM 17.0.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":42,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":6,"i26":10,"i27":6,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BaseFixedWidthVector.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/arrow/vector/AllocationHelper.html" title="class in org.apache.arrow.vector"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/arrow/vector/BaseIntVector.html" title="interface in org.apache.arrow.vector"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/arrow/vector/BaseFixedWidthVector.html" target="_top">Frames</a></li>
<li><a href="BaseFixedWidthVector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.arrow.vector</div>
<h2 title="Class BaseFixedWidthVector" class="title">Class BaseFixedWidthVector</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">org.apache.arrow.vector.BaseValueVector</a></li>
<li>
<ul class="inheritance">
<li>org.apache.arrow.vector.BaseFixedWidthVector</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&gt;, <a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html" title="interface in org.apache.arrow.vector">ElementAddressableVector</a>, <a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>, <a href="../../../../org/apache/arrow/vector/FixedWidthVector.html" title="interface in org.apache.arrow.vector">FixedWidthVector</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>, <a href="../../../../org/apache/arrow/vector/VectorDefinitionSetter.html" title="interface in org.apache.arrow.vector">VectorDefinitionSetter</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/apache/arrow/vector/BigIntVector.html" title="class in org.apache.arrow.vector">BigIntVector</a>, <a href="../../../../org/apache/arrow/vector/BitVector.html" title="class in org.apache.arrow.vector">BitVector</a>, <a href="../../../../org/apache/arrow/vector/DateDayVector.html" title="class in org.apache.arrow.vector">DateDayVector</a>, <a href="../../../../org/apache/arrow/vector/DateMilliVector.html" title="class in org.apache.arrow.vector">DateMilliVector</a>, <a href="../../../../org/apache/arrow/vector/Decimal256Vector.html" title="class in org.apache.arrow.vector">Decimal256Vector</a>, <a href="../../../../org/apache/arrow/vector/DecimalVector.html" title="class in org.apache.arrow.vector">DecimalVector</a>, <a href="../../../../org/apache/arrow/vector/DurationVector.html" title="class in org.apache.arrow.vector">DurationVector</a>, <a href="../../../../org/apache/arrow/vector/FixedSizeBinaryVector.html" title="class in org.apache.arrow.vector">FixedSizeBinaryVector</a>, <a href="../../../../org/apache/arrow/vector/Float2Vector.html" title="class in org.apache.arrow.vector">Float2Vector</a>, <a href="../../../../org/apache/arrow/vector/Float4Vector.html" title="class in org.apache.arrow.vector">Float4Vector</a>, <a href="../../../../org/apache/arrow/vector/Float8Vector.html" title="class in org.apache.arrow.vector">Float8Vector</a>, <a href="../../../../org/apache/arrow/vector/IntervalDayVector.html" title="class in org.apache.arrow.vector">IntervalDayVector</a>, <a href="../../../../org/apache/arrow/vector/IntervalMonthDayNanoVector.html" title="class in org.apache.arrow.vector">IntervalMonthDayNanoVector</a>, <a href="../../../../org/apache/arrow/vector/IntervalYearVector.html" title="class in org.apache.arrow.vector">IntervalYearVector</a>, <a href="../../../../org/apache/arrow/vector/IntVector.html" title="class in org.apache.arrow.vector">IntVector</a>, <a href="../../../../org/apache/arrow/vector/SmallIntVector.html" title="class in org.apache.arrow.vector">SmallIntVector</a>, <a href="../../../../org/apache/arrow/vector/TimeMicroVector.html" title="class in org.apache.arrow.vector">TimeMicroVector</a>, <a href="../../../../org/apache/arrow/vector/TimeMilliVector.html" title="class in org.apache.arrow.vector">TimeMilliVector</a>, <a href="../../../../org/apache/arrow/vector/TimeNanoVector.html" title="class in org.apache.arrow.vector">TimeNanoVector</a>, <a href="../../../../org/apache/arrow/vector/TimeSecVector.html" title="class in org.apache.arrow.vector">TimeSecVector</a>, <a href="../../../../org/apache/arrow/vector/TimeStampVector.html" title="class in org.apache.arrow.vector">TimeStampVector</a>, <a href="../../../../org/apache/arrow/vector/TinyIntVector.html" title="class in org.apache.arrow.vector">TinyIntVector</a>, <a href="../../../../org/apache/arrow/vector/UInt1Vector.html" title="class in org.apache.arrow.vector">UInt1Vector</a>, <a href="../../../../org/apache/arrow/vector/UInt2Vector.html" title="class in org.apache.arrow.vector">UInt2Vector</a>, <a href="../../../../org/apache/arrow/vector/UInt4Vector.html" title="class in org.apache.arrow.vector">UInt4Vector</a>, <a href="../../../../org/apache/arrow/vector/UInt8Vector.html" title="class in org.apache.arrow.vector">UInt8Vector</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">BaseFixedWidthVector</span>
extends <a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a>
implements <a href="../../../../org/apache/arrow/vector/FixedWidthVector.html" title="interface in org.apache.arrow.vector">FixedWidthVector</a>, <a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>, <a href="../../../../org/apache/arrow/vector/VectorDefinitionSetter.html" title="interface in org.apache.arrow.vector">VectorDefinitionSetter</a></pre>
<div class="block">BaseFixedWidthVector provides an abstract interface for
implementing vectors of fixed width values. The vectors are nullable
implying that zero or more elements in the vector could be NULL.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#actualValueCapacity">actualValueCapacity</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#field">field</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#lastValueCapacity">lastValueCapacity</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#validityBuffer">validityBuffer</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#valueBuffer">valueBuffer</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#valueCount">valueCount</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.arrow.vector.BaseValueVector">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.arrow.vector.<a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></h3>
<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#allocator">allocator</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#fieldReader">fieldReader</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#INITIAL_VALUE_ALLOCATION">INITIAL_VALUE_ALLOCATION</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#MAX_ALLOCATION_SIZE">MAX_ALLOCATION_SIZE</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#MAX_ALLOCATION_SIZE_PROPERTY">MAX_ALLOCATION_SIZE_PROPERTY</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#BaseFixedWidthVector-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-int-">BaseFixedWidthVector</a></span>(<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;field,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator,
int&nbsp;typeWidth)</code>
<div class="block">Constructs a new instance.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>&lt;OUT,IN&gt;&nbsp;OUT</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#accept-org.apache.arrow.vector.compare.VectorVisitor-IN-">accept</a></span>(<a href="../../../../org/apache/arrow/vector/compare/VectorVisitor.html" title="interface in org.apache.arrow.vector.compare">VectorVisitor</a>&lt;OUT,IN&gt;&nbsp;visitor,
IN&nbsp;value)</code>
<div class="block">Accept a generic <a href="../../../../org/apache/arrow/vector/compare/VectorVisitor.html" title="interface in org.apache.arrow.vector.compare"><code>VectorVisitor</code></a> and return the result.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNew--">allocateNew</a></span>()</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNewSafe--"><code>allocateNewSafe()</code></a>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNew-int-">allocateNew</a></span>(int&nbsp;valueCount)</code>
<div class="block">Allocate memory for the vector to support storing at least the provided number of
elements in the vector.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNewSafe--">allocateNewSafe</a></span>()</code>
<div class="block">Allocate memory for the vector.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#clear--">clear</a></span>()</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#close--"><code>close()</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#close--">close</a></span>()</code>
<div class="block">Close the vector and release the associated buffers.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-">copyFrom</a></span>(int&nbsp;fromIndex,
int&nbsp;thisIndex,
<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;from)</code>
<div class="block">Copy a cell value from a particular index in source vector to a particular
position in this vector.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#copyFromSafe-int-int-org.apache.arrow.vector.ValueVector-">copyFromSafe</a></span>(int&nbsp;fromIndex,
int&nbsp;thisIndex,
<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;from)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-"><code>copyFrom(int, int, ValueVector)</code></a> except that
it handles the case when the capacity of the vector needs to be expanded
before copy.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#decrementAllocationMonitor--">decrementAllocationMonitor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getBuffers-boolean-">getBuffers</a></span>(boolean&nbsp;clear)</code>
<div class="block">Return the underlying buffers associated with this vector.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getBufferSize--">getBufferSize</a></span>()</code>
<div class="block">Get the size (number of bytes) of underlying buffers used by this
vector.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getBufferSizeFor-int-">getBufferSizeFor</a></span>(int&nbsp;count)</code>
<div class="block">Get the potential buffer size for a particular number of records.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getChildrenFromFields--">getChildrenFromFields</a></span>()</code>
<div class="block">Get the inner child vectors.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataBuffer--">getDataBuffer</a></span>()</code>
<div class="block">Get the buffer that stores the data for elements in the vector.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataBufferAddress--">getDataBufferAddress</a></span>()</code>
<div class="block">Get the memory address of buffer that stores the data for elements
in the vector.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/memory/util/ArrowBufPointer.html" title="class in org.apache.arrow.memory.util">ArrowBufPointer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataPointer-int-">getDataPointer</a></span>(int&nbsp;index)</code>
<div class="block">Gets the pointer for the data at the given index.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/memory/util/ArrowBufPointer.html" title="class in org.apache.arrow.memory.util">ArrowBufPointer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataPointer-int-org.apache.arrow.memory.util.ArrowBufPointer-">getDataPointer</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/memory/util/ArrowBufPointer.html" title="class in org.apache.arrow.memory.util">ArrowBufPointer</a>&nbsp;reuse)</code>
<div class="block">Gets the pointer for the data at the given index.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getField--">getField</a></span>()</code>
<div class="block">Get information about how this field is materialized.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getFieldBuffers--">getFieldBuffers</a></span>()</code>
<div class="block">Get the buffers belonging to this vector.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/vector/BufferBacked.html" title="interface in org.apache.arrow.vector">BufferBacked</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getFieldInnerVectors--">getFieldInnerVectors</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">This API will be removed as the current implementations no longer support inner vectors.</span></div>
</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getName--">getName</a></span>()</code>
<div class="block">Gets the name of the vector.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getNullCount--">getNullCount</a></span>()</code>
<div class="block">Get the number of elements that are null in the vector.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getOffsetBuffer--">getOffsetBuffer</a></span>()</code>
<div class="block">buffer that stores the offsets for elements
in the vector.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getOffsetBufferAddress--">getOffsetBufferAddress</a></span>()</code>
<div class="block">Get the memory address of buffer that stores the offsets for elements
in the vector.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></span>(<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</code>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></span>(<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;field,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</code>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-">getTransferPair</a></span>(<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;field,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator,
<a href="../../../../org/apache/arrow/vector/util/CallBack.html" title="interface in org.apache.arrow.vector.util">CallBack</a>&nbsp;callBack)</code>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ref,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</code>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-">getTransferPair</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ref,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator,
<a href="../../../../org/apache/arrow/vector/util/CallBack.html" title="interface in org.apache.arrow.vector.util">CallBack</a>&nbsp;callBack)</code>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTypeWidth--">getTypeWidth</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValidityBuffer--">getValidityBuffer</a></span>()</code>
<div class="block">Get buffer that manages the validity (NULL or NON-NULL nature) of
elements in the vector.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValidityBufferAddress--">getValidityBufferAddress</a></span>()</code>
<div class="block">Get the memory address of buffer that manages the validity
(NULL or NON-NULL nature) of elements in the vector.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValidityBufferValueCapacity--">getValidityBufferValueCapacity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueBufferValueCapacity--">getValueBufferValueCapacity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--">getValueCapacity</a></span>()</code>
<div class="block">Get the current value capacity for the vector.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCount--">getValueCount</a></span>()</code>
<div class="block">Get the value count of vector.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#handleSafe-int-">handleSafe</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#hashCode-int-">hashCode</a></span>(int&nbsp;index)</code>
<div class="block">Returns hashCode of element in index with the default hasher.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#hashCode-int-org.apache.arrow.memory.util.hash.ArrowBufHasher-">hashCode</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/memory/util/hash/ArrowBufHasher.html" title="interface in org.apache.arrow.memory.util.hash">ArrowBufHasher</a>&nbsp;hasher)</code>
<div class="block">Returns hashCode of element in index with the given hasher.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#incrementAllocationMonitor--">incrementAllocationMonitor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#initializeChildrenFromFields-java.util.List-">initializeChildrenFromFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&gt;&nbsp;children)</code>
<div class="block">Initialize the children in schema for this Field.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isNull-int-">isNull</a></span>(int&nbsp;index)</code>
<div class="block">Check if element at given index is null.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isSafe-int-">isSafe</a></span>(int&nbsp;index)</code>
<div class="block">Check if the given index is within the current value capacity
of the vector.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isSet-int-">isSet</a></span>(int&nbsp;index)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isNull-int-"><code>isNull(int)</code></a>.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#loadFieldBuffers-org.apache.arrow.vector.ipc.message.ArrowFieldNode-java.util.List-">loadFieldBuffers</a></span>(<a href="../../../../org/apache/arrow/vector/ipc/message/ArrowFieldNode.html" title="class in org.apache.arrow.vector.ipc.message">ArrowFieldNode</a>&nbsp;fieldNode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&gt;&nbsp;ownBuffers)</code>
<div class="block">Load the buffers of this vector with provided source buffers.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#reAlloc--">reAlloc</a></span>()</code>
<div class="block">Resize the vector to increase the capacity.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#refreshValueCapacity--">refreshValueCapacity</a></span>()</code>
<div class="block">Call this if you change the capacity of valueBuffer or validityBuffer.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#reset--">reset</a></span>()</code>
<div class="block">Reset the vector to initial state.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#set-int-byte:A-int-int-">set</a></span>(int&nbsp;index,
byte[]&nbsp;value,
int&nbsp;start,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#set-int-java.nio.ByteBuffer-int-int-">set</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;value,
int&nbsp;start,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setIndexDefined-int-">setIndexDefined</a></span>(int&nbsp;index)</code>
<div class="block">Mark the particular position in the vector as non-null.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setInitialCapacity-int-">setInitialCapacity</a></span>(int&nbsp;valueCount)</code>
<div class="block">Sets the desired value capacity for the vector.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setNull-int-">setNull</a></span>(int&nbsp;index)</code>
<div class="block">Set the element at the given index to null.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setSafe-int-byte:A-int-int-">setSafe</a></span>(int&nbsp;index,
byte[]&nbsp;value,
int&nbsp;start,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setSafe-int-java.nio.ByteBuffer-int-int-">setSafe</a></span>(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;value,
int&nbsp;start,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setValueCount-int-">setValueCount</a></span>(int&nbsp;valueCount)</code>
<div class="block">Set value count for the vector.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#splitAndTransferTo-int-int-org.apache.arrow.vector.BaseFixedWidthVector-">splitAndTransferTo</a></span>(int&nbsp;startIndex,
int&nbsp;length,
<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a>&nbsp;target)</code>
<div class="block">Slice this vector at desired index and length and transfer the
corresponding data to the target vector.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#transferTo-org.apache.arrow.vector.BaseFixedWidthVector-">transferTo</a></span>(<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a>&nbsp;target)</code>
<div class="block">Transfer this vector's data to another vector.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#validateScalars--">validateScalars</a></span>()</code>
<div class="block">Validate the scalar values held by this vector.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#zeroVector--">zeroVector</a></span>()</code>
<div class="block">zero out the vector and the data in associated buffers.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.arrow.vector.BaseValueVector">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.arrow.vector.<a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></h3>
<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#checkBufRefs-org.apache.arrow.vector.ValueVector-">checkBufRefs</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getAllocator--">getAllocator</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getReader--">getReader</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getReaderImpl--">getReaderImpl</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getValidityBufferSizeFromCount-int-">getValidityBufferSizeFromCount</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#iterator--">iterator</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#releaseBuffer-org.apache.arrow.memory.ArrowBuf-">releaseBuffer</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#toString--">toString</a>, <a href="../../../../org/apache/arrow/vector/BaseValueVector.html#transferBuffer-org.apache.arrow.memory.ArrowBuf-org.apache.arrow.memory.BufferAllocator-">transferBuffer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.arrow.vector.ValueVector">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.arrow.vector.<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></h3>
<code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getAllocator--">getAllocator</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html#getMinorType--">getMinorType</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html#getObject-int-">getObject</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html#getReader--">getReader</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html#makeTransferPair-org.apache.arrow.vector.ValueVector-">makeTransferPair</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html#validate--">validate</a>, <a href="../../../../org/apache/arrow/vector/ValueVector.html#validateFull--">validateFull</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator--" title="class or interface in java.lang">iterator</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.arrow.vector.FieldVector">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.arrow.vector.<a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></h3>
<code><a href="../../../../org/apache/arrow/vector/FieldVector.html#exportBuffer-org.apache.arrow.memory.ArrowBuf-java.util.List-org.apache.arrow.memory.ArrowBuf-long-boolean-">exportBuffer</a>, <a href="../../../../org/apache/arrow/vector/FieldVector.html#exportCDataBuffers-java.util.List-org.apache.arrow.memory.ArrowBuf-long-">exportCDataBuffers</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="lastValueCapacity">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastValueCapacity</h4>
<pre>protected&nbsp;int lastValueCapacity</pre>
</li>
</ul>
<a name="actualValueCapacity">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>actualValueCapacity</h4>
<pre>protected&nbsp;int actualValueCapacity</pre>
</li>
</ul>
<a name="field">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>protected final&nbsp;<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a> field</pre>
</li>
</ul>
<a name="validityBuffer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validityBuffer</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a> validityBuffer</pre>
</li>
</ul>
<a name="valueBuffer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueBuffer</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a> valueBuffer</pre>
</li>
</ul>
<a name="valueCount">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueCount</h4>
<pre>protected&nbsp;int valueCount</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="BaseFixedWidthVector-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BaseFixedWidthVector</h4>
<pre>public&nbsp;BaseFixedWidthVector(<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;field,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator,
int&nbsp;typeWidth)</pre>
<div class="block">Constructs a new instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>field</code> - field materialized by this vector</dd>
<dd><code>allocator</code> - The allocator to use for allocating memory for the vector.</dd>
<dd><code>typeWidth</code> - The width in bytes of the type.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getTypeWidth--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeWidth</h4>
<pre>public&nbsp;int&nbsp;getTypeWidth()</pre>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getName--">ValueVector</a></code></span></div>
<div class="block">Gets the name of the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getName--">getName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getName--">getName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the name of the vector.</dd>
</dl>
</li>
</ul>
<a name="getValidityBufferAddress--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidityBufferAddress</h4>
<pre>public&nbsp;long&nbsp;getValidityBufferAddress()</pre>
<div class="block">Get the memory address of buffer that manages the validity
(NULL or NON-NULL nature) of elements in the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#getValidityBufferAddress--">getValidityBufferAddress</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>starting address of the buffer</dd>
</dl>
</li>
</ul>
<a name="getDataBufferAddress--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataBufferAddress</h4>
<pre>public&nbsp;long&nbsp;getDataBufferAddress()</pre>
<div class="block">Get the memory address of buffer that stores the data for elements
in the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#getDataBufferAddress--">getDataBufferAddress</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>starting address of the buffer</dd>
</dl>
</li>
</ul>
<a name="getOffsetBufferAddress--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOffsetBufferAddress</h4>
<pre>public&nbsp;long&nbsp;getOffsetBufferAddress()</pre>
<div class="block">Get the memory address of buffer that stores the offsets for elements
in the vector. This operation is not supported for fixed-width vectors.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#getOffsetBufferAddress--">getOffsetBufferAddress</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>starting address of the buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - for fixed width vectors</dd>
</dl>
</li>
</ul>
<a name="getValidityBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidityBuffer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&nbsp;getValidityBuffer()</pre>
<div class="block">Get buffer that manages the validity (NULL or NON-NULL nature) of
elements in the vector. Consider it as a buffer for internal bit vector
data structure.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getValidityBuffer--">getValidityBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>buffer</dd>
</dl>
</li>
</ul>
<a name="getDataBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataBuffer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&nbsp;getDataBuffer()</pre>
<div class="block">Get the buffer that stores the data for elements in the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getDataBuffer--">getDataBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>buffer</dd>
</dl>
</li>
</ul>
<a name="getOffsetBuffer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOffsetBuffer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&nbsp;getOffsetBuffer()</pre>
<div class="block">buffer that stores the offsets for elements
in the vector. This operation is not supported for fixed-width vectors.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getOffsetBuffer--">getOffsetBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>buffer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - for fixed width vectors</dd>
</dl>
</li>
</ul>
<a name="setInitialCapacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialCapacity</h4>
<pre>public&nbsp;void&nbsp;setInitialCapacity(int&nbsp;valueCount)</pre>
<div class="block">Sets the desired value capacity for the vector. This function doesn't
allocate any memory for the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#setInitialCapacity-int-">setInitialCapacity</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>valueCount</code> - desired number of elements in the vector</dd>
</dl>
</li>
</ul>
<a name="getValueCapacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueCapacity</h4>
<pre>public&nbsp;int&nbsp;getValueCapacity()</pre>
<div class="block">Get the current value capacity for the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getValueCapacity--">getValueCapacity</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of elements that vector can hold.</dd>
</dl>
</li>
</ul>
<a name="refreshValueCapacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshValueCapacity</h4>
<pre>protected&nbsp;void&nbsp;refreshValueCapacity()</pre>
<div class="block">Call this if you change the capacity of valueBuffer or validityBuffer.</div>
</li>
</ul>
<a name="getValueBufferValueCapacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueBufferValueCapacity</h4>
<pre>protected&nbsp;int&nbsp;getValueBufferValueCapacity()</pre>
</li>
</ul>
<a name="getValidityBufferValueCapacity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidityBufferValueCapacity</h4>
<pre>protected&nbsp;int&nbsp;getValidityBufferValueCapacity()</pre>
</li>
</ul>
<a name="zeroVector--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeroVector</h4>
<pre>public&nbsp;void&nbsp;zeroVector()</pre>
<div class="block">zero out the vector and the data in associated buffers.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FixedWidthVector.html#zeroVector--">zeroVector</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FixedWidthVector.html" title="interface in org.apache.arrow.vector">FixedWidthVector</a></code></dd>
</dl>
</li>
</ul>
<a name="reset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset()</pre>
<div class="block">Reset the vector to initial state. Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#zeroVector--"><code>zeroVector()</code></a>.
Note that this method doesn't release any memory.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#reset--">reset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<div class="block">Close the vector and release the associated buffers.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#close--">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#close--">close</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="clear--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#close--"><code>close()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#clear--">clear</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#clear--">clear</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="incrementAllocationMonitor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementAllocationMonitor</h4>
<pre>protected&nbsp;void&nbsp;incrementAllocationMonitor()</pre>
</li>
</ul>
<a name="decrementAllocationMonitor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decrementAllocationMonitor</h4>
<pre>protected&nbsp;void&nbsp;decrementAllocationMonitor()</pre>
</li>
</ul>
<a name="allocateNew--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateNew</h4>
<pre>public&nbsp;void&nbsp;allocateNew()</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNewSafe--"><code>allocateNewSafe()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#allocateNew--">allocateNew</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="allocateNewSafe--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateNewSafe</h4>
<pre>public&nbsp;boolean&nbsp;allocateNewSafe()</pre>
<div class="block">Allocate memory for the vector. We internally use a default value count
of 4096 to allocate memory for at least these many elements in the
vector. See <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNew-int-"><code>allocateNew(int)</code></a> for allocating memory for specific
number of elements in the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#allocateNewSafe--">allocateNewSafe</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>false if memory allocation fails, true otherwise.</dd>
</dl>
</li>
</ul>
<a name="allocateNew-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateNew</h4>
<pre>public&nbsp;void&nbsp;allocateNew(int&nbsp;valueCount)</pre>
<div class="block">Allocate memory for the vector to support storing at least the provided number of
elements in the vector. This method must be called prior to using the ValueVector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FixedWidthVector.html#allocateNew-int-">allocateNew</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FixedWidthVector.html" title="interface in org.apache.arrow.vector">FixedWidthVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>valueCount</code> - the desired number of elements in the vector</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/memory/OutOfMemoryException.html" title="class in org.apache.arrow.memory">OutOfMemoryException</a></code> - on error</dd>
</dl>
</li>
</ul>
<a name="getBufferSizeFor-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBufferSizeFor</h4>
<pre>public&nbsp;int&nbsp;getBufferSizeFor(int&nbsp;count)</pre>
<div class="block">Get the potential buffer size for a particular number of records.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getBufferSizeFor-int-">getBufferSizeFor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>count</code> - desired number of elements in the vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>estimated size of underlying buffers if the vector holds
a given number of elements</dd>
</dl>
</li>
</ul>
<a name="getBufferSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBufferSize</h4>
<pre>public&nbsp;int&nbsp;getBufferSize()</pre>
<div class="block">Get the size (number of bytes) of underlying buffers used by this
vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getBufferSize--">getBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>size of underlying buffers.</dd>
</dl>
</li>
</ul>
<a name="getField--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getField</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;getField()</pre>
<div class="block">Get information about how this field is materialized.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getField--">getField</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the field corresponding to this vector</dd>
</dl>
</li>
</ul>
<a name="getBuffers-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBuffers</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>[]&nbsp;getBuffers(boolean&nbsp;clear)</pre>
<div class="block">Return the underlying buffers associated with this vector. Note that this doesn't
impact the reference counts for this buffer so it only should be used for in-context
access. Also note that this buffer changes regularly thus
external classes shouldn't hold a reference to it (unless they change it).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getBuffers-boolean-">getBuffers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clear</code> - Whether to clear vector before returning; the buffers will still be refcounted
but the returned array will be the only reference to them</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The underlying <a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory"><code>buffers</code></a> that is used by this
vector instance.</dd>
</dl>
</li>
</ul>
<a name="reAlloc--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reAlloc</h4>
<pre>public&nbsp;void&nbsp;reAlloc()</pre>
<div class="block">Resize the vector to increase the capacity. The internal behavior is to
double the current value capacity.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#reAlloc--">reAlloc</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="getFieldInnerVectors--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldInnerVectors</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/vector/BufferBacked.html" title="interface in org.apache.arrow.vector">BufferBacked</a>&gt;&nbsp;getFieldInnerVectors()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">This API will be removed as the current implementations no longer support inner vectors.</span></div>
<div class="block">Get the inner vectors.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#getFieldInnerVectors--">getFieldInnerVectors</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the inner vectors for this field as defined by the TypeLayout</dd>
</dl>
</li>
</ul>
<a name="initializeChildrenFromFields-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeChildrenFromFields</h4>
<pre>public&nbsp;void&nbsp;initializeChildrenFromFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&gt;&nbsp;children)</pre>
<div class="block">Initialize the children in schema for this Field. This operation is a
NO-OP for scalar types since they don't have any children.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#initializeChildrenFromFields-java.util.List-">initializeChildrenFromFields</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>children</code> - the schema</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if children is a non-empty list for scalar types.</dd>
</dl>
</li>
</ul>
<a name="getChildrenFromFields--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildrenFromFields</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&gt;&nbsp;getChildrenFromFields()</pre>
<div class="block">Get the inner child vectors.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#getChildrenFromFields--">getChildrenFromFields</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of child vectors for complex types, empty list for scalar vector types</dd>
</dl>
</li>
</ul>
<a name="loadFieldBuffers-org.apache.arrow.vector.ipc.message.ArrowFieldNode-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadFieldBuffers</h4>
<pre>public&nbsp;void&nbsp;loadFieldBuffers(<a href="../../../../org/apache/arrow/vector/ipc/message/ArrowFieldNode.html" title="class in org.apache.arrow.vector.ipc.message">ArrowFieldNode</a>&nbsp;fieldNode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&gt;&nbsp;ownBuffers)</pre>
<div class="block">Load the buffers of this vector with provided source buffers.
The caller manages the source buffers and populates them before invoking
this method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#loadFieldBuffers-org.apache.arrow.vector.ipc.message.ArrowFieldNode-java.util.List-">loadFieldBuffers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fieldNode</code> - the fieldNode indicating the value count</dd>
<dd><code>ownBuffers</code> - the buffers for this Field (own buffers only, children not included)</dd>
</dl>
</li>
</ul>
<a name="getFieldBuffers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldBuffers</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&gt;&nbsp;getFieldBuffers()</pre>
<div class="block">Get the buffers belonging to this vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#getFieldBuffers--">getFieldBuffers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the inner buffers.</dd>
</dl>
</li>
</ul>
<a name="validateScalars--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateScalars</h4>
<pre>public&nbsp;void&nbsp;validateScalars()</pre>
<div class="block">Validate the scalar values held by this vector.</div>
</li>
</ul>
<a name="getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransferPair</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a>&nbsp;getTransferPair(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ref,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator,
<a href="../../../../org/apache/arrow/vector/util/CallBack.html" title="interface in org.apache.arrow.vector.util">CallBack</a>&nbsp;callBack)</pre>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-">getTransferPair</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ref</code> - name of the target vector</dd>
<dd><code>allocator</code> - allocator for the target vector</dd>
<dd><code>callBack</code> - not used</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>TransferPair</dd>
</dl>
</li>
</ul>
<a name="getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransferPair</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a>&nbsp;getTransferPair(<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;field,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator,
<a href="../../../../org/apache/arrow/vector/util/CallBack.html" title="interface in org.apache.arrow.vector.util">CallBack</a>&nbsp;callBack)</pre>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-">getTransferPair</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>field</code> - The field materialized by this vector.</dd>
<dd><code>allocator</code> - allocator for the target vector</dd>
<dd><code>callBack</code> - not used</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>TransferPair</dd>
</dl>
</li>
</ul>
<a name="getTransferPair-org.apache.arrow.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransferPair</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a>&nbsp;getTransferPair(<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</pre>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getTransferPair-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>allocator</code> - allocator for the target vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>TransferPair</dd>
</dl>
</li>
</ul>
<a name="getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransferPair</h4>
<pre>public abstract&nbsp;<a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a>&nbsp;getTransferPair(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ref,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</pre>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ref</code> - name of the target vector</dd>
<dd><code>allocator</code> - allocator for the target vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>TransferPair</dd>
</dl>
</li>
</ul>
<a name="getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransferPair</h4>
<pre>public abstract&nbsp;<a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a>&nbsp;getTransferPair(<a href="../../../../org/apache/arrow/vector/types/pojo/Field.html" title="class in org.apache.arrow.vector.types.pojo">Field</a>&nbsp;field,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</pre>
<div class="block">Construct a transfer pair of this vector and another vector of same type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>field</code> - Field object used by the target vector</dd>
<dd><code>allocator</code> - allocator for the target vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>TransferPair</dd>
</dl>
</li>
</ul>
<a name="transferTo-org.apache.arrow.vector.BaseFixedWidthVector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transferTo</h4>
<pre>public&nbsp;void&nbsp;transferTo(<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a>&nbsp;target)</pre>
<div class="block">Transfer this vector's data to another vector. The memory associated
with this vector is transferred to the allocator of target vector
for accounting and management purposes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - destination vector for transfer</dd>
</dl>
</li>
</ul>
<a name="splitAndTransferTo-int-int-org.apache.arrow.vector.BaseFixedWidthVector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitAndTransferTo</h4>
<pre>public&nbsp;void&nbsp;splitAndTransferTo(int&nbsp;startIndex,
int&nbsp;length,
<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a>&nbsp;target)</pre>
<div class="block">Slice this vector at desired index and length and transfer the
corresponding data to the target vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>startIndex</code> - start position of the split in source vector.</dd>
<dd><code>length</code> - length of the split.</dd>
<dd><code>target</code> - destination vector</dd>
</dl>
</li>
</ul>
<a name="getNullCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNullCount</h4>
<pre>public&nbsp;int&nbsp;getNullCount()</pre>
<div class="block">Get the number of elements that are null in the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getNullCount--">getNullCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of null elements.</dd>
</dl>
</li>
</ul>
<a name="getValueCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueCount</h4>
<pre>public&nbsp;int&nbsp;getValueCount()</pre>
<div class="block">Get the value count of vector. This will always be zero unless
<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setValueCount-int-"><code>setValueCount(int)</code></a> has been called prior to calling this.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#getValueCount--">getValueCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>valueCount for the vector</dd>
</dl>
</li>
</ul>
<a name="setValueCount-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValueCount</h4>
<pre>public&nbsp;void&nbsp;setValueCount(int&nbsp;valueCount)</pre>
<div class="block">Set value count for the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#setValueCount-int-">setValueCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>valueCount</code> - value count to set</dd>
</dl>
</li>
</ul>
<a name="isSafe-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSafe</h4>
<pre>public&nbsp;boolean&nbsp;isSafe(int&nbsp;index)</pre>
<div class="block">Check if the given index is within the current value capacity
of the vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if index is within the current value capacity</dd>
</dl>
</li>
</ul>
<a name="isNull-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNull</h4>
<pre>public&nbsp;boolean&nbsp;isNull(int&nbsp;index)</pre>
<div class="block">Check if element at given index is null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#isNull-int-">isNull</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if element at given index is null, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isSet-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSet</h4>
<pre>public&nbsp;int&nbsp;isSet(int&nbsp;index)</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isNull-int-"><code>isNull(int)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>1 if element at given index is not null, 0 otherwise</dd>
</dl>
</li>
</ul>
<a name="setIndexDefined-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndexDefined</h4>
<pre>public&nbsp;void&nbsp;setIndexDefined(int&nbsp;index)</pre>
<div class="block">Mark the particular position in the vector as non-null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/VectorDefinitionSetter.html#setIndexDefined-int-">setIndexDefined</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/VectorDefinitionSetter.html" title="interface in org.apache.arrow.vector">VectorDefinitionSetter</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of the element.</dd>
</dl>
</li>
</ul>
<a name="set-int-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
byte[]&nbsp;value,
int&nbsp;start,
int&nbsp;length)</pre>
</li>
</ul>
<a name="setSafe-int-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSafe</h4>
<pre>public&nbsp;void&nbsp;setSafe(int&nbsp;index,
byte[]&nbsp;value,
int&nbsp;start,
int&nbsp;length)</pre>
</li>
</ul>
<a name="set-int-java.nio.ByteBuffer-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;value,
int&nbsp;start,
int&nbsp;length)</pre>
</li>
</ul>
<a name="setSafe-int-java.nio.ByteBuffer-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSafe</h4>
<pre>public&nbsp;void&nbsp;setSafe(int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;value,
int&nbsp;start,
int&nbsp;length)</pre>
</li>
</ul>
<a name="handleSafe-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleSafe</h4>
<pre>protected&nbsp;void&nbsp;handleSafe(int&nbsp;index)</pre>
</li>
</ul>
<a name="copyFrom-int-int-org.apache.arrow.vector.ValueVector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyFrom</h4>
<pre>public&nbsp;void&nbsp;copyFrom(int&nbsp;fromIndex,
int&nbsp;thisIndex,
<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;from)</pre>
<div class="block">Copy a cell value from a particular index in source vector to a particular
position in this vector. The source vector should be of the same type as this one.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-">copyFrom</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-">copyFrom</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fromIndex</code> - position to copy from in source vector</dd>
<dd><code>thisIndex</code> - position to copy to in this vector</dd>
<dd><code>from</code> - source vector</dd>
</dl>
</li>
</ul>
<a name="copyFromSafe-int-int-org.apache.arrow.vector.ValueVector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyFromSafe</h4>
<pre>public&nbsp;void&nbsp;copyFromSafe(int&nbsp;fromIndex,
int&nbsp;thisIndex,
<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;from)</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-"><code>copyFrom(int, int, ValueVector)</code></a> except that
it handles the case when the capacity of the vector needs to be expanded
before copy.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#copyFromSafe-int-int-org.apache.arrow.vector.ValueVector-">copyFromSafe</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#copyFromSafe-int-int-org.apache.arrow.vector.ValueVector-">copyFromSafe</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html" title="class in org.apache.arrow.vector">BaseValueVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fromIndex</code> - position to copy from in source vector</dd>
<dd><code>thisIndex</code> - position to copy to in this vector</dd>
<dd><code>from</code> - source vector</dd>
</dl>
</li>
</ul>
<a name="setNull-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNull</h4>
<pre>public&nbsp;void&nbsp;setNull(int&nbsp;index)</pre>
<div class="block">Set the element at the given index to null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/FieldVector.html#setNull-int-">setNull</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
</dl>
</li>
</ul>
<a name="getDataPointer-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataPointer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/memory/util/ArrowBufPointer.html" title="class in org.apache.arrow.memory.util">ArrowBufPointer</a>&nbsp;getDataPointer(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html#getDataPointer-int-">ElementAddressableVector</a></code></span></div>
<div class="block">Gets the pointer for the data at the given index.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html#getDataPointer-int-">getDataPointer</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html" title="interface in org.apache.arrow.vector">ElementAddressableVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index for the data.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the pointer to the data.</dd>
</dl>
</li>
</ul>
<a name="getDataPointer-int-org.apache.arrow.memory.util.ArrowBufPointer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataPointer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/memory/util/ArrowBufPointer.html" title="class in org.apache.arrow.memory.util">ArrowBufPointer</a>&nbsp;getDataPointer(int&nbsp;index,
<a href="../../../../org/apache/arrow/memory/util/ArrowBufPointer.html" title="class in org.apache.arrow.memory.util">ArrowBufPointer</a>&nbsp;reuse)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html#getDataPointer-int-org.apache.arrow.memory.util.ArrowBufPointer-">ElementAddressableVector</a></code></span></div>
<div class="block">Gets the pointer for the data at the given index.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html#getDataPointer-int-org.apache.arrow.memory.util.ArrowBufPointer-">getDataPointer</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ElementAddressableVector.html" title="interface in org.apache.arrow.vector">ElementAddressableVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index for the data.</dd>
<dd><code>reuse</code> - the data pointer to fill, this avoids creating a new pointer object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the pointer to the data, it should be the same one as the input parameter</dd>
</dl>
</li>
</ul>
<a name="hashCode-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html#hashCode-int-">ValueVector</a></code></span></div>
<div class="block">Returns hashCode of element in index with the default hasher.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#hashCode-int-">hashCode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode-int-org.apache.arrow.memory.util.hash.ArrowBufHasher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode(int&nbsp;index,
<a href="../../../../org/apache/arrow/memory/util/hash/ArrowBufHasher.html" title="interface in org.apache.arrow.memory.util.hash">ArrowBufHasher</a>&nbsp;hasher)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html#hashCode-int-org.apache.arrow.memory.util.hash.ArrowBufHasher-">ValueVector</a></code></span></div>
<div class="block">Returns hashCode of element in index with the given hasher.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#hashCode-int-org.apache.arrow.memory.util.hash.ArrowBufHasher-">hashCode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
</dl>
</li>
</ul>
<a name="accept-org.apache.arrow.vector.compare.VectorVisitor-java.lang.Object-">
<!-- -->
</a><a name="accept-org.apache.arrow.vector.compare.VectorVisitor-IN-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>accept</h4>
<pre>public&nbsp;&lt;OUT,IN&gt;&nbsp;OUT&nbsp;accept(<a href="../../../../org/apache/arrow/vector/compare/VectorVisitor.html" title="interface in org.apache.arrow.vector.compare">VectorVisitor</a>&lt;OUT,IN&gt;&nbsp;visitor,
IN&nbsp;value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html#accept-org.apache.arrow.vector.compare.VectorVisitor-IN-">ValueVector</a></code></span></div>
<div class="block">Accept a generic <a href="../../../../org/apache/arrow/vector/compare/VectorVisitor.html" title="interface in org.apache.arrow.vector.compare"><code>VectorVisitor</code></a> and return the result.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/ValueVector.html#accept-org.apache.arrow.vector.compare.VectorVisitor-IN-">accept</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>OUT</code> - the output result type.</dd>
<dd><code>IN</code> - the input data together with visitor.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BaseFixedWidthVector.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/arrow/vector/AllocationHelper.html" title="class in org.apache.arrow.vector"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/arrow/vector/BaseIntVector.html" title="interface in org.apache.arrow.vector"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/arrow/vector/BaseFixedWidthVector.html" target="_top">Frames</a></li>
<li><a href="BaseFixedWidthVector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>