[mailto:siddha...@dremio.com]
> Sent: Friday, February 23, 2018 12:14 PM
> To: dev@arrow.apache.org
> Subject: Re: Allocating additional memory to the Java Vector objects
>
> Hi Atul,
>
> Currently there is no way for doing this. The only exposed method of
> expanding the vec
I plan to start with
moderate initial capacity for the vectors.
-Atul
-Original Message-
From: Siddharth Teotia [mailto:siddha...@dremio.com]
Sent: Friday, February 23, 2018 12:14 PM
To: dev@arrow.apache.org
Subject: Re: Allocating additional memory to the Java Vector objects
Hi Atul,
Hi Atul,
Currently there is no way for doing this. The only exposed method of
expanding the vector buffer is reAlloc() and it allocates a new buffer of
double the original capacity and copies the old contents into the new
buffer.
Thanks,
Sidd
On Fri, Feb 23, 2018 at 12:06 PM, Atul Dambalkar wro
Hi,
I am creating IntVector in Java as follows -
IntVector intVector = (IntVector) vectorSchemaRoot.getVector(name);
intVector.setInitialCapacity(100);
intVector.allocateNew();
Is there a way that I can allocate additional capacity to the same IntVector
object by a defined number? Let's say some