blob: cafb817ecc590d0d608126177f5c9c749d368e4f [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>AbstractStructVector (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="AbstractStructVector (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":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/AbstractStructVector.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/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/arrow/vector/complex/AbstractStructVector.html" target="_top">Frames</a></li>
<li><a href="AbstractStructVector.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><a href="#nested.class.summary">Nested</a>&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.complex</div>
<h2 title="Class AbstractStructVector" class="title">Class AbstractStructVector</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/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">org.apache.arrow.vector.complex.AbstractContainerVector</a></li>
<li>
<ul class="inheritance">
<li>org.apache.arrow.vector.complex.AbstractStructVector</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/DensityAwareVector.html" title="interface in org.apache.arrow.vector">DensityAwareVector</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/apache/arrow/vector/complex/NonNullableStructVector.html" title="class in org.apache.arrow.vector.complex">NonNullableStructVector</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractStructVector</span>
extends <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></pre>
<div class="block">Base class for StructVectors. Currently used by NonNullableStructVector</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a></span></code>
<div class="block">Policy to determine how to react when duplicate columns are encountered.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== 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 boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#allowConflictPolicyChanges">allowConflictPolicyChanges</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.arrow.vector.complex.AbstractContainerVector">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.arrow.vector.complex.<a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></h3>
<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#allocator">allocator</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#callBack">callBack</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#name">name</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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#AbstractStructVector-java.lang.String-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-org.apache.arrow.vector.complex.AbstractStructVector.ConflictPolicy-boolean-">AbstractStructVector</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;name,
<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,
<a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a>&nbsp;conflictPolicy,
boolean&nbsp;allowConflictPolicyChanges)</code>
<div class="block">Base constructor that sets default conflict policy to APPEND.</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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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>protected <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#add-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-">add</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;childName,
<a href="../../../../../org/apache/arrow/vector/types/pojo/FieldType.html" title="class in org.apache.arrow.vector.types.pojo">FieldType</a>&nbsp;fieldType)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>&lt;T extends <a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&gt;<br>T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#addOrGet-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-java.lang.Class-">addOrGet</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;childName,
<a href="../../../../../org/apache/arrow/vector/types/pojo/FieldType.html" title="class in org.apache.arrow.vector.types.pojo">FieldType</a>&nbsp;fieldType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</code>
<div class="block">Adds a new field with the given parameters or replaces the existing one and consequently returns the resultant
<a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#allocateNewSafe--">allocateNewSafe</a></span>()</code>
<div class="block">Allocates new buffers.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#close--">close</a></span>()</code>
<div class="block">Clears out all underlying child vectors.</div>
</td>
</tr>
<tr id="i4" 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/complex/AbstractStructVector.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="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getBufferSize--">getBufferSize</a></span>()</code>
<div class="block">Get the number of bytes used by this vector.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>&lt;T extends <a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&gt;<br>T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getChild-java.lang.String-java.lang.Class-">getChild</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;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</code>
<div class="block">Returns a <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a> instance of subtype of T corresponding to the given
field name if exists or null.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getChildByOrdinal-int-">getChildByOrdinal</a></span>(int&nbsp;id)</code>
<div class="block">Returns a <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a> corresponding to the given ordinal identifier.</div>
</td>
</tr>
<tr id="i8" 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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getChildFieldNames--">getChildFieldNames</a></span>()</code>
<div class="block">Get child field names.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected <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/complex/AbstractStructVector.html#getChildren--">getChildren</a></span>()</code>
<div class="block">Get child vectors.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/arrow/vector/complex/VectorWithOrdinal.html" title="class in org.apache.arrow.vector.complex">VectorWithOrdinal</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getChildVectorWithOrdinal-java.lang.String-">getChildVectorWithOrdinal</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;name)</code>
<div class="block">Get a child vector by name.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getConflictPolicy--">getConflictPolicy</a></span>()</code>&nbsp;</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/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#getPrimitiveVectors--">getPrimitiveVectors</a></span>()</code>
<div class="block">Get primitive child vectors.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#iterator--">iterator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#putChild-java.lang.String-org.apache.arrow.vector.FieldVector-">putChild</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;name,
<a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&nbsp;vector)</code>
<div class="block">Inserts the vector with the given name if it does not exist else replaces it with the new value.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#putVector-java.lang.String-org.apache.arrow.vector.FieldVector-">putVector</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;name,
<a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&nbsp;vector)</code>
<div class="block">Inserts the input vector into the map if it does not exist.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#reAlloc--">reAlloc</a></span>()</code>
<div class="block">Allocate new buffer with double capacity, and copy data into the new buffer.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#setConflictPolicy-org.apache.arrow.vector.complex.AbstractStructVector.ConflictPolicy-">setConflictPolicy</a></span>(<a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a>&nbsp;conflictPolicy)</code>
<div class="block">Set conflict policy and return last conflict policy state.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.html#size--">size</a></span>()</code>
<div class="block">Get the number of child vectors.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<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/complex/AbstractStructVector.html#toString--">toString</a></span>()</code>
<div class="block">Representation of vector suitable for debugging.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.arrow.vector.complex.AbstractContainerVector">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.arrow.vector.complex.<a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></h3>
<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#addOrGetFixedSizeList-java.lang.String-int-">addOrGetFixedSizeList</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#addOrGetList-java.lang.String-">addOrGetList</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#addOrGetMap-java.lang.String-boolean-">addOrGetMap</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#addOrGetStruct-java.lang.String-">addOrGetStruct</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#addOrGetUnion-java.lang.String-">addOrGetUnion</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#allocateNew--">allocateNew</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-">copyFrom</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#copyFromSafe-int-int-org.apache.arrow.vector.ValueVector-">copyFromSafe</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#getAllocator--">getAllocator</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#getChild-java.lang.String-">getChild</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#getName--">getName</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#supportsDirectRead--">supportsDirectRead</a>, <a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#typeify-org.apache.arrow.vector.ValueVector-java.lang.Class-">typeify</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#accept-org.apache.arrow.vector.compare.VectorVisitor-IN-">accept</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#clear--">clear</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getBufferSizeFor-int-">getBufferSizeFor</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getDataBuffer--">getDataBuffer</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getField--">getField</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getMinorType--">getMinorType</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getNullCount--">getNullCount</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getObject-int-">getObject</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getOffsetBuffer--">getOffsetBuffer</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getReader--">getReader</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a>, <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>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a>, <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>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getValidityBuffer--">getValidityBuffer</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getValueCapacity--">getValueCapacity</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#getValueCount--">getValueCount</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#hashCode-int-">hashCode</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#hashCode-int-org.apache.arrow.memory.util.hash.ArrowBufHasher-">hashCode</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#isNull-int-">isNull</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#reset--">reset</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#setInitialCapacity-int-">setInitialCapacity</a>, <a href="../../../../../org/apache/arrow/vector/ValueVector.html#setValueCount-int-">setValueCount</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#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.DensityAwareVector">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.arrow.vector.<a href="../../../../../org/apache/arrow/vector/DensityAwareVector.html" title="interface in org.apache.arrow.vector">DensityAwareVector</a></h3>
<code><a href="../../../../../org/apache/arrow/vector/DensityAwareVector.html#setInitialCapacity-int-double-">setInitialCapacity</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="allowConflictPolicyChanges">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>allowConflictPolicyChanges</h4>
<pre>protected final&nbsp;boolean allowConflictPolicyChanges</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractStructVector-java.lang.String-org.apache.arrow.memory.BufferAllocator-org.apache.arrow.vector.util.CallBack-org.apache.arrow.vector.complex.AbstractStructVector.ConflictPolicy-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractStructVector</h4>
<pre>protected&nbsp;AbstractStructVector(<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;name,
<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,
<a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a>&nbsp;conflictPolicy,
boolean&nbsp;allowConflictPolicyChanges)</pre>
<div class="block">Base constructor that sets default conflict policy to APPEND.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setConflictPolicy-org.apache.arrow.vector.complex.AbstractStructVector.ConflictPolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConflictPolicy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a>&nbsp;setConflictPolicy(<a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a>&nbsp;conflictPolicy)</pre>
<div class="block">Set conflict policy and return last conflict policy state.</div>
</li>
</ul>
<a name="getConflictPolicy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConflictPolicy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex">AbstractStructVector.ConflictPolicy</a>&nbsp;getConflictPolicy()</pre>
</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"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#close--">AbstractContainerVector</a></code></span></div>
<div class="block">Clears out all underlying child vectors.</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/complex/AbstractContainerVector.html#close--">close</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/arrow/vector/ValueVector.html#allocateNewSafe--">ValueVector</a></code></span></div>
<div class="block">Allocates new buffers. ValueVector implements logic to determine how much to allocate.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if allocation was successful.</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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/arrow/vector/ValueVector.html#reAlloc--">ValueVector</a></code></span></div>
<div class="block">Allocate new buffer with double capacity, and copy data into the new buffer.
Replace vector's buffer with new buffer, and release old one</div>
</li>
</ul>
<a name="addOrGet-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addOrGet</h4>
<pre>public&nbsp;&lt;T extends <a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&gt;&nbsp;T&nbsp;addOrGet(<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;childName,
<a href="../../../../../org/apache/arrow/vector/types/pojo/FieldType.html" title="class in org.apache.arrow.vector.types.pojo">FieldType</a>&nbsp;fieldType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</pre>
<div class="block">Adds a new field with the given parameters or replaces the existing one and consequently returns the resultant
<a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a>.
<p>Execution takes place in the following order:
<ul>
<li>
if field is new, create and insert a new vector of desired type.
</li>
<li>
if field exists and existing vector is of desired vector type, return the vector.
</li>
<li>
if field exists and null filled, clear the existing vector; create and insert a new vector of desired type.
</li>
<li>
otherwise, throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a>
</li>
</ul></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#addOrGet-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-java.lang.Class-">addOrGet</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - class type of expected vector type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>childName</code> - the name of the field</dd>
<dd><code>fieldType</code> - the type for the vector</dd>
<dd><code>clazz</code> - class of expected vector type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>resultant <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - raised if there is a hard schema change</dd>
</dl>
</li>
</ul>
<a name="getChildByOrdinal-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildByOrdinal</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;getChildByOrdinal(int&nbsp;id)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a> corresponding to the given ordinal identifier.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the ordinal of the child to return</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the corresponding child</dd>
</dl>
</li>
</ul>
<a name="getChild-java.lang.String-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChild</h4>
<pre>public&nbsp;&lt;T extends <a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&gt;&nbsp;T&nbsp;getChild(<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;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector"><code>ValueVector</code></a> instance of subtype of T corresponding to the given
field name if exists or null.
If there is more than one element for name this will return the first inserted.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#getChild-java.lang.String-java.lang.Class-">getChild</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the child to return</dd>
<dd><code>clazz</code> - the expected type of the child</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the child corresponding to this name</dd>
</dl>
</li>
</ul>
<a name="add-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;add(<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;childName,
<a href="../../../../../org/apache/arrow/vector/types/pojo/FieldType.html" title="class in org.apache.arrow.vector.types.pojo">FieldType</a>&nbsp;fieldType)</pre>
</li>
</ul>
<a name="putChild-java.lang.String-org.apache.arrow.vector.FieldVector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putChild</h4>
<pre>protected&nbsp;void&nbsp;putChild(<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;name,
<a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&nbsp;vector)</pre>
<div class="block">Inserts the vector with the given name if it does not exist else replaces it with the new value.
<p>Note that this method does not enforce any vector type check nor throws a schema change exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the child to add</dd>
<dd><code>vector</code> - the vector to add as a child</dd>
</dl>
</li>
</ul>
<a name="putVector-java.lang.String-org.apache.arrow.vector.FieldVector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putVector</h4>
<pre>protected&nbsp;void&nbsp;putVector(<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;name,
<a href="../../../../../org/apache/arrow/vector/FieldVector.html" title="interface in org.apache.arrow.vector">FieldVector</a>&nbsp;vector)</pre>
<div class="block">Inserts the input vector into the map if it does not exist.
<p>
If the field name already exists the conflict is handled according to the currently set ConflictPolicy
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - field name</dd>
<dd><code>vector</code> - vector to be inserted</dd>
</dl>
</li>
</ul>
<a name="getChildren--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildren</h4>
<pre>protected&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;getChildren()</pre>
<div class="block">Get child vectors.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a sequence of underlying child vectors.</dd>
</dl>
</li>
</ul>
<a name="getChildFieldNames--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildFieldNames</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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getChildFieldNames()</pre>
<div class="block">Get child field names.</div>
</li>
</ul>
<a name="size--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public&nbsp;int&nbsp;size()</pre>
<div class="block">Get the number of child vectors.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#size--">size</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of underlying child vectors.</dd>
</dl>
</li>
</ul>
<a name="iterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&gt;&nbsp;iterator()</pre>
</li>
</ul>
<a name="getPrimitiveVectors--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrimitiveVectors</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/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&gt;&nbsp;getPrimitiveVectors()</pre>
<div class="block">Get primitive child vectors.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of scalar child vectors recursing the entire vector hierarchy.</dd>
</dl>
</li>
</ul>
<a name="getChildVectorWithOrdinal-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildVectorWithOrdinal</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/arrow/vector/complex/VectorWithOrdinal.html" title="class in org.apache.arrow.vector.complex">VectorWithOrdinal</a>&nbsp;getChildVectorWithOrdinal(<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;name)</pre>
<div class="block">Get a child vector by name. If duplicate names this returns the first inserted.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#getChildVectorWithOrdinal-java.lang.String-">getChildVectorWithOrdinal</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the child to return</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a vector with its corresponding ordinal mapping if field exists or null.</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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/arrow/vector/ValueVector.html#getBuffers-boolean-">ValueVector</a></code></span></div>
<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="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="getBufferSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBufferSize</h4>
<pre>public&nbsp;int&nbsp;getBufferSize()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/arrow/vector/ValueVector.html#getBufferSize--">ValueVector</a></code></span></div>
<div class="block">Get the number of bytes used by this vector.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of bytes that is used by this vector instance.</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</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;toString()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#toString--">AbstractContainerVector</a></code></span></div>
<div class="block">Representation of vector suitable for debugging.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/arrow/vector/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex">AbstractContainerVector</a></code></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/AbstractStructVector.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/complex/AbstractContainerVector.html" title="class in org.apache.arrow.vector.complex"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/arrow/vector/complex/AbstractStructVector.ConflictPolicy.html" title="enum in org.apache.arrow.vector.complex"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/arrow/vector/complex/AbstractStructVector.html" target="_top">Frames</a></li>
<li><a href="AbstractStructVector.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><a href="#nested.class.summary">Nested</a>&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>