blob: bdf8c96e736d8e583d32252afc6de211c7ac67c6 [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>TimeSecVector (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="TimeSecVector (Apache Arrow Java Root POM 17.0.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"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};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/TimeSecVector.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/TimeNanoVector.html" title="class in org.apache.arrow.vector"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/arrow/vector/TimeStampMicroTZVector.html" title="class 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/TimeSecVector.html" target="_top">Frames</a></li>
<li><a href="TimeSecVector.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 TimeSecVector" class="title">Class TimeSecVector</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><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">org.apache.arrow.vector.BaseFixedWidthVector</a></li>
<li>
<ul class="inheritance">
<li>org.apache.arrow.vector.TimeSecVector</li>
</ul>
</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>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">TimeSecVector</span>
extends <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a></pre>
<div class="block">TimeSecVector implements a fixed width (4 bytes) vector of
time (seconds resolution) values which could be null. A validity buffer (bit vector) is
maintained to track which elements in the vector are 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>static byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#TYPE_WIDTH">TYPE_WIDTH</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.arrow.vector.BaseFixedWidthVector">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.arrow.vector.<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a></h3>
<code><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#actualValueCapacity">actualValueCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#field">field</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#lastValueCapacity">lastValueCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#validityBuffer">validityBuffer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#valueBuffer">valueBuffer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#valueCount">valueCount</a></code></li>
</ul>
<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/TimeSecVector.html#TimeSecVector-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">TimeSecVector</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">Instantiate a TimeSecVector.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#TimeSecVector-java.lang.String-org.apache.arrow.memory.BufferAllocator-">TimeSecVector</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)</code>
<div class="block">Instantiate a TimeSecVector.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#TimeSecVector-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-org.apache.arrow.memory.BufferAllocator-">TimeSecVector</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/types/pojo/FieldType.html" title="class in org.apache.arrow.vector.types.pojo">FieldType</a>&nbsp;fieldType,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</code>
<div class="block">Instantiate a TimeSecVector.</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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#get-org.apache.arrow.memory.ArrowBuf-int-">get</a></span>(<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&nbsp;buffer,
int&nbsp;index)</code>
<div class="block">Given a data buffer, get the value stored at a particular position
in the vector.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#get-int-">get</a></span>(int&nbsp;index)</code>
<div class="block">Get the element at the given index from the vector.</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/TimeSecVector.html#get-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-">get</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/NullableTimeSecHolder.html" title="class in org.apache.arrow.vector.holders">NullableTimeSecHolder</a>&nbsp;holder)</code>
<div class="block">Get the element at the given index from the vector and
sets the state in holder.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/arrow/vector/types/Types.MinorType.html" title="enum in org.apache.arrow.vector.types">Types.MinorType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#getMinorType--">getMinorType</a></span>()</code>
<div class="block">Get minor type for this vector.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#getObject-int-">getObject</a></span>(int&nbsp;index)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#get-int-"><code>get(int)</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/arrow/vector/complex/reader/FieldReader.html" title="interface in org.apache.arrow.vector.complex.reader">FieldReader</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#getReaderImpl--">getReaderImpl</a></span>()</code>
<div class="block">Each vector has a different reader that implements the FieldReader interface.</div>
</td>
</tr>
<tr id="i6" 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/TimeSecVector.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 TransferPair comprising of this and a target vector of
the same type.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<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/TimeSecVector.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 TransferPair comprising this and a target vector of
the same type.</div>
</td>
</tr>
<tr id="i8" 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/TimeSecVector.html#makeTransferPair-org.apache.arrow.vector.ValueVector-">makeTransferPair</a></span>(<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;to)</code>
<div class="block">Construct a TransferPair with a desired target vector of the same type.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-int-">set</a></span>(int&nbsp;index,
int&nbsp;value)</code>
<div class="block">Set the element at the given index to the given value.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-int-int-">set</a></span>(int&nbsp;index,
int&nbsp;isSet,
int&nbsp;value)</code>
<div class="block">Store the given value at a particular position in the vector.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-">set</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/NullableTimeSecHolder.html" title="class in org.apache.arrow.vector.holders">NullableTimeSecHolder</a>&nbsp;holder)</code>
<div class="block">Set the element at the given index to the value set in data holder.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-org.apache.arrow.vector.holders.TimeSecHolder-">set</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/TimeSecHolder.html" title="class in org.apache.arrow.vector.holders">TimeSecHolder</a>&nbsp;holder)</code>
<div class="block">Set the element at the given index to the value set in data holder.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#setSafe-int-int-">setSafe</a></span>(int&nbsp;index,
int&nbsp;value)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-int-"><code>set(int, int)</code></a> except that it handles the
case when index is greater than or equal to existing
value capacity <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--"><code>BaseFixedWidthVector.getValueCapacity()</code></a>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#setSafe-int-int-int-">setSafe</a></span>(int&nbsp;index,
int&nbsp;isSet,
int&nbsp;value)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-int-int-"><code>set(int, int, int)</code></a> except that it handles the case
when index is greater than or equal to current value capacity of the
vector.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/arrow/vector/TimeSecVector.html#setSafe-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-">setSafe</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/NullableTimeSecHolder.html" title="class in org.apache.arrow.vector.holders">NullableTimeSecHolder</a>&nbsp;holder)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-"><code>set(int, NullableTimeSecHolder)</code></a> except that it handles the
case when index is greater than or equal to existing
value capacity <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--"><code>BaseFixedWidthVector.getValueCapacity()</code></a>.</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/TimeSecVector.html#setSafe-int-org.apache.arrow.vector.holders.TimeSecHolder-">setSafe</a></span>(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/TimeSecHolder.html" title="class in org.apache.arrow.vector.holders">TimeSecHolder</a>&nbsp;holder)</code>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-org.apache.arrow.vector.holders.TimeSecHolder-"><code>set(int, TimeSecHolder)</code></a> except that it handles the
case when index is greater than or equal to existing
value capacity <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--"><code>BaseFixedWidthVector.getValueCapacity()</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.arrow.vector.BaseFixedWidthVector">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.arrow.vector.<a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</a></h3>
<code><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#accept-org.apache.arrow.vector.compare.VectorVisitor-IN-">accept</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNew--">allocateNew</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNew-int-">allocateNew</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#allocateNewSafe--">allocateNewSafe</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#clear--">clear</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#close--">close</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#copyFrom-int-int-org.apache.arrow.vector.ValueVector-">copyFrom</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#copyFromSafe-int-int-org.apache.arrow.vector.ValueVector-">copyFromSafe</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#decrementAllocationMonitor--">decrementAllocationMonitor</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getBuffers-boolean-">getBuffers</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getBufferSize--">getBufferSize</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getBufferSizeFor-int-">getBufferSizeFor</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getChildrenFromFields--">getChildrenFromFields</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataBuffer--">getDataBuffer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataBufferAddress--">getDataBufferAddress</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataPointer-int-">getDataPointer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getDataPointer-int-org.apache.arrow.memory.util.ArrowBufPointer-">getDataPointer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getField--">getField</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getFieldBuffers--">getFieldBuffers</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getFieldInnerVectors--">getFieldInnerVectors</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getName--">getName</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getNullCount--">getNullCount</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getOffsetBuffer--">getOffsetBuffer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getOffsetBufferAddress--">getOffsetBufferAddress</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a>, <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>, <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>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTypeWidth--">getTypeWidth</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValidityBuffer--">getValidityBuffer</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValidityBufferAddress--">getValidityBufferAddress</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValidityBufferValueCapacity--">getValidityBufferValueCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueBufferValueCapacity--">getValueBufferValueCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--">getValueCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCount--">getValueCount</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#handleSafe-int-">handleSafe</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#hashCode-int-">hashCode</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#hashCode-int-org.apache.arrow.memory.util.hash.ArrowBufHasher-">hashCode</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#incrementAllocationMonitor--">incrementAllocationMonitor</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#initializeChildrenFromFields-java.util.List-">initializeChildrenFromFields</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isNull-int-">isNull</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isSafe-int-">isSafe</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#isSet-int-">isSet</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#loadFieldBuffers-org.apache.arrow.vector.ipc.message.ArrowFieldNode-java.util.List-">loadFieldBuffers</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#reAlloc--">reAlloc</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#refreshValueCapacity--">refreshValueCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#reset--">reset</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#set-int-byte:A-int-int-">set</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#set-int-java.nio.ByteBuffer-int-int-">set</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setIndexDefined-int-">setIndexDefined</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setInitialCapacity-int-">setInitialCapacity</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setNull-int-">setNull</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setSafe-int-byte:A-int-int-">setSafe</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setSafe-int-java.nio.ByteBuffer-int-int-">setSafe</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#setValueCount-int-">setValueCount</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#splitAndTransferTo-int-int-org.apache.arrow.vector.BaseFixedWidthVector-">splitAndTransferTo</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#transferTo-org.apache.arrow.vector.BaseFixedWidthVector-">transferTo</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#validateScalars--">validateScalars</a>, <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#zeroVector--">zeroVector</a></code></li>
</ul>
<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#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#getReader--">getReader</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="TYPE_WIDTH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TYPE_WIDTH</h4>
<pre>public static final&nbsp;byte TYPE_WIDTH</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.arrow.vector.TimeSecVector.TYPE_WIDTH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="TimeSecVector-java.lang.String-org.apache.arrow.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TimeSecVector</h4>
<pre>public&nbsp;TimeSecVector(<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)</pre>
<div class="block">Instantiate a TimeSecVector. This doesn't allocate any memory for
the data in vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - name of the vector</dd>
<dd><code>allocator</code> - allocator for memory management.</dd>
</dl>
</li>
</ul>
<a name="TimeSecVector-java.lang.String-org.apache.arrow.vector.types.pojo.FieldType-org.apache.arrow.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TimeSecVector</h4>
<pre>public&nbsp;TimeSecVector(<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/types/pojo/FieldType.html" title="class in org.apache.arrow.vector.types.pojo">FieldType</a>&nbsp;fieldType,
<a href="../../../../org/apache/arrow/memory/BufferAllocator.html" title="interface in org.apache.arrow.memory">BufferAllocator</a>&nbsp;allocator)</pre>
<div class="block">Instantiate a TimeSecVector. This doesn't allocate any memory for
the data in vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - name of the vector</dd>
<dd><code>fieldType</code> - type of Field materialized by this vector</dd>
<dd><code>allocator</code> - allocator for memory management.</dd>
</dl>
</li>
</ul>
<a name="TimeSecVector-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TimeSecVector</h4>
<pre>public&nbsp;TimeSecVector(<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">Instantiate a TimeSecVector. This doesn't allocate any memory for
the data in vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>field</code> - Field materialized by this vector</dd>
<dd><code>allocator</code> - allocator for memory management.</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="getReaderImpl--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReaderImpl</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/arrow/vector/complex/reader/FieldReader.html" title="interface in org.apache.arrow.vector.complex.reader">FieldReader</a>&nbsp;getReaderImpl()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getReaderImpl--">BaseValueVector</a></code></span></div>
<div class="block">Each vector has a different reader that implements the FieldReader interface. Overridden methods must make
sure to return the correct concrete reader implementation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseValueVector.html#getReaderImpl--">getReaderImpl</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>Returns a lambda that initializes a reader when called.</dd>
</dl>
</li>
</ul>
<a name="getMinorType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinorType</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/vector/types/Types.MinorType.html" title="enum in org.apache.arrow.vector.types">Types.MinorType</a>&nbsp;getMinorType()</pre>
<div class="block">Get minor type for this vector. The vector holds values belonging
to a particular type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../../org/apache/arrow/vector/types/Types.MinorType.html" title="enum in org.apache.arrow.vector.types"><code>Types.MinorType</code></a></dd>
</dl>
</li>
</ul>
<a name="get-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;int&nbsp;get(int&nbsp;index)
throws <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></pre>
<div class="block">Get the element at the given index from the vector.</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>element at given index</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></dd>
</dl>
</li>
</ul>
<a name="get-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;void&nbsp;get(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/NullableTimeSecHolder.html" title="class in org.apache.arrow.vector.holders">NullableTimeSecHolder</a>&nbsp;holder)</pre>
<div class="block">Get the element at the given index from the vector and
sets the state in holder. If element at given index
is null, holder.isSet will be zero.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
</dl>
</li>
</ul>
<a name="getObject-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObject</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;getObject(int&nbsp;index)</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#get-int-"><code>get(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>element at given index</dd>
</dl>
</li>
</ul>
<a name="set-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Set the element at the given index to the given value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dd><code>value</code> - value of element</dd>
</dl>
</li>
</ul>
<a name="set-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/NullableTimeSecHolder.html" title="class in org.apache.arrow.vector.holders">NullableTimeSecHolder</a>&nbsp;holder)
throws <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></pre>
<div class="block">Set the element at the given index to the value set in data holder.
If the value in holder is not indicated as set, element in the
at the given index will be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dd><code>holder</code> - nullable data holder for value of element</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></dd>
</dl>
</li>
</ul>
<a name="set-int-org.apache.arrow.vector.holders.TimeSecHolder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/TimeSecHolder.html" title="class in org.apache.arrow.vector.holders">TimeSecHolder</a>&nbsp;holder)</pre>
<div class="block">Set the element at the given index to the value set in data holder.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dd><code>holder</code> - data holder for value of element</dd>
</dl>
</li>
</ul>
<a name="setSafe-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSafe</h4>
<pre>public&nbsp;void&nbsp;setSafe(int&nbsp;index,
int&nbsp;value)</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-int-"><code>set(int, int)</code></a> except that it handles the
case when index is greater than or equal to existing
value capacity <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--"><code>BaseFixedWidthVector.getValueCapacity()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dd><code>value</code> - value of element</dd>
</dl>
</li>
</ul>
<a name="setSafe-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSafe</h4>
<pre>public&nbsp;void&nbsp;setSafe(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/NullableTimeSecHolder.html" title="class in org.apache.arrow.vector.holders">NullableTimeSecHolder</a>&nbsp;holder)
throws <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></pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-org.apache.arrow.vector.holders.NullableTimeSecHolder-"><code>set(int, NullableTimeSecHolder)</code></a> except that it handles the
case when index is greater than or equal to existing
value capacity <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--"><code>BaseFixedWidthVector.getValueCapacity()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dd><code>holder</code> - nullable data holder for value of element</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></dd>
</dl>
</li>
</ul>
<a name="setSafe-int-org.apache.arrow.vector.holders.TimeSecHolder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSafe</h4>
<pre>public&nbsp;void&nbsp;setSafe(int&nbsp;index,
<a href="../../../../org/apache/arrow/vector/holders/TimeSecHolder.html" title="class in org.apache.arrow.vector.holders">TimeSecHolder</a>&nbsp;holder)</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-org.apache.arrow.vector.holders.TimeSecHolder-"><code>set(int, TimeSecHolder)</code></a> except that it handles the
case when index is greater than or equal to existing
value capacity <a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getValueCapacity--"><code>BaseFixedWidthVector.getValueCapacity()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of element</dd>
<dd><code>holder</code> - data holder for value of element</dd>
</dl>
</li>
</ul>
<a name="set-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
int&nbsp;isSet,
int&nbsp;value)</pre>
<div class="block">Store the given value at a particular position in the vector. isSet indicates
whether the value is NULL or not.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of the new value</dd>
<dd><code>isSet</code> - 0 for NULL value, 1 otherwise</dd>
<dd><code>value</code> - element value</dd>
</dl>
</li>
</ul>
<a name="setSafe-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSafe</h4>
<pre>public&nbsp;void&nbsp;setSafe(int&nbsp;index,
int&nbsp;isSet,
int&nbsp;value)</pre>
<div class="block">Same as <a href="../../../../org/apache/arrow/vector/TimeSecVector.html#set-int-int-int-"><code>set(int, int, int)</code></a> except that it handles the case
when index is greater than or equal to current value capacity of the
vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position of the new value</dd>
<dd><code>isSet</code> - 0 for NULL value, 1 otherwise</dd>
<dd><code>value</code> - element value</dd>
</dl>
</li>
</ul>
<a name="get-org.apache.arrow.memory.ArrowBuf-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;int&nbsp;get(<a href="../../../../org/apache/arrow/memory/ArrowBuf.html" title="class in org.apache.arrow.memory">ArrowBuf</a>&nbsp;buffer,
int&nbsp;index)</pre>
<div class="block">Given a data buffer, get the value stored at a particular position
in the vector.
<p>This method should not be used externally.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>buffer</code> - data buffer</dd>
<dd><code>index</code> - position of the element.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>value stored at the index.</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&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 TransferPair comprising this and a target vector of
the 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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-java.lang.String-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</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><a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util"><code>TransferPair</code></a></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&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 TransferPair comprising of this and a target vector of
the 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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html#getTransferPair-org.apache.arrow.vector.types.pojo.Field-org.apache.arrow.memory.BufferAllocator-">getTransferPair</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/arrow/vector/BaseFixedWidthVector.html" title="class in org.apache.arrow.vector">BaseFixedWidthVector</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><a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util"><code>TransferPair</code></a></dd>
</dl>
</li>
</ul>
<a name="makeTransferPair-org.apache.arrow.vector.ValueVector-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>makeTransferPair</h4>
<pre>public&nbsp;<a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util">TransferPair</a>&nbsp;makeTransferPair(<a href="../../../../org/apache/arrow/vector/ValueVector.html" title="interface in org.apache.arrow.vector">ValueVector</a>&nbsp;to)</pre>
<div class="block">Construct a TransferPair with a desired target vector of the same type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>to</code> - target vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../../org/apache/arrow/vector/util/TransferPair.html" title="interface in org.apache.arrow.vector.util"><code>TransferPair</code></a></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/TimeSecVector.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/TimeNanoVector.html" title="class in org.apache.arrow.vector"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/arrow/vector/TimeStampMicroTZVector.html" title="class 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/TimeSecVector.html" target="_top">Frames</a></li>
<li><a href="TimeSecVector.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>