@Namespace(value="arrow::csv") @Properties(inherit=arrow.class) public class ReadOptions extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ReadOptions()
Default native constructor.
|
ReadOptions(long size)
Native array allocator.
|
ReadOptions(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
autogenerate_column_names()
Whether to autogenerate column names if
column_names is empty. |
ReadOptions |
autogenerate_column_names(boolean setter) |
int |
block_size()
Block size we request from the IO layer; also determines the size of
chunks when use_threads is true
|
ReadOptions |
block_size(int setter) |
StringVector |
column_names()
Column names for the target table.
|
ReadOptions |
column_names(StringVector setter) |
static ReadOptions |
Defaults()
Create read options with default values
|
ReadOptions |
getPointer(long i) |
ReadOptions |
position(long position) |
int |
skip_rows()
Number of header rows to skip (not including the row of column names, if any)
|
ReadOptions |
skip_rows(int setter) |
boolean |
use_threads()
Whether to use the global CPU thread pool
|
ReadOptions |
use_threads(boolean setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ReadOptions()
public ReadOptions(long size)
Pointer.position(long).public ReadOptions(Pointer p)
Pointer(Pointer).public ReadOptions position(long position)
public ReadOptions getPointer(long i)
getPointer in class Pointer@Cast(value="bool") public boolean use_threads()
public ReadOptions use_threads(boolean setter)
public int block_size()
public ReadOptions block_size(int setter)
public int skip_rows()
public ReadOptions skip_rows(int setter)
@ByRef public StringVector column_names()
public ReadOptions column_names(StringVector setter)
@Cast(value="bool") public boolean autogenerate_column_names()
column_names is empty.
If true, column names will be of the form "f0", "f1"...
If false, column names will be read from the first CSV row after skip_rows.public ReadOptions autogenerate_column_names(boolean setter)
@ByVal public static ReadOptions Defaults()
Copyright © 2021. All rights reserved.