public class arrow extends arrow
| Modifier and Type | Class and Description |
|---|---|
static class |
arrow.CompareOperator |
static class |
arrow.DateUnit |
static class |
arrow.DecimalStatus |
static class |
arrow.Endianness |
static class |
arrow.FileType
\brief FileSystem entry type
|
static class |
arrow.FutureState
A Future's execution or completion status
|
static class |
arrow.MessageType |
static class |
arrow.MetadataVersion |
static class |
arrow.NullPlacement |
static class |
arrow.RoundMode
Rounding and tie-breaking modes for round compute functions.
|
static class |
arrow.ShouldSchedule
\brief Describe whether the callback should be scheduled or run synchronously
|
static class |
arrow.SortOrder |
static class |
arrow.StatusCode
\brief Propagate any non-successful Status to the caller
|
static class |
arrow.UnexpectedFieldBehavior |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARROW_BITNESS |
static String |
ARROW_CXX_COMPILER_FLAGS |
static String |
ARROW_CXX_COMPILER_ID |
static String |
ARROW_CXX_COMPILER_VERSION |
static String |
ARROW_FULL_SO_VERSION |
static String |
ARROW_GIT_DESCRIPTION |
static String |
ARROW_GIT_ID |
static String |
ARROW_PACKAGE_KIND |
static String |
ARROW_SO_VERSION |
static int |
ARROW_VERSION |
static int |
ARROW_VERSION_MAJOR
\brief Top-level namespace for Apache Arrow C++ API
|
static int |
ARROW_VERSION_MINOR |
static int |
ARROW_VERSION_PATCH |
static String |
ARROW_VERSION_STRING |
static double |
kDefaultAbsoluteTolerance |
static long |
kDefaultExecChunksize |
static int |
kFeatherV1Version |
static int |
kFeatherV2Version |
static long |
kNoSize |
| Constructor and Description |
|---|
arrow() |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
_boolean()
\brief Return a BooleanType instance
|
static DataType |
_null()
\defgroup type-factories Factory functions for creating data types
Factory functions for creating data types
\{
|
static DatumResult |
AbsoluteValue(Datum arg) |
static DatumResult |
AbsoluteValue(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\}
|
static DatumResult |
Acos(Datum arg) |
static DatumResult |
Acos(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Compute the inverse cosine (arccosine) of the array values.
|
static BasicDecimal128 |
add(BasicDecimal128 left,
BasicDecimal128 right) |
static BasicDecimal256 |
add(BasicDecimal256 left,
BasicDecimal256 right) |
static DatumResult |
Add(Datum left,
Datum right) |
static DatumResult |
Add(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Add two values together.
|
static Status |
AlignStream(InputStream stream) |
static Status |
AlignStream(InputStream stream,
int alignment)
\brief Advance stream to an 8-byte offset if its position is not a multiple
of 8 already
|
static Status |
AlignStream(OutputStream stream) |
static Status |
AlignStream(OutputStream stream,
int alignment)
\brief Advance stream to an 8-byte offset if its position is not a multiple
of 8 already
|
static DatumResult |
All(Datum value) |
static DatumResult |
All(Datum value,
ScalarAggregateOptions options,
ExecContext ctx)
\brief Test whether all elements in a boolean array evaluate to true.
|
static Future |
AllComplete(Future futures)
\brief Create a Future which completes when all of
futures complete. |
static Future |
AllFinished(Future futures)
\brief Create a Future which completes when all of
futures complete. |
static BufferUniqueResult |
AllocateBuffer(long size) |
static BufferUniqueResult |
AllocateBuffer(long size,
MemoryPool pool)
\defgroup buffer-allocation-functions Functions for allocating buffers
\{
|
static BufferResult |
AllocateEmptyBitmap(long length) |
static BufferResult |
AllocateEmptyBitmap(long length,
MemoryPool pool)
\brief Allocate a zero-initialized bitmap buffer from a memory pool
|
static ResizableUniqueResult |
AllocateResizableBuffer(long size) |
static ResizableUniqueResult |
AllocateResizableBuffer(long size,
MemoryPool pool)
\brief Allocate a resizeable buffer from a memory pool, zero its padding.
|
static Expression |
and_(Expression arg0) |
static Expression |
and_(Expression lhs,
Expression rhs) |
static DatumResult |
And(Datum left,
Datum right) |
static DatumResult |
And(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise AND of two boolean datums which always propagates nulls
(null and false is null).
|
static DatumResult |
AndNot(Datum left,
Datum right) |
static DatumResult |
AndNot(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise AND NOT of two boolean datums which always propagates nulls
(null and not true is null).
|
static DatumResult |
Any(Datum value) |
static DatumResult |
Any(Datum value,
ScalarAggregateOptions options,
ExecContext ctx)
\brief Test whether any element in a boolean array evaluates to true.
|
static boolean |
ArrayApproxEquals(Array left,
Array right) |
static boolean |
ArrayApproxEquals(Array left,
Array right,
EqualOptions arg2)
Returns true if the arrays are approximately equal.
|
static boolean |
ArrayEquals(Array left,
Array right) |
static boolean |
ArrayEquals(Array left,
Array right,
EqualOptions arg2)
Returns true if the arrays are exactly equal
|
static Status |
ArrayFromJSON(DataType arg0,
BytePointer json,
Array out) |
static Status |
ArrayFromJSON(DataType arg0,
String json,
Array out) |
static boolean |
ArrayRangeApproxEquals(Array left,
Array right,
long start_idx,
long end_idx,
long other_start_idx) |
static boolean |
ArrayRangeApproxEquals(Array left,
Array right,
long start_idx,
long end_idx,
long other_start_idx,
EqualOptions arg5)
Returns true if indicated equal-length segment of arrays are approximately equal
|
static boolean |
ArrayRangeEquals(Array left,
Array right,
long start_idx,
long end_idx,
long other_start_idx) |
static boolean |
ArrayRangeEquals(Array left,
Array right,
long start_idx,
long end_idx,
long other_start_idx,
EqualOptions arg5)
Returns true if indicated equal-length segment of arrays are exactly equal
|
static int |
ARROW_BITNESS() |
static DatumResult |
Asin(Datum arg) |
static DatumResult |
Asin(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Compute the inverse sine (arcsine) of the array values.
|
static DatumResult |
AssumeTimezone(Datum values,
AssumeTimezoneOptions options) |
static DatumResult |
AssumeTimezone(Datum values,
AssumeTimezoneOptions options,
ExecContext ctx)
\brief Converts timestamps from local timestamp without a timezone to a timestamp with
timezone, interpreting the local timestamp as being in the specified timezone for each
element of
values |
static DatumResult |
Atan(Datum arg) |
static DatumResult |
Atan(Datum arg,
ExecContext ctx)
\brief Compute the inverse tangent (arctangent) of the array values.
|
static DatumResult |
Atan2(Datum y,
Datum x) |
static DatumResult |
Atan2(Datum y,
Datum x,
ExecContext ctx)
\brief Compute the inverse tangent (arctangent) of y/x, using the
argument signs to determine the correct quadrant.
|
static DataTypeVector |
BaseBinaryTypes() |
static DataType |
binary()
\brief Return a BinaryType instance
|
static TypeMatcher |
BinaryLike() |
static int |
bit_width(int type_id) |
static long |
BytesForBits(long bits) |
static Expression |
call(BytePointer function,
Expression arguments) |
static Expression |
call(BytePointer function,
Expression arguments,
FunctionOptions options) |
static Expression |
call(String function,
Expression arguments) |
static Expression |
call(String function,
Expression arguments,
FunctionOptions options) |
static DatumResult |
CallFunction(BytePointer func_name,
DatumVector args) |
static DatumResult |
CallFunction(BytePointer func_name,
DatumVector args,
ExecContext ctx) |
static DatumResult |
CallFunction(BytePointer func_name,
DatumVector args,
FunctionOptions options) |
static DatumResult |
CallFunction(BytePointer func_name,
DatumVector args,
FunctionOptions options,
ExecContext ctx) |
static DatumResult |
CallFunction(String func_name,
DatumVector args) |
static DatumResult |
CallFunction(String func_name,
DatumVector args,
ExecContext ctx)
\brief Variant of CallFunction which uses a function's default options.
|
static DatumResult |
CallFunction(String func_name,
DatumVector args,
FunctionOptions options) |
static DatumResult |
CallFunction(String func_name,
DatumVector args,
FunctionOptions options,
ExecContext ctx)
\defgroup compute-call-function One-shot calls to compute functions
\{
|
static boolean |
CanCast(DataType from_type,
DataType to_type)
\brief Return true if a cast function is defined
|
static ExpressionResult |
Canonicalize(Expression arg0) |
static ExpressionResult |
Canonicalize(Expression arg0,
ExecContext arg1)
\defgroup expression-passes Functions for modification of Expressions
\{
These transform bound expressions.
|
static DatumResult |
CaseWhen(Datum cond,
DatumVector cases) |
static DatumResult |
CaseWhen(Datum cond,
DatumVector cases,
ExecContext ctx)
\brief CaseWhen behaves like a switch/case or if-else if-else statement: for
each row, select the first value for which the corresponding condition is
true, or (if given) select the 'else' value, else emit null.
|
static ArrayResult |
Cast(Array value,
DataType to_type) |
static ArrayResult |
Cast(Array value,
DataType to_type,
CastOptions options,
ExecContext ctx)
\brief Cast from one array type to another
|
static DatumResult |
Cast(Datum value,
CastOptions options) |
static DatumResult |
Cast(Datum value,
CastOptions options,
ExecContext ctx)
\brief Cast from one array type to another
|
static DatumResult |
Cast(Datum value,
DataType to_type) |
static DatumResult |
Cast(Datum value,
DataType to_type,
CastOptions options,
ExecContext ctx)
\brief Cast from one value to another
|
static DatumVectorResult |
Cast(DatumVector values,
ValueDescrVector descrs) |
static DatumVectorResult |
Cast(DatumVector values,
ValueDescrVector descrs,
ExecContext ctx)
\brief Cast several values simultaneously.
|
static DatumResult |
Ceil(Datum arg) |
static DatumResult |
Ceil(Datum arg,
ExecContext ctx)
\brief Round to the nearest integer greater than or equal in magnitude to the
argument.
|
static long |
CeilDiv(long value,
long divisor) |
static Status |
CheckAligned(FileInterface stream) |
static Status |
CheckAligned(FileInterface stream,
int alignment)
\brief Return error Status if file position is not a multiple of the
indicated alignment
|
static Status |
CheckBufferLength()
\}
|
static Status |
CheckBufferLength(FixedSizeBinaryType t,
ArrowBuffer b) |
static void |
ClearBit(byte[] bits,
long i) |
static void |
ClearBit(ByteBuffer bits,
long i) |
static void |
ClearBit(BytePointer bits,
long i) |
static void |
ClearBitmap(byte[] data,
long offset,
long length) |
static void |
ClearBitmap(ByteBuffer data,
long offset,
long length) |
static void |
ClearBitmap(BytePointer data,
long offset,
long length)
\brief Clears all bits in the bitmap (set to false)
|
static DictionaryVectorResult |
CollectDictionaries(RecordBatch batch,
DictionaryFieldMapper mapper) |
static Status |
CollectDictionaries(RecordBatch batch,
DictionaryMemo memo) |
static DatumResult |
Compare(Datum left,
Datum right,
CompareOptions options)
Deprecated.
|
static DatumResult |
Compare(Datum left,
Datum right,
CompareOptions options,
ExecContext ctx)
Deprecated.
|
static Status |
ComputeColumnMajorStrides(FixedWidthType type,
long[] shape,
long[] strides) |
static Status |
ComputeColumnMajorStrides(FixedWidthType type,
LongBuffer shape,
LongBuffer strides) |
static Status |
ComputeColumnMajorStrides(FixedWidthType type,
LongPointer shape,
LongPointer strides) |
static Status |
ComputeRowMajorStrides(FixedWidthType type,
long[] shape,
long[] strides) |
static Status |
ComputeRowMajorStrides(FixedWidthType type,
LongBuffer shape,
LongBuffer strides) |
static Status |
ComputeRowMajorStrides(FixedWidthType type,
LongPointer shape,
LongPointer strides) |
static ArrayResult |
Concatenate(ArrayVector arrays) |
static ArrayResult |
Concatenate(ArrayVector arrays,
MemoryPool pool)
\brief Concatenate arrays
|
static TableResult |
ConcatenateTables(TableVector tables) |
static TableResult |
ConcatenateTables(TableVector tables,
ConcatenateTablesOptions options,
MemoryPool memory_pool)
\brief Construct table from multiple input tables.
|
static Status |
CopyFiles(FileLocator sources,
FileLocator destinations) |
static Status |
CopyFiles(FileLocator sources,
FileLocator destinations,
IOContext io_context,
long chunk_size,
boolean use_threads)
\}
|
static Status |
CopyFiles(FileSystem source_fs,
FileSelector source_sel,
FileSystem destination_fs,
BytePointer destination_base_dir) |
static Status |
CopyFiles(FileSystem source_fs,
FileSelector source_sel,
FileSystem destination_fs,
BytePointer destination_base_dir,
IOContext io_context,
long chunk_size,
boolean use_threads) |
static Status |
CopyFiles(FileSystem source_fs,
FileSelector source_sel,
FileSystem destination_fs,
String destination_base_dir) |
static Status |
CopyFiles(FileSystem source_fs,
FileSelector source_sel,
FileSystem destination_fs,
String destination_base_dir,
IOContext io_context,
long chunk_size,
boolean use_threads)
\brief Copy selected files, including from one FileSystem to another
Directories will be created under the destination base directory as needed.
|
static DatumResult |
Cos(Datum arg) |
static DatumResult |
Cos(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Compute the cosine of the array values.
|
static DatumResult |
Count(Datum datum) |
static DatumResult |
Count(Datum datum,
CountOptions options,
ExecContext ctx)
\}
|
static int |
CountLeadingZeros(int value)
\brief Count the number of leading zeros in an unsigned integer.
|
static int |
CountLeadingZeros(long value) |
static LongFuture |
CountRowsAsync(IOContext io_context,
InputStream input,
Executor cpu_executor,
ReadOptions arg3,
CsvParseOptions arg4)
\brief Count the logical rows of data in a CSV file (i.e.
|
static int |
CountTrailingZeros(int value) |
static int |
CountTrailingZeros(long value) |
static long |
CoveringBytes(long offset,
long length) |
static DataType |
date32()
\brief Return a Date32Type instance
|
static DataType |
date64()
\brief Return a Date64Type instance
|
static DataType |
day_time_interval()
\brief Return a DayTimeIntervalType instance
|
static DatumResult |
Day(Datum values) |
static DatumResult |
Day(Datum values,
ExecContext ctx)
\brief Day returns day number for each element of
values |
static DatumResult |
DayOfWeek(Datum values) |
static DatumResult |
DayOfWeek(Datum values,
DayOfWeekOptions options,
ExecContext ctx)
\brief DayOfWeek returns number of the day of the week value for each element of
values. |
static DatumResult |
DayOfYear(Datum values) |
static DatumResult |
DayOfYear(Datum values,
ExecContext ctx)
\brief DayOfYear returns number of day of the year for each element of
values. |
static Status |
DebugPrint(Array arr,
int indent) |
static DataType |
decimal(int precision,
int scale)
\brief Create a DecimalType instance depending on the precision
If the precision is greater than 38, a Decimal256Type is returned,
otherwise a Decimal128Type.
|
static DataType |
decimal128(int precision,
int scale)
\brief Create a Decimal128Type instance
|
static DataType |
decimal256(int precision,
int scale)
\brief Create a Decimal256Type instance
|
static Status |
DecodeMessage(MessageDecoder decoder,
InputStream stream)
\brief Feed data from InputStream to MessageDecoder to decode an
encapsulated IPC message (metadata and body)
This API is EXPERIMENTAL.
|
static ExecContext |
default_exec_context() |
static IOContext |
default_io_context()
EXPERIMENTAL: convenience global singleton for default IOContext settings
|
static MemoryPool |
default_memory_pool()
\}
|
static DataType |
dense_union(ArrayVector children) |
static DataType |
dense_union(ArrayVector children,
StringVector field_names,
byte[] type_codes) |
static DataType |
dense_union(ArrayVector children,
StringVector field_names,
ByteBuffer type_codes) |
static DataType |
dense_union(ArrayVector children,
StringVector field_names,
BytePointer type_codes)
\brief Create a DenseUnionType instance
|
static DataType |
dense_union(FieldVector child_fields) |
static DataType |
dense_union(FieldVector child_fields,
byte[] type_codes) |
static DataType |
dense_union(FieldVector child_fields,
ByteBuffer type_codes) |
static DataType |
dense_union(FieldVector child_fields,
BytePointer type_codes)
\brief Create a DenseUnionType instance
|
static ExpressionResult |
Deserialize(ArrowBuffer arg0) |
static boolean |
DetectAbsolutePath(BytePointer s) |
static boolean |
DetectAbsolutePath(String s)
HDFS-backed FileSystem implementation.
|
static DataType |
dictionary(DataType index_type,
DataType dict_type) |
static DataType |
dictionary(DataType index_type,
DataType dict_type,
boolean ordered)
\brief Create a DictionaryType instance
|
static DatumResult |
DictionaryEncode(Datum data) |
static DatumResult |
DictionaryEncode(Datum data,
DictionaryEncodeOptions options,
ExecContext ctx)
\brief Dictionary-encode values in an array-like object
Any nulls encountered in the dictionary will be handled according to the
specified null encoding behavior.
|
static void |
DieWithMessage(BytePointer msg) |
static void |
DieWithMessage(String msg) |
static Kernel |
DispatchExactImpl(Function func,
ValueDescrVector arg1)
\brief Look up a kernel in a function.
|
static BasicDecimal128 |
divide(BasicDecimal128 left,
BasicDecimal128 right) |
static BasicDecimal256 |
divide(BasicDecimal256 left,
BasicDecimal256 right) |
static DatumResult |
Divide(Datum left,
Datum right) |
static DatumResult |
Divide(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Divide two values.
|
static ArrayResult |
DropNull(Array values) |
static ArrayResult |
DropNull(Array values,
ExecContext ctx)
\brief DropNull with Array inputs and output
|
static DatumResult |
DropNull(Datum values) |
static DatumResult |
DropNull(Datum values,
ExecContext ctx)
\brief Drop Null from an array of values
The output array will be of the same type as the input values
array, with elements taken from the values array without nulls.
|
static DataType |
duration(int unit) |
static DataType |
duration(TimeUnit.type unit)
\brief Return a Duration instance (naming use _type to avoid namespace conflict with
built in time classes).
|
static TypeMatcher |
DurationTypeUnit(int unit) |
static TypeMatcher |
DurationTypeUnit(TimeUnit.type unit) |
static String |
EndiannessToString(arrow.Endianness endianness) |
static BytePointer |
EndiannessToString(int endianness) |
static Expression |
equal(Expression lhs,
Expression rhs) |
static boolean |
equals(BasicDecimal128 left,
BasicDecimal128 right) |
static boolean |
equals(BasicDecimal256 left,
BasicDecimal256 right) |
static boolean |
equals(ExecBatch l,
ExecBatch r) |
static boolean |
equals(Expression l,
Expression r)
\brief See VectorKernel::finalize member for usage
|
static DatumResult |
ExecuteScalarExpression(Expression arg0,
ExecBatch input) |
static DatumResult |
ExecuteScalarExpression(Expression arg0,
ExecBatch input,
ExecContext arg2)
Execute a scalar expression against the provided state and input ExecBatch.
|
static DatumResult |
ExecuteScalarExpression(Expression arg0,
Schema full_schema,
Datum partial_input) |
static DatumResult |
ExecuteScalarExpression(Expression arg0,
Schema full_schema,
Datum partial_input,
ExecContext arg3)
Convenience function for invoking against a RecordBatch
|
static boolean |
ExpressionHasFieldRefs(Expression arg0)
Check if the expression references any fields.
|
static Expression |
field_ref(FieldRef ref) |
static Field |
field(BytePointer name,
DataType type) |
static Field |
field(BytePointer name,
DataType type,
boolean nullable,
KeyValueMetadata metadata) |
static Field |
field(BytePointer name,
DataType type,
KeyValueMetadata metadata) |
static Field |
field(String name,
DataType type) |
static Field |
field(String name,
DataType type,
boolean nullable,
KeyValueMetadata metadata)
\}
|
static Field |
field(String name,
DataType type,
KeyValueMetadata metadata)
\brief Create a Field instance with metadata
The field will be assumed to be nullable.
|
static FieldRef |
FieldsInExpression(Expression arg0)
Assemble a list of all fields referenced by an Expression at any depth.
|
static FileSystemResult |
FileSystemFromUriOrPath(BytePointer uri) |
static FileSystemResult |
FileSystemFromUriOrPath(BytePointer uri,
BytePointer out_path) |
static FileSystemResult |
FileSystemFromUriOrPath(BytePointer uri,
IOContext io_context) |
static FileSystemResult |
FileSystemFromUriOrPath(BytePointer uri,
IOContext io_context,
BytePointer out_path) |
static FileSystemResult |
FileSystemFromUriOrPath(String uri) |
static FileSystemResult |
FileSystemFromUriOrPath(String uri,
BytePointer out_path)
\brief Create a new FileSystem by URI
Same as FileSystemFromUri, but in addition also recognize non-URIs
and treat them as local filesystem paths.
|
static FileSystemResult |
FileSystemFromUriOrPath(String uri,
IOContext io_context) |
static FileSystemResult |
FileSystemFromUriOrPath(String uri,
IOContext io_context,
BytePointer out_path)
\brief Create a new FileSystem by URI with a custom IO context
Same as FileSystemFromUri, but in addition also recognize non-URIs
and treat them as local filesystem paths.
|
static DatumResult |
Filter(Datum values,
Datum filter) |
static DatumResult |
Filter(Datum values,
Datum filter,
FilterOptions options,
ExecContext ctx)
\}
|
static DataType |
fixed_size_binary(int byte_width)
\brief Create a FixedSizeBinaryType instance.
|
static DataType |
fixed_size_list(DataType value_type,
int list_size)
\brief Create a FixedSizeListType instance from its child DataType
|
static DataType |
fixed_size_list(Field value_type,
int list_size)
\brief Create a FixedSizeListType instance from its child Field type
|
static TypeMatcher |
FixedSizeBinaryLike() |
static DataType |
float16()
\brief Return a HalfFloatType instance
|
static DataType |
float32()
\brief Return a FloatType instance
|
static DataType |
float64()
\brief Return a DoubleType instance
|
static DataTypeVector |
FloatingPointTypes() |
static DatumResult |
Floor(Datum arg) |
static DatumResult |
Floor(Datum arg,
ExecContext ctx)
\brief Round to the nearest integer less than or equal in magnitude to the
argument.
|
static ExpressionResult |
FoldConstants(Expression arg0)
Simplify Expressions based on literal arguments (for example, add(null, x) will always
be null so replace the call with a null literal).
|
static String |
FormatMessageType(arrow.MessageType type) |
static BytePointer |
FormatMessageType(int type) |
static Status |
FuzzIpcFile(byte[] data,
long size) |
static Status |
FuzzIpcFile(ByteBuffer data,
long size) |
static Status |
FuzzIpcFile(BytePointer data,
long size) |
static Status |
FuzzIpcStream(byte[] data,
long size) |
static Status |
FuzzIpcStream(ByteBuffer data,
long size) |
static Status |
FuzzIpcStream(BytePointer data,
long size) |
static Status |
FuzzIpcTensorStream(byte[] data,
long size) |
static Status |
FuzzIpcTensorStream(ByteBuffer data,
long size) |
static Status |
FuzzIpcTensorStream(BytePointer data,
long size) |
static Status |
GenericToStatus(Status st)
\endcond
|
static ArrayDataResult |
GetArrayView(ArrayData data,
DataType type)
Construct a zero-copy view of this ArrayData with the given type.
|
static boolean |
GetBit(byte[] bits,
long i) |
static boolean |
GetBit(ByteBuffer bits,
long i) |
static boolean |
GetBit(BytePointer bits,
long i) |
static boolean |
GetBitFromByte(byte _byte,
byte i) |
static ValueDescr.Shape |
GetBroadcastShape(ValueDescrVector args)
\brief For use with scalar functions, returns the broadcasted Value::Shape
given a vector of value descriptors.
|
static BuildInfo |
GetBuildInfo()
\brief Get runtime build info.
|
static int |
GetByteWidth(DataType type) |
static ThreadPool |
GetCpuThreadPool() |
static int |
GetCpuThreadPoolCapacity()
\brief Get the capacity of the global thread pool
Return the number of worker threads in the thread pool to which
Arrow dispatches various CPU-bound tasks.
|
static Status |
GetDictionaryPayload(long id,
Array dictionary,
IpcWriteOptions options,
IpcPayload payload)
\brief Compute IpcPayload for a dictionary
|
static Status |
GetDictionaryPayload(long id,
boolean is_delta,
Array dictionary,
IpcWriteOptions options,
IpcPayload payload)
\brief Compute IpcPayload for a dictionary
|
static ExtensionType |
GetExtensionType(BytePointer type_name) |
static ExtensionType |
GetExtensionType(String type_name)
\brief Retrieve an extension type from the global registry.
|
static long |
GetFilterOutputSize(ArrayData filter,
FilterOptions.NullSelectionBehavior null_selection)
\brief Return the number of selected indices in the boolean filter
|
static long |
GetFilterOutputSize(ArrayData filter,
int null_selection) |
static FunctionRegistry |
GetFunctionRegistry()
\brief Return the process-global function registry
|
static int |
GetIOThreadPoolCapacity()
\brief Get the capacity of the global I/O thread pool
Return the number of worker threads in the thread pool to which
Arrow dispatches various I/O-bound tasks.
|
static long |
GetPayloadSize(IpcPayload payload) |
static long |
GetPayloadSize(IpcPayload payload,
IpcWriteOptions options)
\brief Compute the number of bytes needed to write an IPC payload
including metadata
|
static Status |
GetRecordBatchPayload(RecordBatch batch,
IpcWriteOptions options,
IpcPayload out)
\brief Compute IpcPayload for the given record batch
|
static Status |
GetRecordBatchSize(RecordBatch batch,
IpcWriteOptions options,
long[] size) |
static Status |
GetRecordBatchSize(RecordBatch batch,
IpcWriteOptions options,
LongBuffer size) |
static Status |
GetRecordBatchSize(RecordBatch batch,
IpcWriteOptions options,
LongPointer size)
\brief Compute the number of bytes needed to write a record batch including metadata
|
static Status |
GetRecordBatchSize(RecordBatch batch,
long[] size) |
static Status |
GetRecordBatchSize(RecordBatch batch,
LongBuffer size) |
static Status |
GetRecordBatchSize(RecordBatch batch,
LongPointer size)
\brief Compute the number of bytes needed to write a record batch including metadata
|
static RuntimeInfo |
GetRuntimeInfo()
\brief Get runtime info.
|
static Status |
GetSchemaPayload(Schema schema,
IpcWriteOptions options,
DictionaryFieldMapper mapper,
IpcPayload out)
\brief Compute IpcPayload for the given schema
|
static MessageUniqueResult |
GetSparseTensorMessage(SparseTensor sparse_tensor,
MemoryPool pool)
\brief EXPERIMENTAL: Convert arrow::SparseTensor to a Message with minimal memory
allocation
The message is written out as followed:
|
static Status |
GetSparseTensorPayload(SparseTensor sparse_tensor,
MemoryPool pool,
IpcPayload out)
\brief Compute IpcPayload for the given sparse tensor
|
static ArrayDataResult |
GetTakeIndices(ArrayData filter,
FilterOptions.NullSelectionBehavior null_selection) |
static ArrayDataResult |
GetTakeIndices(ArrayData filter,
FilterOptions.NullSelectionBehavior null_selection,
MemoryPool memory_pool)
\brief Compute uint64 selection indices for use with Take given a boolean
filter
|
static ArrayDataResult |
GetTakeIndices(ArrayData filter,
int null_selection) |
static ArrayDataResult |
GetTakeIndices(ArrayData filter,
int null_selection,
MemoryPool memory_pool) |
static MessageUniqueResult |
GetTensorMessage(Tensor tensor,
MemoryPool pool)
\brief EXPERIMENTAL: Convert arrow::Tensor to a Message with minimal memory
allocation
|
static Status |
GetTensorSize(Tensor tensor,
long[] size) |
static Status |
GetTensorSize(Tensor tensor,
LongBuffer size) |
static Status |
GetTensorSize(Tensor tensor,
LongPointer size)
\brief Compute the number of bytes needed to write a tensor including metadata
|
static Expression |
greater_equal(Expression lhs,
Expression rhs) |
static Expression |
greater(Expression lhs,
Expression rhs) |
static boolean |
greaterThan(BasicDecimal128 left,
BasicDecimal128 right) |
static boolean |
greaterThan(BasicDecimal256 left,
BasicDecimal256 right) |
static boolean |
greaterThanEquals(BasicDecimal128 left,
BasicDecimal128 right) |
static boolean |
greaterThanEquals(BasicDecimal256 left,
BasicDecimal256 right) |
static DatumResult |
GroupBy(DatumVector arguments,
DatumVector keys,
Aggregate aggregates) |
static DatumResult |
GroupBy(DatumVector arguments,
DatumVector keys,
Aggregate aggregates,
boolean use_threads,
ExecContext ctx)
Internal use only: helper function for testing HashAggregateKernels.
|
static boolean |
HasValidityBitmap(int id) |
static Status |
HaveLibHdfs() |
static DatumResult |
Hour(Datum values) |
static DatumResult |
Hour(Datum values,
ExecContext ctx)
\brief Hour returns hour value for each element of
values |
static DatumResult |
IfElse(Datum cond,
Datum left,
Datum right) |
static DatumResult |
IfElse(Datum cond,
Datum left,
Datum right,
ExecContext ctx)
\brief IfElse returns elements chosen from
left or right
depending on cond. |
static DatumResult |
Index(Datum value,
IndexOptions options) |
static DatumResult |
Index(Datum value,
IndexOptions options,
ExecContext ctx)
\brief Find the first index of a value in an array.
|
static DatumResult |
IndexIn(Datum values,
Datum value_set) |
static DatumResult |
IndexIn(Datum values,
Datum value_set,
ExecContext ctx) |
static DatumResult |
IndexIn(Datum values,
SetLookupOptions options) |
static DatumResult |
IndexIn(Datum values,
SetLookupOptions options,
ExecContext ctx)
\brief IndexIn examines each slot in the values against a value_set array.
|
static Status |
Initialize(FileSystemGlobalOptions options)
EXPERIMENTAL: optional global initialization routine
This is for environments (such as manylinux) where the path
to TLS CA certificates needs to be configured at runtime.
|
static DataType |
int16()
\brief Return a Int16Type instance
|
static DataType |
int32()
\brief Return a Int32Type instance
|
static DataType |
int64()
\brief Return a Int64Type instance
|
static DataType |
int8()
\brief Return a Int8Type instance
|
static TypeMatcher |
Integer() |
static DataTypeVector |
IntervalTypes() |
static DataTypeVector |
IntTypes() |
static void |
InvalidValueOrDie(Status st) |
static DatumResult |
Invert(Datum value) |
static DatumResult |
Invert(Datum value,
ExecContext ctx)
\brief Invert the values of a boolean datum
|
static boolean |
is_base_binary_like(int type_id) |
static boolean |
is_binary_like(int type_id) |
static boolean |
is_decimal(int type_id) |
static boolean |
is_dictionary(int type_id) |
static boolean |
is_fixed_size_binary(int type_id) |
static boolean |
is_fixed_width(int type_id) |
static boolean |
is_floating(int type_id) |
static boolean |
is_integer(int type_id) |
static boolean |
is_large_binary_like(int type_id) |
static boolean |
is_nested(int type_id) |
static Expression |
is_null(Expression lhs) |
static Expression |
is_null(Expression lhs,
boolean nan_is_null) |
static boolean |
is_primitive(int type_id) |
static boolean |
is_signed_integer(int type_id) |
static boolean |
is_tensor_supported(int type_id) |
static boolean |
is_union(int type_id) |
static boolean |
is_unsigned_integer(int type_id) |
static Expression |
is_valid(Expression lhs) |
static boolean |
IsFutureFinished(arrow.FutureState state) |
static boolean |
IsFutureFinished(byte state) |
static DatumResult |
IsIn(Datum values,
Datum value_set) |
static DatumResult |
IsIn(Datum values,
Datum value_set,
ExecContext ctx) |
static DatumResult |
IsIn(Datum values,
SetLookupOptions options) |
static DatumResult |
IsIn(Datum values,
SetLookupOptions options,
ExecContext ctx)
\brief IsIn returns true for each element of
values that is contained in
value_set
Behaviour of nulls is governed by SetLookupOptions::skip_nulls. |
static boolean |
IsMultipleOf64(long n) |
static boolean |
IsMultipleOf8(long n) |
static DatumResult |
IsNan(Datum values) |
static DatumResult |
IsNan(Datum values,
ExecContext ctx)
\brief IsNan returns true for each element of
values that is NaN,
false otherwise |
static DatumResult |
IsNull(Datum values) |
static DatumResult |
IsNull(Datum values,
NullOptions options,
ExecContext ctx)
\brief IsNull returns true for each element of
values that is null,
false otherwise |
static DatumResult |
ISOCalendar(Datum values) |
static DatumResult |
ISOCalendar(Datum values,
ExecContext ctx)
\brief ISOCalendar returns a (ISO year, ISO week, ISO day of week) struct for
each element of
values. |
static DatumResult |
ISOWeek(Datum values) |
static DatumResult |
ISOWeek(Datum values,
ExecContext ctx)
\brief ISOWeek returns ISO week of year number for each element of
values. |
static DatumResult |
ISOYear(Datum values) |
static DatumResult |
ISOYear(Datum values,
ExecContext ctx)
\brief ISOYear returns ISO year number for each element of
values. |
static boolean |
IsPowerOf2(long value) |
static boolean |
IsTensorStridesContiguous(DataType type,
long[] shape,
long[] strides) |
static boolean |
IsTensorStridesContiguous(DataType type,
LongBuffer shape,
LongBuffer strides) |
static boolean |
IsTensorStridesContiguous(DataType type,
LongPointer shape,
LongPointer strides) |
static DatumResult |
IsValid(Datum values) |
static DatumResult |
IsValid(Datum values,
ExecContext ctx)
\brief IsValid returns true for each element of
values that is not null,
false otherwise |
static Status |
jemalloc_memory_pool(MemoryPool out) |
static Status |
jemalloc_memory_pool(PointerPointer out)
\brief Return a process-wide memory pool based on jemalloc.
|
static Status |
jemalloc_set_decay_ms(int ms)
\brief Set jemalloc memory page purging behavior for future-created arenas
to the indicated number of milliseconds.
|
static long |
kBinaryMemoryLimit()
Concrete type class for 64-bit floating-point data (C "double")
|
static BytePointer |
kBitmask() |
static byte |
kBitmask(int i) |
static BytePointer |
kBytePopcount() |
static byte |
kBytePopcount(int i)
\brief Return whether the variant holds a value of the given type
|
static int |
kCountsFieldIndex() |
static String |
kCountsFieldName() |
static byte |
kCountsFieldName(int i) |
static double |
kDefaultAbsoluteTolerance()
\brief A BufferBuilder for building a buffer of arithmetic elements
|
static int |
kDefaultBackgroundMaxQ() |
static int |
kDefaultBackgroundQRestart() |
static byte |
kDefaultEscapeChar() |
static long |
kDefaultExecChunksize() |
static String |
kExtensionMetadataKeyName() |
static byte |
kExtensionMetadataKeyName(int i) |
static String |
kExtensionTypeKeyName() |
static byte |
kExtensionTypeKeyName(int i) |
static KeyValueMetadata |
key_value_metadata(StringStringMap pairs)
\brief Create a KeyValueMetadata instance
|
static KeyValueMetadata |
key_value_metadata(StringVector keys,
StringVector values)
\brief Create a KeyValueMetadata instance
|
static int |
kFeatherV1Version() |
static int |
kFeatherV2Version() |
static BytePointer |
kFlippedBitmask() |
static byte |
kFlippedBitmask(int i) |
static DatumResult |
KleeneAnd(Datum left,
Datum right) |
static DatumResult |
KleeneAnd(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise AND of two boolean datums with a Kleene truth table
(null and false is false).
|
static DatumResult |
KleeneAndNot(Datum left,
Datum right) |
static DatumResult |
KleeneAndNot(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise AND NOT of two boolean datums with a Kleene truth table
(false and not null is false, null and not true is false).
|
static DatumResult |
KleeneOr(Datum left,
Datum right) |
static DatumResult |
KleeneOr(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise OR of two boolean datums with a Kleene truth table
(null or true is true).
|
static long |
kListMaximumElements() |
static int |
kMaxNestingDepth() |
static long |
kMinBuilderCapacity() |
static byte |
kNonNullFiller()
\brief Create a word with low
n bits from low and high sizeof(Word)-n bits
from high. |
static long |
kNoSize() |
static Pointer |
kNoTime() |
static BytePointer |
kPrecedingBitmask() |
static byte |
kPrecedingBitmask(int i) |
static BytePointer |
kPrecedingWrappingBitmask() |
static byte |
kPrecedingWrappingBitmask(int i) |
static BytePointer |
kTrailingBitmask() |
static byte |
kTrailingBitmask(int i) |
static long |
kUnknownNullCount()
\defgroup numeric-arrays Concrete classes for numeric arrays
\{
\}
|
static int |
kUseDefaultCompressionLevel()
\brief is_null_pointer from C++17
|
static int |
kValuesFieldIndex() |
static String |
kValuesFieldName() |
static byte |
kValuesFieldName(int i) |
static DataType |
large_binary()
\brief Return a LargeBinaryType instance
|
static DataType |
large_list(DataType value_type)
\brief Create a LargeListType instance from its child DataType
|
static DataType |
large_list(Field value_type)
\brief Create a LargeListType instance from its child Field type
|
static DataType |
large_utf8()
\brief Return a LargeStringType instance
|
static TypeMatcher |
LargeBinaryLike() |
static long |
LeastSignificantBitMask(long bit_index) |
static Expression |
less_equal(Expression lhs,
Expression rhs) |
static Expression |
less(Expression lhs,
Expression rhs) |
static boolean |
lessThan(BasicDecimal128 left,
BasicDecimal128 right) |
static boolean |
lessThan(BasicDecimal256 left,
BasicDecimal256 right) |
static boolean |
lessThanEquals(BasicDecimal128 left,
BasicDecimal128 right) |
static boolean |
lessThanEquals(BasicDecimal256 left,
BasicDecimal256 right) |
static DataType |
list(DataType value_type)
\brief Create a ListType instance from its child DataType
|
static DataType |
list(Field value_type)
\brief Create a ListType instance from its child Field type
|
static Expression |
literal(Datum lit) |
static DatumResult |
Ln(Datum arg) |
static DatumResult |
Ln(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Get the natural log of a value.
|
static DatumResult |
Log10(Datum arg) |
static DatumResult |
Log10(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Get the log base 10 of a value.
|
static DatumResult |
Log1p(Datum arg) |
static DatumResult |
Log1p(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Get the natural log of (1 + value).
|
static DatumResult |
Log2(Datum arg) |
static DatumResult |
Log2(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Get the log base 2 of a value.
|
static int |
Log2(long x) |
static DatumResult |
Logb(Datum arg,
Datum base) |
static DatumResult |
Logb(Datum arg,
Datum base,
ArithmeticOptions options,
ExecContext ctx)
\brief Get the log of a value to the given base.
|
static Array |
MakeArray(ArrayData data)
\brief Create a strongly-typed Array instance from generic ArrayData
|
static ArrayResult |
MakeArrayFromScalar(Scalar scalar,
long length) |
static ArrayResult |
MakeArrayFromScalar(Scalar scalar,
long length,
MemoryPool pool)
\brief Create an Array instance whose slots are the given scalar
|
static ArrayResult |
MakeArrayOfNull(DataType type,
long length) |
static ArrayResult |
MakeArrayOfNull(DataType type,
long length,
MemoryPool pool)
\brief Create a strongly-typed Array instance with all elements null
|
static Status |
MakeBuilder(MemoryPool pool,
DataType type,
ArrayBuilder out)
\brief Construct an empty ArrayBuilder corresponding to the data
type
|
static Status |
MakeBuilderExactIndex(MemoryPool pool,
DataType type,
ArrayBuilder out)
\brief Construct an empty ArrayBuilder corresponding to the data
type, where any top-level or nested dictionary builders return the
exact index type specified by the type.
|
static Status |
MakeDictionaryBuilder(MemoryPool pool,
DataType type,
Array dictionary,
ArrayBuilder out)
\brief Construct an empty DictionaryBuilder initialized optionally
with a pre-existing dictionary
|
static ExecBatchResult |
MakeExecBatch(Schema full_schema,
Datum partial)
Create an ExecBatch suitable for passing to ExecuteScalarExpression() from a
/** RecordBatch which may have missing or incorrectly ordered columns.
|
static RecordBatchWriterSharedResult |
MakeFileWriter(OutputStream sink,
Schema schema) |
static RecordBatchWriterSharedResult |
MakeFileWriter(OutputStream sink,
Schema schema,
IpcWriteOptions options,
KeyValueMetadata metadata)
Create a new IPC file writer from stream sink and schema
|
static BufferIteratorResult |
MakeInputStreamIterator(InputStream stream,
long block_size)
\brief Return an iterator on an input stream
The iterator yields a fixed-size block on each Next() call, except the
last block in the stream which may be smaller.
|
static Scalar |
MakeNullScalar(DataType type)
\defgroup scalar-factories Scalar factory functions
\{
|
static IpcPayloadWriterResult |
MakePayloadFileWriter(OutputStream sink,
Schema schema) |
static IpcPayloadWriterResult |
MakePayloadFileWriter(OutputStream sink,
Schema schema,
IpcWriteOptions options,
KeyValueMetadata metadata)
Create a new IPC payload file writer from stream sink.
|
static IpcPayloadWriterResult |
MakePayloadStreamWriter(OutputStream sink) |
static IpcPayloadWriterResult |
MakePayloadStreamWriter(OutputStream sink,
IpcWriteOptions options)
Create a new IPC payload stream writer from stream sink.
|
static Scalar |
MakeScalar(BytePointer value) |
static Scalar |
MakeScalar(String value)
\brief Type-inferring scalar factory for non-null scalars
Construct a Scalar instance with a DataType determined by the input C++ type.
|
static RecordBatchWriterSharedResult |
MakeStreamWriter(OutputStream sink,
Schema schema) |
static RecordBatchWriterSharedResult |
MakeStreamWriter(OutputStream sink,
Schema schema,
IpcWriteOptions options)
\defgroup record-batch-writer-factories Functions for creating RecordBatchWriter
instances
\{
|
static DataType |
map(DataType key_type,
DataType item_type) |
static DataType |
map(DataType key_type,
DataType item_type,
boolean keys_sorted)
\brief Create a MapType instance from its key and value DataTypes
|
static DataType |
map(DataType key_type,
Field item_field) |
static DataType |
map(DataType key_type,
Field item_field,
boolean keys_sorted)
\brief Create a MapType instance from its key DataType and value field.
|
static IntResult |
MaxDecimalDigitsForInteger(int type_id)
For an integer type, return the max number of decimal digits
(=minimal decimal precision) it can represent.
|
static DatumResult |
MaxElementWise(DatumVector args) |
static DatumResult |
MaxElementWise(DatumVector args,
ElementWiseAggregateOptions options,
ExecContext ctx)
\brief Find the element-wise maximum of any number of arrays or scalars.
|
static DatumResult |
Mean(Datum value) |
static DatumResult |
Mean(Datum value,
ScalarAggregateOptions options,
ExecContext ctx)
\brief Compute the mean of a numeric array.
|
static DatumResult |
Microsecond(Datum values) |
static DatumResult |
Microsecond(Datum values,
ExecContext ctx)
\brief Microsecond returns number of microseconds since the last full millisecond
for each element of
values |
static DatumResult |
Millisecond(Datum values) |
static DatumResult |
Millisecond(Datum values,
ExecContext ctx)
\brief Millisecond returns number of milliseconds since the last full second
for each element of
values |
static Status |
mimalloc_memory_pool(MemoryPool out) |
static Status |
mimalloc_memory_pool(PointerPointer out)
\brief Return a process-wide memory pool based on mimalloc.
|
static DatumResult |
MinElementWise(DatumVector args) |
static DatumResult |
MinElementWise(DatumVector args,
ElementWiseAggregateOptions options,
ExecContext ctx)
\brief Find the element-wise minimum of any number of arrays or scalars.
|
static DatumResult |
Minute(Datum values) |
static DatumResult |
Minute(Datum values,
ExecContext ctx)
\brief Minute returns minutes value for each element of
values |
static BasicDecimal128 |
mod(BasicDecimal128 left,
BasicDecimal128 right) |
static DatumResult |
Mode(Datum value) |
static DatumResult |
Mode(Datum value,
ModeOptions options,
ExecContext ctx)
\brief Calculate the modal (most common) value of a numeric array
This function returns top-n most common values and number of times they occur as
an array of
struct<mode: T, count: int64>, where T is the input type. |
static DataType |
month_day_nano_interval()
\brief Return a MonthDayNanoIntervalType instance
|
static DataType |
month_interval()
\brief Return a MonthIntervalType instance
|
static DatumResult |
Month(Datum values) |
static DatumResult |
Month(Datum values,
ExecContext ctx)
\brief Month returns month for each element of
values. |
static BasicDecimal128 |
multiply(BasicDecimal128 left,
BasicDecimal128 right) |
static BasicDecimal256 |
multiply(BasicDecimal256 left,
BasicDecimal256 right) |
static DatumResult |
Multiply(Datum left,
Datum right) |
static DatumResult |
Multiply(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Multiply two values.
|
static DatumResult |
Nanosecond(Datum values) |
static DatumResult |
Nanosecond(Datum values,
ExecContext ctx)
\brief Nanosecond returns number of nanoseconds since the last full millisecond
for each element of
values |
static DatumResult |
Negate(Datum arg) |
static DatumResult |
Negate(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Negate values.
|
static RecordBatchWriterSharedResult |
NewFileWriter(OutputStream sink,
Schema schema)
Deprecated.
|
static RecordBatchWriterSharedResult |
NewFileWriter(OutputStream sink,
Schema schema,
IpcWriteOptions options,
KeyValueMetadata metadata)
Deprecated.
|
static RecordBatchWriterSharedResult |
NewStreamWriter(OutputStream sink,
Schema schema)
Deprecated.
|
static RecordBatchWriterSharedResult |
NewStreamWriter(OutputStream sink,
Schema schema,
IpcWriteOptions options)
Deprecated.
|
static long |
NextPower2(long n) |
static Status |
NoMatchingKernel(Function func,
ValueDescrVector arg1)
\brief Return an error message if no Kernel is found.
|
static Expression |
not_(Expression operand) |
static Expression |
not_equal(Expression lhs,
Expression rhs) |
static BasicDecimal128 |
not(BasicDecimal128 operand) |
static BasicDecimal256 |
not(BasicDecimal256 operand) |
static boolean |
notEquals(BasicDecimal128 left,
BasicDecimal128 right) |
static boolean |
notEquals(BasicDecimal256 left,
BasicDecimal256 right) |
static boolean |
notEquals(ExecBatch l,
ExecBatch r) |
static boolean |
notEquals(Expression l,
Expression r) |
static ArrayResult |
NthToIndices(Array values,
long n) |
static ArrayResult |
NthToIndices(Array values,
long n,
ExecContext ctx)
\brief Return indices that partition an array around n-th sorted element.
|
static ArrayResult |
NthToIndices(Array values,
PartitionNthOptions options) |
static ArrayResult |
NthToIndices(Array values,
PartitionNthOptions options,
ExecContext ctx)
\brief Return indices that partition an array around n-th sorted element.
|
static DataTypeVector |
NumericTypes() |
static int |
NumRequiredBits(long x) |
static int |
offset_bit_width(int type_id) |
static RecordBatchWriterUniqueResult |
OpenRecordBatchWriter(IpcPayloadWriter sink,
Schema schema) |
static RecordBatchWriterUniqueResult |
OpenRecordBatchWriter(IpcPayloadWriter sink,
Schema schema,
IpcWriteOptions options)
Create a new RecordBatchWriter from IpcPayloadWriter and schema.
|
static Expression |
or_(Expression arg0) |
static Expression |
or_(Expression lhs,
Expression rhs) |
static DatumResult |
Or(Datum left,
Datum right) |
static DatumResult |
Or(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise OR of two boolean datums which always propagates nulls
(null and true is null).
|
static RecordBatchResult |
ParseOne(JsonParseOptions options,
ArrowBuffer json)
A class that reads an entire JSON file into a Arrow Table
The file is expected to consist of individual line-separated JSON objects
|
static int |
PopCount(int bitmap) |
static long |
PopCount(long bitmap) |
static DatumResult |
Power(Datum left,
Datum right) |
static DatumResult |
Power(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Raise the values of base array to the power of the exponent array values.
|
static Status |
PrettyPrint(Array arr,
int indent,
Pointer sink)
\brief Print human-readable representation of Array
|
static Status |
PrettyPrint(Array arr,
PrettyPrintOptions options,
BytePointer result)
\brief Print human-readable representation of Array
|
static Status |
PrettyPrint(Array arr,
PrettyPrintOptions options,
Pointer sink)
\brief Print human-readable representation of Array
|
static Status |
PrettyPrint(ChunkedArray chunked_arr,
PrettyPrintOptions options,
BytePointer result)
\brief Print human-readable representation of ChunkedArray
|
static Status |
PrettyPrint(ChunkedArray chunked_arr,
PrettyPrintOptions options,
Pointer sink)
\brief Print human-readable representation of ChunkedArray
|
static Status |
PrettyPrint(RecordBatch batch,
int indent,
Pointer sink)
\brief Print human-readable representation of RecordBatch
|
static Status |
PrettyPrint(RecordBatch batch,
PrettyPrintOptions options,
Pointer sink) |
static Status |
PrettyPrint(Schema schema,
PrettyPrintOptions options,
BytePointer result) |
static Status |
PrettyPrint(Schema schema,
PrettyPrintOptions options,
Pointer sink) |
static Status |
PrettyPrint(Table table,
PrettyPrintOptions options,
Pointer sink)
\brief Print human-readable representation of Table
|
static TypeMatcher |
Primitive() |
static DataTypeVector |
PrimitiveTypes() |
static void |
PrintTo(FunctionOptions arg0,
Pointer arg1)
\}
|
static DatumResult |
Product(Datum value) |
static DatumResult |
Product(Datum value,
ScalarAggregateOptions options,
ExecContext ctx)
\brief Compute the product of values of a numeric array.
|
static Expression |
project(Expression values,
StringVector names) |
static TableResult |
PromoteTableToSchema(Table table,
Schema schema) |
static TableResult |
PromoteTableToSchema(Table table,
Schema schema,
MemoryPool pool)
\brief Promotes a table to conform to the given schema.
|
static DatumResult |
Quantile(Datum value) |
static DatumResult |
Quantile(Datum value,
QuantileOptions options,
ExecContext ctx)
\brief Calculate the quantiles of a numeric array
|
static DatumResult |
Quarter(Datum values) |
static DatumResult |
Quarter(Datum values,
ExecContext ctx)
\brief Quarter returns the quarter of year number for each element of
values
First quarter maps to 1 and fourth quarter maps to 4. |
static MessageUniqueResult |
ReadMessage(InputStream stream) |
static MessageUniqueResult |
ReadMessage(InputStream stream,
MemoryPool pool)
\brief Read encapsulated IPC message (metadata and body) from InputStream
Returns null if there are not enough bytes available or the
message length is 0 (e.g.
|
static MessageUniqueResult |
ReadMessage(long offset,
int metadata_length,
RandomAccessFile file)
\brief Read encapsulated RPC message from position in file
Read a length-prefixed message flatbuffer starting at the indicated file
offset.
|
static MessageFuture |
ReadMessageAsync(long offset,
int metadata_length,
long body_length,
RandomAccessFile file) |
static MessageFuture |
ReadMessageAsync(long offset,
int metadata_length,
long body_length,
RandomAccessFile file,
IOContext context) |
static RecordBatchResult |
ReadRecordBatch(ArrowBuffer metadata,
Schema schema,
DictionaryMemo dictionary_memo,
IpcReadOptions options,
RandomAccessFile file)
Read record batch from file given metadata and schema
|
static RecordBatchResult |
ReadRecordBatch(Message message,
Schema schema,
DictionaryMemo dictionary_memo,
IpcReadOptions options)
\brief Read record batch from message
|
static RecordBatchResult |
ReadRecordBatch(Schema schema,
DictionaryMemo dictionary_memo,
IpcReadOptions options,
InputStream stream)
Read record batch as encapsulated IPC message with metadata size prefix and
header
|
static SchemaResult |
ReadSchema(InputStream stream,
DictionaryMemo dictionary_memo)
\brief Read Schema from stream serialized as a single IPC message
and populate any dictionary-encoded fields into a DictionaryMemo
|
static SchemaResult |
ReadSchema(Message message,
DictionaryMemo dictionary_memo)
\brief Read Schema from encapsulated Message
|
static SparseTensorResult |
ReadSparseTensor(InputStream file)
\brief EXPERIMENTAL: Read arrow::SparseTensor as encapsulated IPC message in file
|
static SparseTensorResult |
ReadSparseTensor(Message message)
\brief EXPERIMENTAL: Read arrow::SparseTensor from IPC message
|
static SizeTResult |
ReadSparseTensorBodyBufferCount(ArrowBuffer metadata)
\brief EXPERIMENTAL: Read arrow::SparseTensorFormat::type from a metadata
|
static SparseTensorResult |
ReadSparseTensorPayload(IpcPayload payload)
\brief EXPERIMENTAL: Read arrow::SparseTensor from an IpcPayload
|
static TensorResult |
ReadTensor(InputStream file)
\brief Read arrow::Tensor as encapsulated IPC message in file
|
static TensorResult |
ReadTensor(Message message)
\brief EXPERIMENTAL: Read arrow::Tensor from IPC message
|
static ArrayVectorVector |
RechunkArraysConsistently(ArrayVectorVector arg0)
Given a number of ArrayVectors, treat each ArrayVector as the
chunks of a chunked array.
|
static Status |
RegisterCancellingSignalHandler(int[] signals) |
static Status |
RegisterCancellingSignalHandler(IntBuffer signals) |
static Status |
RegisterCancellingSignalHandler(IntPointer signals)
EXPERIMENTAL: Register signal handler triggering the signal-receiving StopSource
|
static Status |
RegisterExtensionType(ExtensionType type)
\brief Register an extension type globally.
|
static DatumResult |
ReplaceWithMask(Datum values,
Datum mask,
Datum replacements) |
static DatumResult |
ReplaceWithMask(Datum values,
Datum mask,
Datum replacements,
ExecContext ctx)
\brief ReplaceWithMask replaces each value in the array corresponding
to a true value in the mask with the next element from
replacements. |
static void |
ResetSignalStopSource()
EXPERIMENTAL: Reset the global signal-receiving StopSource
This will invalidate the pointer returned by SetSignalStopSource.
|
static Status |
ResolveDictionaries(ArrayDataVector columns,
DictionaryMemo memo,
MemoryPool pool) |
static DatumResult |
Round(Datum arg) |
static DatumResult |
Round(Datum arg,
RoundOptions options,
ExecContext ctx)
\brief Round a value to a given precision.
|
static long |
RoundDown(long value,
long factor) |
static DatumResult |
RoundToMultiple(Datum arg) |
static DatumResult |
RoundToMultiple(Datum arg,
RoundToMultipleOptions options,
ExecContext ctx)
\brief Round a value to a given multiple.
|
static long |
RoundUp(long value,
long factor) |
static long |
RoundUpToMultipleOf64(long num) |
static long |
RoundUpToMultipleOf8(long num) |
static long |
RoundUpToPowerOf2(long value,
long factor) |
static TypeMatcher |
SameTypeId(int type_id)
\brief Match any DataType instance having the same DataType::id.
|
static boolean |
ScalarApproxEquals(Scalar left,
Scalar right) |
static boolean |
ScalarApproxEquals(Scalar left,
Scalar right,
EqualOptions options)
Returns true if scalars are approximately equal
|
static boolean |
ScalarEquals(Scalar left,
Scalar right) |
static boolean |
ScalarEquals(Scalar left,
Scalar right,
EqualOptions options)
Returns true if scalars are equal
|
static Schema |
schema(FieldVector fields) |
static Schema |
schema(FieldVector fields,
arrow.Endianness endianness) |
static Schema |
schema(FieldVector fields,
arrow.Endianness endianness,
KeyValueMetadata metadata)
\brief Create a Schema instance
|
static Schema |
schema(FieldVector fields,
int endianness) |
static Schema |
schema(FieldVector fields,
int endianness,
KeyValueMetadata metadata) |
static Schema |
schema(FieldVector fields,
KeyValueMetadata metadata)
\brief Create a Schema instance
|
static DatumResult |
Second(Datum values) |
static DatumResult |
Second(Datum values,
ExecContext ctx)
\brief Second returns seconds value for each element of
values |
static ArrayResult |
SelectKUnstable(Datum datum,
SelectKOptions options) |
static ArrayResult |
SelectKUnstable(Datum datum,
SelectKOptions options,
ExecContext ctx)
\brief Return indices that would select the first
k elements. |
static BufferResult |
Serialize(Expression arg0) |
static BufferResult |
SerializeRecordBatch(RecordBatch batch,
IpcWriteOptions options)
\brief Serialize record batch as encapsulated IPC message in a new buffer
|
static Status |
SerializeRecordBatch(RecordBatch batch,
IpcWriteOptions options,
OutputStream out)
\brief Write record batch to OutputStream
|
static BufferResult |
SerializeRecordBatch(RecordBatch batch,
MemoryManager mm)
\brief Serialize record batch as encapsulated IPC message in a new buffer
|
static BufferResult |
SerializeSchema(Schema schema) |
static BufferResult |
SerializeSchema(Schema schema,
MemoryPool pool)
\brief Serialize schema as encapsulated IPC message
|
static void |
SetBit(byte[] bits,
long i) |
static void |
SetBit(ByteBuffer bits,
long i) |
static void |
SetBit(BytePointer bits,
long i) |
static void |
SetBitmap(byte[] data,
long offset,
long length) |
static void |
SetBitmap(ByteBuffer data,
long offset,
long length) |
static void |
SetBitmap(BytePointer data,
long offset,
long length)
\brief Sets all bits in the bitmap to true
|
static void |
SetBitsTo(byte[] bits,
long start_offset,
long length,
boolean bits_are_set) |
static void |
SetBitsTo(ByteBuffer bits,
long start_offset,
long length,
boolean bits_are_set) |
static void |
SetBitsTo(BytePointer bits,
long start_offset,
long length,
boolean bits_are_set)
\brief set or clear a range of bits quickly
|
static void |
SetBitTo(byte[] bits,
long i,
boolean bit_is_set) |
static void |
SetBitTo(ByteBuffer bits,
long i,
boolean bit_is_set) |
static void |
SetBitTo(BytePointer bits,
long i,
boolean bit_is_set) |
static Status |
SetCpuThreadPoolCapacity(int threads)
\brief Set the capacity of the global thread pool
Set the number of worker threads int the thread pool to which
Arrow dispatches various CPU-bound tasks.
|
static Status |
SetIOThreadPoolCapacity(int threads)
\brief Set the capacity of the global I/O thread pool
Set the number of worker threads in the thread pool to which
Arrow dispatches various I/O-bound tasks.
|
static StopSourceResult |
SetSignalStopSource()
EXPERIMENTAL: Set a global StopSource that can receive signals
The only allowed order of calls is the following:
- SetSignalStopSource()
- any number of pairs of (RegisterCancellingSignalHandler,
UnregisterCancellingSignalHandler) calls
- ResetSignalStopSource()
Beware that these settings are process-wide.
|
static DatumResult |
ShiftLeft(Datum left,
Datum right) |
static DatumResult |
ShiftLeft(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Left shift the left array by the right array.
|
static Pointer |
shiftLeft(Pointer os,
Array x) |
static Pointer |
shiftLeft(Pointer os,
arrow.FileType arg1) |
static Pointer |
shiftLeft(Pointer os,
byte arg1) |
static Pointer |
shiftLeft(Pointer os,
DataType type)
\brief If the generator is empty, return the given value, else
forward the values from the generator.
|
static Pointer |
shiftLeft(Pointer os,
DayTimeIntervalType.DayMilliseconds interval) |
static Pointer |
shiftLeft(Pointer os,
FileInfo arg1) |
static Pointer |
shiftLeft(Pointer os,
int unit) |
static Pointer |
shiftLeft(Pointer os,
MonthDayNanoIntervalType.MonthDayNanos interval) |
static Pointer |
shiftLeft(Pointer os,
TimeUnit.type unit) |
static DatumResult |
ShiftRight(Datum left,
Datum right) |
static DatumResult |
ShiftRight(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Right shift the left array by the right array.
|
static DatumResult |
Sign(Datum arg) |
static DatumResult |
Sign(Datum arg,
ExecContext ctx)
\brief Get the sign of a value.
|
static DataTypeVector |
SignedIntTypes() |
static ExpressionResult |
SimplifyWithGuarantee(Expression arg0,
Expression guaranteed_true_predicate)
Simplify an expression by replacing subexpressions based on a guarantee:
a boolean expression which is guaranteed to evaluate to
true. |
static DatumResult |
Sin(Datum arg) |
static DatumResult |
Sin(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Compute the sine of the array values.
|
static ArrowBuffer |
SliceBuffer(ArrowBuffer buffer,
long offset)
\brief Construct a view on a buffer at the given offset, up to the buffer's end.
|
static ArrowBuffer |
SliceBuffer(ArrowBuffer buffer,
long offset,
long length)
\defgroup buffer-slicing-functions Functions for slicing buffers
\{
|
static BufferResult |
SliceBufferSafe(ArrowBuffer buffer,
long offset)
\brief Input-checking version of SliceBuffer
An Invalid Status is returned if the requested slice falls out of bounds.
|
static BufferResult |
SliceBufferSafe(ArrowBuffer buffer,
long offset,
long length)
\brief Input-checking version of SliceBuffer
An Invalid Status is returned if the requested slice falls out of bounds.
|
static ArrowBuffer |
SliceMutableBuffer(ArrowBuffer buffer,
long offset)
\brief Like SliceBuffer, but construct a mutable buffer slice.
|
static ArrowBuffer |
SliceMutableBuffer(ArrowBuffer buffer,
long offset,
long length)
\brief Like SliceBuffer, but construct a mutable buffer slice.
|
static BufferResult |
SliceMutableBufferSafe(ArrowBuffer buffer,
long offset)
\brief Input-checking version of SliceMutableBuffer
An Invalid Status is returned if the requested slice falls out of bounds.
|
static BufferResult |
SliceMutableBufferSafe(ArrowBuffer buffer,
long offset,
long length)
\brief Input-checking version of SliceMutableBuffer
An Invalid Status is returned if the requested slice falls out of bounds.
|
static ArrayResult |
SortIndices(Array array) |
static ArrayResult |
SortIndices(Array array,
ArraySortOptions options) |
static ArrayResult |
SortIndices(Array array,
ArraySortOptions options,
ExecContext ctx)
\brief Return the indices that would sort an array.
|
static ArrayResult |
SortIndices(Array array,
arrow.SortOrder order,
ExecContext ctx)
\brief Return the indices that would sort an array.
|
static ArrayResult |
SortIndices(Array array,
int order,
ExecContext ctx) |
static ArrayResult |
SortIndices(ChunkedArray chunked_array) |
static ArrayResult |
SortIndices(ChunkedArray chunked_array,
ArraySortOptions options) |
static ArrayResult |
SortIndices(ChunkedArray chunked_array,
ArraySortOptions options,
ExecContext ctx)
\brief Return the indices that would sort a chunked array.
|
static ArrayResult |
SortIndices(ChunkedArray chunked_array,
arrow.SortOrder order,
ExecContext ctx)
\brief Return the indices that would sort a chunked array.
|
static ArrayResult |
SortIndices(ChunkedArray chunked_array,
int order,
ExecContext ctx) |
static ArrayResult |
SortIndices(Datum datum,
SortOptions options) |
static ArrayResult |
SortIndices(Datum datum,
SortOptions options,
ExecContext ctx)
\brief Return the indices that would sort an input in the
specified order.
|
static ArrayResult |
SortToIndices(Array values)
Deprecated.
|
static ArrayResult |
SortToIndices(Array values,
ExecContext ctx)
Deprecated.
|
static DataType |
sparse_union(ArrayVector children) |
static DataType |
sparse_union(ArrayVector children,
StringVector field_names,
byte[] type_codes) |
static DataType |
sparse_union(ArrayVector children,
StringVector field_names,
ByteBuffer type_codes) |
static DataType |
sparse_union(ArrayVector children,
StringVector field_names,
BytePointer type_codes)
\brief Create a SparseUnionType instance
|
static DataType |
sparse_union(FieldVector child_fields) |
static DataType |
sparse_union(FieldVector child_fields,
byte[] type_codes) |
static DataType |
sparse_union(FieldVector child_fields,
ByteBuffer type_codes) |
static DataType |
sparse_union(FieldVector child_fields,
BytePointer type_codes)
\brief Create a SparseUnionType instance
|
static boolean |
SparseTensorEquals(SparseTensor left,
SparseTensor right) |
static boolean |
SparseTensorEquals(SparseTensor left,
SparseTensor right,
EqualOptions arg2)
EXPERIMENTAL: Returns true if the given sparse tensors are exactly equal
|
static DatumResult |
Stddev(Datum value) |
static DatumResult |
Stddev(Datum value,
VarianceOptions options,
ExecContext ctx)
\brief Calculate the standard deviation of a numeric array
|
static DatumResult |
Strftime(Datum values,
StrftimeOptions options) |
static DatumResult |
Strftime(Datum values,
StrftimeOptions options,
ExecContext ctx)
\brief Format timestamps according to a format string
Return formatted time strings according to the format string
StrftimeOptions::format and to the locale specifier Strftime::locale. |
static DataTypeVector |
StringTypes() |
static DataType |
struct_(FieldVector fields)
\brief Create a StructType instance
|
static DatumResult |
Subsecond(Datum values) |
static DatumResult |
Subsecond(Datum values,
ExecContext ctx)
\brief Subsecond returns the fraction of second elapsed since last full second
as a float for each element of
values |
static BasicDecimal128 |
subtract(BasicDecimal128 operand) |
static BasicDecimal128 |
subtract(BasicDecimal128 left,
BasicDecimal128 right) |
static BasicDecimal256 |
subtract(BasicDecimal256 operand) |
static DatumResult |
Subtract(Datum left,
Datum right) |
static DatumResult |
Subtract(Datum left,
Datum right,
ArithmeticOptions options,
ExecContext ctx)
\brief Subtract two values.
|
static DatumResult |
Sum(Datum value) |
static DatumResult |
Sum(Datum value,
ScalarAggregateOptions options,
ExecContext ctx)
\brief Sum values of a numeric array.
|
static StringVector |
SupportedMemoryBackendNames() |
static ArrayDataResult |
SwapEndianArrayData(ArrayData data)
\brief Swap endian of each element in a generic ArrayData
As dictionaries are often shared between different arrays, dictionaries
are not swapped by this function and should be handled separately.
|
static MemoryPool |
system_memory_pool()
\brief Return a process-wide memory pool based on the system allocator.
|
static ArrayResult |
Take(Array values,
Array indices) |
static ArrayResult |
Take(Array values,
Array indices,
TakeOptions options,
ExecContext ctx)
\brief Take with Array inputs and output
|
static DatumResult |
Take(Datum values,
Datum indices) |
static DatumResult |
Take(Datum values,
Datum indices,
TakeOptions options,
ExecContext ctx)
\brief Take from an array of values at indices in another array
The output array will be of the same type as the input values
array, with elements taken from the values array at the given
indices.
|
static DatumResult |
Tan(Datum arg) |
static DatumResult |
Tan(Datum arg,
ArithmeticOptions options,
ExecContext ctx)
\brief Compute the tangent of the array values.
|
static DatumResult |
TDigest(Datum value) |
static DatumResult |
TDigest(Datum value,
TDigestOptions options,
ExecContext ctx)
\brief Calculate the approximate quantiles of a numeric array with T-Digest algorithm
|
static DataTypeVector |
TemporalTypes() |
static boolean |
TensorEquals(Tensor left,
Tensor right) |
static boolean |
TensorEquals(Tensor left,
Tensor right,
EqualOptions arg2) |
static DataType |
time32(int unit) |
static DataType |
time32(TimeUnit.type unit)
\brief Create a 32-bit time type instance
Unit can be either SECOND or MILLI
|
static TypeMatcher |
Time32TypeUnit(int unit) |
static TypeMatcher |
Time32TypeUnit(TimeUnit.type unit) |
static DataType |
time64(int unit) |
static DataType |
time64(TimeUnit.type unit)
\brief Create a 64-bit time type instance
Unit can be either MICRO or NANO
|
static TypeMatcher |
Time64TypeUnit(int unit) |
static TypeMatcher |
Time64TypeUnit(TimeUnit.type unit) |
static DataType |
timestamp(int unit) |
static DataType |
timestamp(int unit,
BytePointer timezone) |
static DataType |
timestamp(TimeUnit.type unit)
\brief Create a TimestampType instance from its unit
|
static DataType |
timestamp(TimeUnit.type unit,
String timezone)
\brief Create a TimestampType instance from its unit and timezone
|
static TypeMatcher |
TimestampTypeUnit(int unit) |
static TypeMatcher |
TimestampTypeUnit(TimeUnit.type unit)
\brief Match any TimestampType instance having the same unit, but the time
zones can be different.
|
static Future |
ToFuture(Status status)
\brief Loop through an asynchronous sequence
|
static String |
ToString(arrow.FileType arg0) |
static BytePointer |
ToString(byte arg0) |
static String |
ToString(int id) |
static String |
ToString(TimeUnit.type unit) |
static String |
ToTypeName(int id) |
static long |
TrailingBits(long v,
int num_bits) |
static DatumResult |
Trunc(Datum arg) |
static DatumResult |
Trunc(Datum arg,
ExecContext ctx)
\brief Get the integral part without fractional digits.
|
static boolean |
TypeEquals(DataType left,
DataType right) |
static boolean |
TypeEquals(DataType left,
DataType right,
boolean check_metadata)
Returns true if the type metadata are exactly equal
|
static DataType |
uint16()
\brief Return a UInt16Type instance
|
static DataType |
uint32()
\brief Return a UInt32Type instance
|
static DataType |
uint64()
\brief Return a UInt64Type instance
|
static DataType |
uint8()
\brief Return a UInt8Type instance
|
static SchemaResult |
UnifySchemas(SchemaVector schemas) |
static SchemaResult |
UnifySchemas(SchemaVector schemas,
Field.MergeOptions field_merge_options)
\brief Unifies schemas by merging fields by name.
|
static ArrayResult |
Unique(Datum datum) |
static ArrayResult |
Unique(Datum datum,
ExecContext ctx)
\brief Compute unique elements from an array-like object
Note if a null occurs in the input it will NOT be included in the output.
|
static void |
UnregisterCancellingSignalHandler()
EXPERIMENTAL: Unregister signal handler set up by RegisterCancellingSignalHandler
|
static Status |
UnregisterExtensionType(BytePointer type_name) |
static Status |
UnregisterExtensionType(String type_name)
\brief Delete an extension type from the global registry.
|
static DataTypeVector |
UnsignedIntTypes() |
static DatumResult |
USWeek(Datum values) |
static DatumResult |
USWeek(Datum values,
ExecContext ctx)
\brief USWeek returns US week of year number for each element of
values. |
static DataType |
utf8()
\brief Return a StringType instance
|
static Status |
ValidateTensorParameters(DataType type,
ArrowBuffer data,
long[] shape,
long[] strides,
StringVector dim_names) |
static Status |
ValidateTensorParameters(DataType type,
ArrowBuffer data,
LongBuffer shape,
LongBuffer strides,
StringVector dim_names) |
static Status |
ValidateTensorParameters(DataType type,
ArrowBuffer data,
LongPointer shape,
LongPointer strides,
StringVector dim_names) |
static StructArrayResult |
ValueCounts(Datum value) |
static StructArrayResult |
ValueCounts(Datum value,
ExecContext ctx)
\brief Return counts of unique elements from an array-like object.
|
static DatumResult |
Variance(Datum value) |
static DatumResult |
Variance(Datum value,
VarianceOptions options,
ExecContext ctx)
\brief Calculate the variance of a numeric array
|
static DatumResult |
Week(Datum values) |
static DatumResult |
Week(Datum values,
WeekOptions options,
ExecContext ctx)
\brief Week returns week of year number for each element of
values. |
static Status |
WriteIpcPayload(IpcPayload payload,
IpcWriteOptions options,
OutputStream dst,
int[] metadata_length) |
static Status |
WriteIpcPayload(IpcPayload payload,
IpcWriteOptions options,
OutputStream dst,
IntBuffer metadata_length) |
static Status |
WriteIpcPayload(IpcPayload payload,
IpcWriteOptions options,
OutputStream dst,
IntPointer metadata_length)
\brief Write an IPC payload to the given stream.
|
static Status |
WriteRecordBatch(RecordBatch batch,
long buffer_start_offset,
OutputStream dst,
int[] metadata_length,
long[] body_length,
IpcWriteOptions options) |
static Status |
WriteRecordBatch(RecordBatch batch,
long buffer_start_offset,
OutputStream dst,
IntBuffer metadata_length,
LongBuffer body_length,
IpcWriteOptions options) |
static Status |
WriteRecordBatch(RecordBatch batch,
long buffer_start_offset,
OutputStream dst,
IntPointer metadata_length,
LongPointer body_length,
IpcWriteOptions options)
\brief Low-level API for writing a record batch (without schema)
to an OutputStream as encapsulated IPC message.
|
static Status |
WriteRecordBatchStream(RecordBatchVector batches,
IpcWriteOptions options,
OutputStream dst)
\brief Write multiple record batches to OutputStream, including schema
|
static Status |
WriteSparseTensor(SparseTensor sparse_tensor,
OutputStream dst,
int[] metadata_length,
long[] body_length) |
static Status |
WriteSparseTensor(SparseTensor sparse_tensor,
OutputStream dst,
IntBuffer metadata_length,
LongBuffer body_length) |
static Status |
WriteSparseTensor(SparseTensor sparse_tensor,
OutputStream dst,
IntPointer metadata_length,
LongPointer body_length)
\brief EXPERIMENTAL: Write arrow::SparseTensor as a contiguous message.
|
static Status |
WriteTable(Table table,
OutputStream dst) |
static Status |
WriteTable(Table table,
OutputStream dst,
WriteProperties properties) |
static Status |
WriteTensor(Tensor tensor,
OutputStream dst,
int[] metadata_length,
long[] body_length) |
static Status |
WriteTensor(Tensor tensor,
OutputStream dst,
IntBuffer metadata_length,
LongBuffer body_length) |
static Status |
WriteTensor(Tensor tensor,
OutputStream dst,
IntPointer metadata_length,
LongPointer body_length)
\brief Write arrow::Tensor as a contiguous message.
|
static DatumResult |
Xor(Datum left,
Datum right) |
static DatumResult |
Xor(Datum left,
Datum right,
ExecContext ctx)
\brief Element-wise XOR of two boolean datums
|
static DatumResult |
Year(Datum values) |
static DatumResult |
Year(Datum values,
ExecContext ctx)
\brief Year returns year for each element of
values |
public static final int ARROW_VERSION_MAJOR
public static final int ARROW_VERSION_MINOR
public static final int ARROW_VERSION_PATCH
public static final int ARROW_VERSION
public static final String ARROW_VERSION_STRING
public static final String ARROW_SO_VERSION
public static final String ARROW_FULL_SO_VERSION
public static final String ARROW_CXX_COMPILER_ID
public static final String ARROW_CXX_COMPILER_VERSION
public static final String ARROW_CXX_COMPILER_FLAGS
public static final String ARROW_GIT_ID
public static final String ARROW_GIT_DESCRIPTION
public static final String ARROW_PACKAGE_KIND
public static final int ARROW_BITNESS
public static final double kDefaultAbsoluteTolerance
public static final long kNoSize
public static final long kDefaultExecChunksize
public static final int kFeatherV1Version
public static final int kFeatherV2Version
@MemberGetter public static int ARROW_BITNESS()
@Namespace(value="arrow::util") @MemberGetter public static int kUseDefaultCompressionLevel()
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t") public static byte kBytePopcount(int i)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t*") public static BytePointer kBytePopcount()
@Namespace(value="arrow::BitUtil") @Cast(value="uint64_t") public static long PopCount(@Cast(value="uint64_t") long bitmap)
@Namespace(value="arrow::BitUtil") @Cast(value="uint32_t") public static int PopCount(@Cast(value="uint32_t") int bitmap)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long CeilDiv(@Cast(value="int64_t") long value, @Cast(value="int64_t") long divisor)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long BytesForBits(@Cast(value="int64_t") long bits)
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean IsPowerOf2(@Cast(value="int64_t") long value)
@Namespace(value="arrow::BitUtil") @Cast(value="int64_t") public static long NextPower2(@Cast(value="int64_t") long n)
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean IsMultipleOf64(@Cast(value="int64_t") long n)
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean IsMultipleOf8(@Cast(value="int64_t") long n)
@Namespace(value="arrow::BitUtil") @Cast(value="const uint64_t") public static long LeastSignificantBitMask(@Cast(value="int64_t") long bit_index)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long RoundUp(@Cast(value="int64_t") long value, @Cast(value="int64_t") long factor)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long RoundDown(@Cast(value="int64_t") long value, @Cast(value="int64_t") long factor)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long RoundUpToPowerOf2(@Cast(value="int64_t") long value, @Cast(value="int64_t") long factor)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long RoundUpToMultipleOf8(@Cast(value="int64_t") long num)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long RoundUpToMultipleOf64(@Cast(value="int64_t") long num)
@Namespace(value="arrow::BitUtil") @Cast(value="const int64_t") public static long CoveringBytes(@Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::BitUtil") @Cast(value="uint64_t") public static long TrailingBits(@Cast(value="uint64_t") long v, int num_bits)
@Namespace(value="arrow::BitUtil") public static int CountLeadingZeros(@Cast(value="uint32_t") int value)
@Namespace(value="arrow::BitUtil") public static int CountLeadingZeros(@Cast(value="uint64_t") long value)
@Namespace(value="arrow::BitUtil") public static int CountTrailingZeros(@Cast(value="uint32_t") int value)
@Namespace(value="arrow::BitUtil") public static int CountTrailingZeros(@Cast(value="uint64_t") long value)
@Namespace(value="arrow::BitUtil") public static int NumRequiredBits(@Cast(value="uint64_t") long x)
@Namespace(value="arrow::BitUtil") public static int Log2(@Cast(value="uint64_t") long x)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t") public static byte kBitmask(int i)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t*") public static BytePointer kBitmask()
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t") public static byte kFlippedBitmask(int i)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t*") public static BytePointer kFlippedBitmask()
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t") public static byte kPrecedingBitmask(int i)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t*") public static BytePointer kPrecedingBitmask()
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t") public static byte kPrecedingWrappingBitmask(int i)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t*") public static BytePointer kPrecedingWrappingBitmask()
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t") public static byte kTrailingBitmask(int i)
@Namespace(value="arrow::BitUtil") @MemberGetter @Cast(value="const uint8_t*") public static BytePointer kTrailingBitmask()
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean GetBit(@Cast(value="const uint8_t*") BytePointer bits, @Cast(value="uint64_t") long i)
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean GetBit(@Cast(value="const uint8_t*") ByteBuffer bits, @Cast(value="uint64_t") long i)
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean GetBit(@Cast(value="const uint8_t*") byte[] bits, @Cast(value="uint64_t") long i)
@Namespace(value="arrow::BitUtil") @Cast(value="const bool") public static boolean GetBitFromByte(@Cast(value="uint8_t") byte _byte, @Cast(value="uint8_t") byte i)
@Namespace(value="arrow::BitUtil") public static void ClearBit(@Cast(value="uint8_t*") BytePointer bits, @Cast(value="int64_t") long i)
@Namespace(value="arrow::BitUtil") public static void ClearBit(@Cast(value="uint8_t*") ByteBuffer bits, @Cast(value="int64_t") long i)
@Namespace(value="arrow::BitUtil") public static void ClearBit(@Cast(value="uint8_t*") byte[] bits, @Cast(value="int64_t") long i)
@Namespace(value="arrow::BitUtil") public static void SetBit(@Cast(value="uint8_t*") BytePointer bits, @Cast(value="int64_t") long i)
@Namespace(value="arrow::BitUtil") public static void SetBit(@Cast(value="uint8_t*") ByteBuffer bits, @Cast(value="int64_t") long i)
@Namespace(value="arrow::BitUtil") public static void SetBit(@Cast(value="uint8_t*") byte[] bits, @Cast(value="int64_t") long i)
@Namespace(value="arrow::BitUtil") public static void SetBitTo(@Cast(value="uint8_t*") BytePointer bits, @Cast(value="int64_t") long i, @Cast(value="bool") boolean bit_is_set)
@Namespace(value="arrow::BitUtil") public static void SetBitTo(@Cast(value="uint8_t*") ByteBuffer bits, @Cast(value="int64_t") long i, @Cast(value="bool") boolean bit_is_set)
@Namespace(value="arrow::BitUtil") public static void SetBitTo(@Cast(value="uint8_t*") byte[] bits, @Cast(value="int64_t") long i, @Cast(value="bool") boolean bit_is_set)
@Namespace(value="arrow::BitUtil") public static void SetBitsTo(@Cast(value="uint8_t*") BytePointer bits, @Cast(value="int64_t") long start_offset, @Cast(value="int64_t") long length, @Cast(value="bool") boolean bits_are_set)
@Namespace(value="arrow::BitUtil") public static void SetBitsTo(@Cast(value="uint8_t*") ByteBuffer bits, @Cast(value="int64_t") long start_offset, @Cast(value="int64_t") long length, @Cast(value="bool") boolean bits_are_set)
@Namespace(value="arrow::BitUtil") public static void SetBitsTo(@Cast(value="uint8_t*") byte[] bits, @Cast(value="int64_t") long start_offset, @Cast(value="int64_t") long length, @Cast(value="bool") boolean bits_are_set)
@Namespace(value="arrow::BitUtil") public static void SetBitmap(@Cast(value="uint8_t*") BytePointer data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::BitUtil") public static void SetBitmap(@Cast(value="uint8_t*") ByteBuffer data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::BitUtil") public static void SetBitmap(@Cast(value="uint8_t*") byte[] data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::BitUtil") public static void ClearBitmap(@Cast(value="uint8_t*") BytePointer data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::BitUtil") public static void ClearBitmap(@Cast(value="uint8_t*") ByteBuffer data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::BitUtil") public static void ClearBitmap(@Cast(value="uint8_t*") byte[] data, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@Namespace(value="arrow::util::internal") @MemberGetter @Cast(value="const uint8_t") public static byte kNonNullFiller()
n bits from low and high sizeof(Word)-n bits
from high.
Word ret
for (i = 0; i < sizeof(Word)*8; i++){
ret[i]= i < n ? low[i]: high[i];
}@Namespace(value="arrow") @SharedPtr public static KeyValueMetadata key_value_metadata(@Const @ByRef StringStringMap pairs)
pairs - key-value mapping@Namespace(value="arrow") @SharedPtr public static KeyValueMetadata key_value_metadata(@ByVal StringVector keys, @ByVal StringVector values)
keys - sequence of metadata keysvalues - sequence of corresponding metadata values@Namespace(value="arrow::internal") @Const @ByRef public static Status GenericToStatus(@Const @ByRef Status st)
@Namespace(value="arrow") public static MemoryPool system_memory_pool()
@Namespace(value="arrow") @ByVal public static Status jemalloc_memory_pool(@Cast(value="arrow::MemoryPool**") PointerPointer out)
@Namespace(value="arrow") @ByVal public static Status jemalloc_memory_pool(@ByPtrPtr MemoryPool out)
@Namespace(value="arrow") @ByVal public static Status jemalloc_set_decay_ms(int ms)
@Namespace(value="arrow") @ByVal public static Status mimalloc_memory_pool(@Cast(value="arrow::MemoryPool**") PointerPointer out)
@Namespace(value="arrow") @ByVal public static Status mimalloc_memory_pool(@ByPtrPtr MemoryPool out)
@Namespace(value="arrow") @ByVal public static StringVector SupportedMemoryBackendNames()
@Namespace(value="arrow") @SharedPtr public static ArrowBuffer SliceBuffer(@SharedPtr ArrowBuffer buffer, @Cast(value="const int64_t") long offset, @Cast(value="const int64_t") long length)
\brief Construct a view on a buffer at the given offset and length. This function cannot fail and does not check for errors (except in debug builds)
@Namespace(value="arrow") @SharedPtr public static ArrowBuffer SliceBuffer(@SharedPtr ArrowBuffer buffer, @Cast(value="const int64_t") long offset)
@Namespace(value="arrow") @ByVal public static BufferResult SliceBufferSafe(@SharedPtr ArrowBuffer buffer, @Cast(value="int64_t") long offset)
@Namespace(value="arrow") @ByVal public static BufferResult SliceBufferSafe(@SharedPtr ArrowBuffer buffer, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
length isn't clamped to the available buffer size.@Namespace(value="arrow") @SharedPtr public static ArrowBuffer SliceMutableBuffer(@SharedPtr ArrowBuffer buffer, @Cast(value="const int64_t") long offset, @Cast(value="const int64_t") long length)
@Namespace(value="arrow") @SharedPtr public static ArrowBuffer SliceMutableBuffer(@SharedPtr ArrowBuffer buffer, @Cast(value="const int64_t") long offset)
@Namespace(value="arrow") @ByVal public static BufferResult SliceMutableBufferSafe(@SharedPtr ArrowBuffer buffer, @Cast(value="int64_t") long offset)
@Namespace(value="arrow") @ByVal public static BufferResult SliceMutableBufferSafe(@SharedPtr ArrowBuffer buffer, @Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
length isn't clamped to the available buffer size.@Namespace(value="arrow") @ByVal public static BufferUniqueResult AllocateBuffer(@Cast(value="const int64_t") long size, MemoryPool pool)
\brief Allocate a fixed size mutable buffer from a memory pool, zero its padding.
size - [in] size of buffer to allocatepool - [in] a memory pool@Namespace(value="arrow") @ByVal public static BufferUniqueResult AllocateBuffer(@Cast(value="const int64_t") long size)
@Namespace(value="arrow") @ByVal public static ResizableUniqueResult AllocateResizableBuffer(@Cast(value="const int64_t") long size, MemoryPool pool)
size - [in] size of buffer to allocatepool - [in] a memory pool@Namespace(value="arrow") @ByVal public static ResizableUniqueResult AllocateResizableBuffer(@Cast(value="const int64_t") long size)
@Namespace(value="arrow") @ByVal public static BufferResult AllocateEmptyBitmap(@Cast(value="int64_t") long length, MemoryPool pool)
length - [in] size in bits of bitmap to allocatepool - [in] memory pool to allocate memory from@Namespace(value="arrow") @ByVal public static BufferResult AllocateEmptyBitmap(@Cast(value="int64_t") long length)
@Namespace(value="arrow") @MemberGetter public static double kDefaultAbsoluteTolerance()
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayEquals(@Const @ByRef Array left, @Const @ByRef Array right, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions arg2)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayEquals(@Const @ByRef Array left, @Const @ByRef Array right)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayApproxEquals(@Const @ByRef Array left, @Const @ByRef Array right, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions arg2)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayApproxEquals(@Const @ByRef Array left, @Const @ByRef Array right)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayRangeEquals(@Const @ByRef Array left, @Const @ByRef Array right, @Cast(value="int64_t") long start_idx, @Cast(value="int64_t") long end_idx, @Cast(value="int64_t") long other_start_idx, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions arg5)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayRangeEquals(@Const @ByRef Array left, @Const @ByRef Array right, @Cast(value="int64_t") long start_idx, @Cast(value="int64_t") long end_idx, @Cast(value="int64_t") long other_start_idx)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayRangeApproxEquals(@Const @ByRef Array left, @Const @ByRef Array right, @Cast(value="int64_t") long start_idx, @Cast(value="int64_t") long end_idx, @Cast(value="int64_t") long other_start_idx, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions arg5)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ArrayRangeApproxEquals(@Const @ByRef Array left, @Const @ByRef Array right, @Cast(value="int64_t") long start_idx, @Cast(value="int64_t") long end_idx, @Cast(value="int64_t") long other_start_idx)
@Namespace(value="arrow") @Cast(value="bool") public static boolean TensorEquals(@Const @ByRef Tensor left, @Const @ByRef Tensor right, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions arg2)
@Namespace(value="arrow") @Cast(value="bool") public static boolean TensorEquals(@Const @ByRef Tensor left, @Const @ByRef Tensor right)
@Namespace(value="arrow") @Cast(value="bool") public static boolean SparseTensorEquals(@Const @ByRef SparseTensor left, @Const @ByRef SparseTensor right, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions arg2)
@Namespace(value="arrow") @Cast(value="bool") public static boolean SparseTensorEquals(@Const @ByRef SparseTensor left, @Const @ByRef SparseTensor right)
@Namespace(value="arrow") @Cast(value="bool") public static boolean TypeEquals(@Const @ByRef DataType left, @Const @ByRef DataType right, @Cast(value="bool") boolean check_metadata)
left - [in] a DataTyperight - [in] a DataTypecheck_metadata - [in] whether to compare KeyValueMetadata for child
fields@Namespace(value="arrow") @Cast(value="bool") public static boolean TypeEquals(@Const @ByRef DataType left, @Const @ByRef DataType right)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ScalarEquals(@Const @ByRef Scalar left, @Const @ByRef Scalar right, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions options)
left - [in] a Scalarright - [in] a Scalaroptions - [in] comparison options@Namespace(value="arrow") @Cast(value="bool") public static boolean ScalarEquals(@Const @ByRef Scalar left, @Const @ByRef Scalar right)
@Namespace(value="arrow") @Cast(value="bool") public static boolean ScalarApproxEquals(@Const @ByRef Scalar left, @Const @ByRef Scalar right, @Const @ByRef(nullValue="arrow::EqualOptions::Defaults()") EqualOptions options)
left - [in] a Scalarright - [in] a Scalaroptions - [in] comparison options@Namespace(value="arrow") @Cast(value="bool") public static boolean ScalarApproxEquals(@Const @ByRef Scalar left, @Const @ByRef Scalar right)
@Namespace(value="arrow::internal") public static void DieWithMessage(@StdString String msg)
@Namespace(value="arrow::internal") public static void DieWithMessage(@StdString BytePointer msg)
@Namespace(value="arrow::internal") public static void InvalidValueOrDie(@Const @ByRef Status st)
@Namespace(value="arrow") @SharedPtr @Name(value="null") @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType _null()
\brief Return a NullType instance
@Namespace(value="arrow") @SharedPtr @Name(value="boolean") @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType _boolean()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType int8()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType int16()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType int32()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType int64()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType uint8()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType uint16()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType uint32()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType uint64()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType float16()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType float32()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType float64()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType utf8()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType large_utf8()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType binary()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType large_binary()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType date32()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType date64()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType fixed_size_binary(int byte_width)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType decimal(int precision, int scale)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType decimal128(int precision, int scale)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType decimal256(int precision, int scale)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType list(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) Field value_type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType list(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType value_type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType large_list(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) Field value_type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType large_list(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType value_type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType map(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType key_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType item_type, @Cast(value="bool") boolean keys_sorted)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType map(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType key_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType item_type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType map(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType key_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) Field item_field, @Cast(value="bool") boolean keys_sorted)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType map(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType key_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) Field item_field)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType fixed_size_list(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) Field value_type, int list_size)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType fixed_size_list(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType value_type, int list_size)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType duration(TimeUnit.type unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType duration(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType day_time_interval()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType month_interval()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType month_day_nano_interval()
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType timestamp(TimeUnit.type unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType timestamp(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType timestamp(TimeUnit.type unit, @StdString String timezone)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType timestamp(@Cast(value="arrow::TimeUnit::type") int unit, @StdString BytePointer timezone)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType time32(TimeUnit.type unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType time32(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType time64(TimeUnit.type unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType time64(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType struct_(@Const @ByRef FieldVector fields)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@ByVal FieldVector child_fields, @StdVector BytePointer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@ByVal FieldVector child_fields)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@ByVal FieldVector child_fields, @StdVector ByteBuffer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@ByVal FieldVector child_fields, @StdVector byte[] type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@Const @ByRef ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @StdVector BytePointer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@Const @ByRef ArrayVector children)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@Const @ByRef ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @StdVector ByteBuffer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType sparse_union(@Const @ByRef ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @StdVector byte[] type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@ByVal FieldVector child_fields, @StdVector BytePointer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@ByVal FieldVector child_fields)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@ByVal FieldVector child_fields, @StdVector ByteBuffer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@ByVal FieldVector child_fields, @StdVector byte[] type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@Const @ByRef ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @StdVector BytePointer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@Const @ByRef ArrayVector children)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@Const @ByRef ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @StdVector ByteBuffer type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dense_union(@Const @ByRef ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @StdVector byte[] type_codes)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dictionary(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType index_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType dict_type, @Cast(value="bool") boolean ordered)
index_type - [in] the type of the dictionary indices (must be
a signed integer)dict_type - [in] the type of the values in the variable dictionaryordered - [in] true if the order of the dictionary values has
semantic meaning and should be preserved where possible@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public static DataType dictionary(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType index_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType dict_type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) public static Field field(@StdString String name, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="bool") boolean nullable, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
\defgroup schema-factories Factory functions for fields and schemas Factory functions for fields and schemas \{
\brief Create a Field instance
name - the field nametype - the field value typenullable - whether the values are nullable, default truemetadata - any custom key-value metadata, default null@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) public static Field field(@StdString String name, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) public static Field field(@StdString BytePointer name, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="bool") boolean nullable, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) public static Field field(@StdString BytePointer name, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) public static Field field(@StdString String name, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
name - the field nametype - the field value typemetadata - any custom key-value metadata@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Field>"}) public static Field field(@StdString BytePointer name, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
@Namespace(value="arrow") @SharedPtr @ByVal public static Schema schema(@ByVal FieldVector fields, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
fields - the schema's fieldsmetadata - any custom key-value metadata, default null@Namespace(value="arrow") @SharedPtr @ByVal public static Schema schema(@ByVal FieldVector fields)
@Namespace(value="arrow") @SharedPtr @ByVal public static Schema schema(@ByVal FieldVector fields, arrow.Endianness endianness, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
fields - the schema's fieldsendianness - the endianness of the datametadata - any custom key-value metadata, default null@Namespace(value="arrow") @SharedPtr @ByVal public static Schema schema(@ByVal FieldVector fields, arrow.Endianness endianness)
@Namespace(value="arrow") @SharedPtr @ByVal public static Schema schema(@ByVal FieldVector fields, @Cast(value="arrow::Endianness") int endianness, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
@Namespace(value="arrow") @SharedPtr @ByVal public static Schema schema(@ByVal FieldVector fields, @Cast(value="arrow::Endianness") int endianness)
@Namespace(value="arrow") public static MemoryPool default_memory_pool()
Return the process-wide default memory pool.
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_integer(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_signed_integer(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_unsigned_integer(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_floating(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_decimal(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_primitive(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_base_binary_like(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_binary_like(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_large_binary_like(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_dictionary(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_fixed_size_binary(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_fixed_width(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") public static int bit_width(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_nested(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_union(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") public static int offset_bit_width(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator !=") public static boolean notEquals(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator <") public static boolean lessThan(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator <=") public static boolean lessThanEquals(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator >") public static boolean greaterThan(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator >=") public static boolean greaterThanEquals(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @ByVal @Name(value="operator -") public static BasicDecimal128 subtract(@Const @ByRef BasicDecimal128 operand)
@Namespace(value="arrow") @ByVal @Name(value="operator ~") public static BasicDecimal128 not(@Const @ByRef BasicDecimal128 operand)
@Namespace(value="arrow") @ByVal @Name(value="operator +") public static BasicDecimal128 add(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @ByVal @Name(value="operator -") public static BasicDecimal128 subtract(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @ByVal @Name(value="operator *") public static BasicDecimal128 multiply(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @ByVal @Name(value="operator /") public static BasicDecimal128 divide(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @ByVal @Name(value="operator %") public static BasicDecimal128 mod(@Const @ByRef BasicDecimal128 left, @Const @ByRef BasicDecimal128 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator !=") public static boolean notEquals(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator <") public static boolean lessThan(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator <=") public static boolean lessThanEquals(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator >") public static boolean greaterThan(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @Cast(value="bool") @Name(value="operator >=") public static boolean greaterThanEquals(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @ByVal @Name(value="operator -") public static BasicDecimal256 subtract(@Const @ByRef BasicDecimal256 operand)
@Namespace(value="arrow") @ByVal @Name(value="operator ~") public static BasicDecimal256 not(@Const @ByRef BasicDecimal256 operand)
@Namespace(value="arrow") @ByVal @Name(value="operator +") public static BasicDecimal256 add(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @ByVal @Name(value="operator *") public static BasicDecimal256 multiply(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @ByVal @Name(value="operator /") public static BasicDecimal256 divide(@Const @ByRef BasicDecimal256 left, @Const @ByRef BasicDecimal256 right)
@Namespace(value="arrow") @ByVal public static IntResult MaxDecimalDigitsForInteger(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow") @Cast(value="bool") public static boolean IsFutureFinished(arrow.FutureState state)
@Namespace(value="arrow") @Cast(value="bool") public static boolean IsFutureFinished(@Cast(value="arrow::FutureState") byte state)
@Namespace(value="arrow") @ByVal public static Future AllComplete(@StdVector Future futures)
futures complete.
The future will be marked complete if all futures complete
successfully. Otherwise, it will be marked failed with the status of
the first failing future.@Namespace(value="arrow") @ByVal public static Future AllFinished(@StdVector Future futures)
futures complete.
The future will finish with an ok status if all futures finish with
an ok status. Otherwise, it will be marked failed with the status of
one of the failing futures.
Unlike AllComplete this Future will not complete immediately when a
failure occurs. It will wait until all futures have finished.@Namespace(value="arrow") @ByVal public static Future ToFuture(@ByVal Status status)
iterate - [in] A generator of Futureiterate.@Namespace(value="arrow") @ByVal public static StopSourceResult SetSignalStopSource()
@Namespace(value="arrow") public static void ResetSignalStopSource()
@Namespace(value="arrow") @ByVal public static Status RegisterCancellingSignalHandler(@StdVector IntPointer signals)
@Namespace(value="arrow") @ByVal public static Status RegisterCancellingSignalHandler(@StdVector IntBuffer signals)
@Namespace(value="arrow") @ByVal public static Status RegisterCancellingSignalHandler(@StdVector int[] signals)
@Namespace(value="arrow") public static void UnregisterCancellingSignalHandler()
@Namespace(value="arrow") public static int GetCpuThreadPoolCapacity()
@Namespace(value="arrow") @ByVal public static Status SetCpuThreadPoolCapacity(int threads)
@Namespace(value="arrow::internal") public static ThreadPool GetCpuThreadPool()
@Namespace(value="arrow") @MemberGetter public static int kDefaultBackgroundMaxQ()
MakeBackgroundGenerator@Namespace(value="arrow") @MemberGetter public static int kDefaultBackgroundQRestart()
@Namespace(value="arrow") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @Const @ByRef DataType type)
@Namespace(value="arrow") @MemberGetter @Cast(value="const int64_t") public static long kBinaryMemoryLimit()
@Namespace(value="arrow") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, TimeUnit.type unit)
@Namespace(value="arrow") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @ByVal DayTimeIntervalType.DayMilliseconds interval)
@Namespace(value="arrow") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @ByVal MonthDayNanoIntervalType.MonthDayNanos interval)
@Namespace(value="arrow") @StdString public static String EndiannessToString(arrow.Endianness endianness)
@Namespace(value="arrow") @StdString public static BytePointer EndiannessToString(@Cast(value="arrow::Endianness") int endianness)
@Namespace(value="arrow") @ByVal public static SchemaResult UnifySchemas(@Const @ByRef SchemaVector schemas, @ByVal(nullValue="arrow::Field::MergeOptions::Defaults()") Field.MergeOptions field_merge_options)
Field::MergeOptions.
The resulting schema will contain the union of fields from all schemas.
Fields with the same name will be merged. See Field::MergeOptions.
- They are expected to be mergeable under provided field_merge_options.
- The unified field will inherit the metadata from the schema where
that field is first defined.
- The first N fields in the schema will be ordered the same as the
N fields in the first schema.
The resulting schema will inherit its metadata from the first input schema.
Returns an error if:
- Any input schema contains fields with duplicate names.
- Fields of the same name are not mergeable.@Namespace(value="arrow") @ByVal public static SchemaResult UnifySchemas(@Const @ByRef SchemaVector schemas)
@Namespace(value="arrow::internal") @Cast(value="bool") public static boolean HasValidityBitmap(@Cast(value="arrow::Type::type") int id)
@Namespace(value="arrow::internal") @StdString public static String ToString(@Cast(value="arrow::Type::type") int id)
@Namespace(value="arrow::internal") @StdString public static String ToTypeName(@Cast(value="arrow::Type::type") int id)
@Namespace(value="arrow::internal") @StdString public static String ToString(TimeUnit.type unit)
@Namespace(value="arrow::internal") public static int GetByteWidth(@Const @ByRef DataType type)
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector SignedIntTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector UnsignedIntTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector IntTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector FloatingPointTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector NumericTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector BaseBinaryTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector StringTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector TemporalTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector IntervalTypes()
@Namespace(value="arrow") @Const @ByRef public static DataTypeVector PrimitiveTypes()
@Namespace(value="arrow::internal") @ByVal public static Status CheckBufferLength()
@Namespace(value="arrow::internal") @ByVal public static Status CheckBufferLength(@Const FixedSizeBinaryType t, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Buffer>*"}) ArrowBuffer b)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) public static Scalar MakeNullScalar(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
\brief Scalar factory for null scalars
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) public static Scalar MakeScalar(@StdString String value)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) public static Scalar MakeScalar(@StdString BytePointer value)
@Namespace(value="arrow") @MemberGetter @Cast(value="const int64_t") public static long kUnknownNullCount()
\defgroup binary-arrays Concrete classes for binary/string arrays \{ \}
\defgroup nested-arrays Concrete classes for nested arrays \{ \}
@Namespace(value="arrow::internal") @ByVal public static ArrayDataResult GetArrayView(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@Namespace(value="arrow") @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public static Array MakeArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data)
data - [in] the array contents@Namespace(value="arrow") @ByVal public static ArrayResult MakeArrayOfNull(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, MemoryPool pool)
type - [in] the array typelength - [in] the array lengthpool - [in] the memory pool to allocate memory from@Namespace(value="arrow") @ByVal public static ArrayResult MakeArrayOfNull(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length)
@Namespace(value="arrow") @ByVal public static ArrayResult MakeArrayFromScalar(@Const @ByRef Scalar scalar, @Cast(value="int64_t") long length, MemoryPool pool)
scalar - [in] the value with which to fill the arraylength - [in] the array lengthpool - [in] the memory pool to allocate memory from@Namespace(value="arrow") @ByVal public static ArrayResult MakeArrayFromScalar(@Const @ByRef Scalar scalar, @Cast(value="int64_t") long length)
@Namespace(value="arrow::internal") @ByVal public static ArrayDataResult SwapEndianArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data)
data - [in] the array contents@Namespace(value="arrow::internal") @ByVal public static ArrayVectorVector RechunkArraysConsistently(@Const @ByRef ArrayVectorVector arg0)
@Namespace(value="arrow") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @Const @ByRef Array x)
@Namespace(value="arrow") @ByVal public static ArrayResult Concatenate(@Const @ByRef ArrayVector arrays, MemoryPool pool)
arrays - [in] a vector of arrays to be concatenatedpool - [in] memory to store the result will be allocated from this memory pool@Namespace(value="arrow") @ByVal public static ArrayResult Concatenate(@Const @ByRef ArrayVector arrays)
@Namespace(value="arrow") @MemberGetter @Cast(value="const int64_t") public static long kMinBuilderCapacity()
@Namespace(value="arrow") @MemberGetter @Cast(value="const int64_t") public static long kListMaximumElements()
@Namespace(value="arrow") @ByVal public static Status MakeBuilder(MemoryPool pool, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @UniquePtr ArrayBuilder out)
pool - [in] the MemoryPool to use for allocationstype - [in] the data type to create the builder forout - [out] the created ArrayBuilder@Namespace(value="arrow") @ByVal public static Status MakeBuilderExactIndex(MemoryPool pool, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @UniquePtr ArrayBuilder out)
@Namespace(value="arrow") @ByVal public static Status MakeDictionaryBuilder(MemoryPool pool, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array dictionary, @UniquePtr ArrayBuilder out)
pool - [in] the MemoryPool to use for allocationstype - [in] the dictionary type to create the builder fordictionary - [in] the initial dictionary, if any. May be nullptrout - [out] the created ArrayBuilder@Namespace(value="arrow") @Const @ByRef public static BuildInfo GetBuildInfo()
ARROW_*
preprocessor definitions.@Namespace(value="arrow") @ByVal public static RuntimeInfo GetRuntimeInfo()
@Namespace(value="arrow") public static ValueDescr.Shape GetBroadcastShape(@Const @ByRef ValueDescrVector args)
@Namespace(value="arrow") @ByVal public static Status RegisterExtensionType(@SharedPtr ExtensionType type)
type - [in] an instance of the extension type@Namespace(value="arrow") @ByVal public static Status UnregisterExtensionType(@StdString String type_name)
type_name - [in] the unique name of a registered extension type@Namespace(value="arrow") @ByVal public static Status UnregisterExtensionType(@StdString BytePointer type_name)
@Namespace(value="arrow") @SharedPtr public static ExtensionType GetExtensionType(@StdString String type_name)
@Namespace(value="arrow") @SharedPtr public static ExtensionType GetExtensionType(@StdString BytePointer type_name)
@Namespace(value="arrow") @MemberGetter public static byte kExtensionTypeKeyName(int i)
@Namespace(value="arrow") @MemberGetter public static String kExtensionTypeKeyName()
@Namespace(value="arrow") @MemberGetter public static byte kExtensionMetadataKeyName(int i)
@Namespace(value="arrow") @MemberGetter public static String kExtensionMetadataKeyName()
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef RecordBatch batch, int indent, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef RecordBatch batch, @Const @ByRef PrettyPrintOptions options, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef Table table, @Const @ByRef PrettyPrintOptions options, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef Array arr, int indent, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef Array arr, @Const @ByRef PrettyPrintOptions options, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef Array arr, @Const @ByRef PrettyPrintOptions options, @StdString @Cast(value={"char*","std::string*"}) BytePointer result)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef ChunkedArray chunked_arr, @Const @ByRef PrettyPrintOptions options, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef ChunkedArray chunked_arr, @Const @ByRef PrettyPrintOptions options, @StdString @Cast(value={"char*","std::string*"}) BytePointer result)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef Schema schema, @Const @ByRef PrettyPrintOptions options, @Cast(value="std::ostream*") Pointer sink)
@Namespace(value="arrow") @ByVal public static Status PrettyPrint(@Const @ByRef Schema schema, @Const @ByRef PrettyPrintOptions options, @StdString @Cast(value={"char*","std::string*"}) BytePointer result)
@Namespace(value="arrow") @ByVal public static Status DebugPrint(@Const @ByRef Array arr, int indent)
@Namespace(value="arrow") @ByVal public static TableResult ConcatenateTables(@Const @ByRef TableVector tables, @ByVal(nullValue="arrow::ConcatenateTablesOptions::Defaults()") ConcatenateTablesOptions options, MemoryPool memory_pool)
@Namespace(value="arrow") @ByVal public static TableResult ConcatenateTables(@Const @ByRef TableVector tables)
@Namespace(value="arrow") @ByVal public static TableResult PromoteTableToSchema(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Table>"}) Table table, @Const @SharedPtr @ByRef Schema schema, MemoryPool pool)
table - [in] the input Tableschema - [in] the target schema to promote topool - [in] The memory pool to be used if null-filled arrays need to
be created.@Namespace(value="arrow") @ByVal public static TableResult PromoteTableToSchema(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Table>"}) Table table, @Const @SharedPtr @ByRef Schema schema)
@Namespace(value="arrow") @Cast(value="bool") public static boolean is_tensor_supported(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow::internal") @ByVal public static Status ComputeRowMajorStrides(@Const @ByRef FixedWidthType type, @Cast(value="int64_t*") @StdVector LongPointer shape, @Cast(value="int64_t*") @StdVector LongPointer strides)
@Namespace(value="arrow::internal") @ByVal public static Status ComputeRowMajorStrides(@Const @ByRef FixedWidthType type, @Cast(value="int64_t*") @StdVector LongBuffer shape, @Cast(value="int64_t*") @StdVector LongBuffer strides)
@Namespace(value="arrow::internal") @ByVal public static Status ComputeRowMajorStrides(@Const @ByRef FixedWidthType type, @Cast(value="int64_t*") @StdVector long[] shape, @Cast(value="int64_t*") @StdVector long[] strides)
@Namespace(value="arrow::internal") @ByVal public static Status ComputeColumnMajorStrides(@Const @ByRef FixedWidthType type, @Cast(value="int64_t*") @StdVector LongPointer shape, @Cast(value="int64_t*") @StdVector LongPointer strides)
@Namespace(value="arrow::internal") @ByVal public static Status ComputeColumnMajorStrides(@Const @ByRef FixedWidthType type, @Cast(value="int64_t*") @StdVector LongBuffer shape, @Cast(value="int64_t*") @StdVector LongBuffer strides)
@Namespace(value="arrow::internal") @ByVal public static Status ComputeColumnMajorStrides(@Const @ByRef FixedWidthType type, @Cast(value="int64_t*") @StdVector long[] shape, @Cast(value="int64_t*") @StdVector long[] strides)
@Namespace(value="arrow::internal") @Cast(value="bool") public static boolean IsTensorStridesContiguous(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t*") @StdVector LongPointer shape, @Cast(value="int64_t*") @StdVector LongPointer strides)
@Namespace(value="arrow::internal") @Cast(value="bool") public static boolean IsTensorStridesContiguous(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t*") @StdVector LongBuffer shape, @Cast(value="int64_t*") @StdVector LongBuffer strides)
@Namespace(value="arrow::internal") @Cast(value="bool") public static boolean IsTensorStridesContiguous(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t*") @StdVector long[] shape, @Cast(value="int64_t*") @StdVector long[] strides)
@Namespace(value="arrow::internal") @ByVal public static Status ValidateTensorParameters(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @SharedPtr ArrowBuffer data, @Cast(value="int64_t*") @StdVector LongPointer shape, @Cast(value="int64_t*") @StdVector LongPointer strides, @Const @ByRef StringVector dim_names)
@Namespace(value="arrow::internal") @ByVal public static Status ValidateTensorParameters(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @SharedPtr ArrowBuffer data, @Cast(value="int64_t*") @StdVector LongBuffer shape, @Cast(value="int64_t*") @StdVector LongBuffer strides, @Const @ByRef StringVector dim_names)
@Namespace(value="arrow::internal") @ByVal public static Status ValidateTensorParameters(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @SharedPtr ArrowBuffer data, @Cast(value="int64_t*") @StdVector long[] shape, @Cast(value="int64_t*") @StdVector long[] strides, @Const @ByRef StringVector dim_names)
@Namespace(value="arrow::io") @Const @ByRef public static IOContext default_io_context()
@Namespace(value="arrow::io") public static int GetIOThreadPoolCapacity()
@Namespace(value="arrow::io") @ByVal public static Status SetIOThreadPoolCapacity(int threads)
@Namespace(value="arrow::io") @ByVal public static BufferIteratorResult MakeInputStreamIterator(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::io::InputStream>"}) InputStream stream, @Cast(value="int64_t") long block_size)
@Namespace(value="arrow::io") @ByVal public static Status HaveLibHdfs()
@Namespace(value="arrow::fs") @StdString public static String ToString(arrow.FileType arg0)
@Namespace(value="arrow::fs") @StdString public static BytePointer ToString(@Cast(value="arrow::fs::FileType") byte arg0)
@Namespace(value="arrow::fs") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, arrow.FileType arg1)
@Namespace(value="arrow::fs") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @Cast(value="arrow::fs::FileType") byte arg1)
@Namespace(value="arrow::fs") @MemberGetter @Cast(value="const int64_t") public static long kNoSize()
@Namespace(value="arrow::fs") @MemberGetter @ByRef @Cast(value="const arrow::fs::TimePoint*") public static Pointer kNoTime()
@Namespace(value="arrow::fs") @Cast(value="std::ostream*") @ByRef @Name(value="operator <<") public static Pointer shiftLeft(@Cast(value="std::ostream*") @ByRef Pointer os, @Const @ByRef FileInfo arg1)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString String uri, @StdString @Cast(value={"char*","std::string*"}) BytePointer out_path)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString String uri)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString BytePointer uri, @StdString @Cast(value={"char*","std::string*"}) BytePointer out_path)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString BytePointer uri)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString String uri, @Const @ByRef IOContext io_context, @StdString @Cast(value={"char*","std::string*"}) BytePointer out_path)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString String uri, @Const @ByRef IOContext io_context)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString BytePointer uri, @Const @ByRef IOContext io_context, @StdString @Cast(value={"char*","std::string*"}) BytePointer out_path)
@Namespace(value="arrow::fs") @ByVal public static FileSystemResult FileSystemFromUriOrPath(@StdString BytePointer uri, @Const @ByRef IOContext io_context)
@Namespace(value="arrow::fs") @ByVal public static Status CopyFiles(@StdVector FileLocator sources, @StdVector FileLocator destinations, @Const @ByRef(nullValue="arrow::io::IOContext(arrow::io::default_io_context())") IOContext io_context, @Cast(value="int64_t") long chunk_size, @Cast(value="bool") boolean use_threads)
\brief Copy files, including from one FileSystem to another If a source and destination are resident in the same FileSystem FileSystem::CopyFile will be used, otherwise the file will be opened as a stream in both FileSystems and chunks copied from the source to the destination. No directories will be created.
@Namespace(value="arrow::fs") @ByVal public static Status CopyFiles(@StdVector FileLocator sources, @StdVector FileLocator destinations)
@Namespace(value="arrow::fs") @ByVal public static Status CopyFiles(@SharedPtr FileSystem source_fs, @Const @ByRef FileSelector source_sel, @SharedPtr FileSystem destination_fs, @StdString String destination_base_dir, @Const @ByRef(nullValue="arrow::io::IOContext(arrow::io::default_io_context())") IOContext io_context, @Cast(value="int64_t") long chunk_size, @Cast(value="bool") boolean use_threads)
@Namespace(value="arrow::fs") @ByVal public static Status CopyFiles(@SharedPtr FileSystem source_fs, @Const @ByRef FileSelector source_sel, @SharedPtr FileSystem destination_fs, @StdString String destination_base_dir)
@Namespace(value="arrow::fs") @ByVal public static Status CopyFiles(@SharedPtr FileSystem source_fs, @Const @ByRef FileSelector source_sel, @SharedPtr FileSystem destination_fs, @StdString BytePointer destination_base_dir, @Const @ByRef(nullValue="arrow::io::IOContext(arrow::io::default_io_context())") IOContext io_context, @Cast(value="int64_t") long chunk_size, @Cast(value="bool") boolean use_threads)
@Namespace(value="arrow::fs") @ByVal public static Status CopyFiles(@SharedPtr FileSystem source_fs, @Const @ByRef FileSelector source_sel, @SharedPtr FileSystem destination_fs, @StdString BytePointer destination_base_dir)
@Namespace(value="arrow::fs") @ByVal public static Status Initialize(@Const @ByRef FileSystemGlobalOptions options)
@Namespace(value="arrow::fs::internal") @Cast(value="bool") public static boolean DetectAbsolutePath(@StdString String s)
@Namespace(value="arrow::fs::internal") @Cast(value="bool") public static boolean DetectAbsolutePath(@StdString BytePointer s)
@Namespace(value="arrow::csv") @MemberGetter public static byte kDefaultEscapeChar()
@Namespace(value="arrow::csv") @ByVal public static LongFuture CountRowsAsync(@ByVal IOContext io_context, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::io::InputStream>"}) InputStream input, Executor cpu_executor, @Const @ByRef ReadOptions arg3, @Const @ByRef CsvParseOptions arg4)
@Namespace(value="arrow::json") @ByVal public static RecordBatchResult ParseOne(@ByVal JsonParseOptions options, @SharedPtr ArrowBuffer json)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Count(@Const @ByRef Datum datum, @Const @ByRef(nullValue="arrow::compute::CountOptions::Defaults()") CountOptions options, ExecContext ctx)
\brief Count values in an array.
options - [in] counting options, see CountOptions for more informationdatum - [in] to countctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Count(@Const @ByRef Datum datum)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Mean(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::ScalarAggregateOptions::Defaults()") ScalarAggregateOptions options, ExecContext ctx)
value - [in] datum to compute the mean, expecting Arrayoptions - [in] see ScalarAggregateOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Mean(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Product(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::ScalarAggregateOptions::Defaults()") ScalarAggregateOptions options, ExecContext ctx)
value - [in] datum to compute product of, expecting Array or ChunkedArrayoptions - [in] see ScalarAggregateOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Product(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Sum(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::ScalarAggregateOptions::Defaults()") ScalarAggregateOptions options, ExecContext ctx)
value - [in] datum to sum, expecting Array or ChunkedArrayoptions - [in] see ScalarAggregateOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Sum(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Any(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::ScalarAggregateOptions::Defaults()") ScalarAggregateOptions options, ExecContext ctx)
value - [in] input datum, expecting a boolean arrayoptions - [in] see ScalarAggregateOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Any(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult All(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::ScalarAggregateOptions::Defaults()") ScalarAggregateOptions options, ExecContext ctx)
value - [in] input datum, expecting a boolean arrayoptions - [in] see ScalarAggregateOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult All(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Mode(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::ModeOptions::Defaults()") ModeOptions options, ExecContext ctx)
struct<mode: T, count: int64>, where T is the input type.
Values with larger counts are returned before smaller ones.
If there are more than one values with same count, smaller value is returned first.value - [in] input datum, expecting Array or ChunkedArrayoptions - [in] see ModeOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Mode(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Stddev(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::VarianceOptions::Defaults()") VarianceOptions options, ExecContext ctx)
value - [in] input datum, expecting Array or ChunkedArrayoptions - [in] see VarianceOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Stddev(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Variance(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::VarianceOptions::Defaults()") VarianceOptions options, ExecContext ctx)
value - [in] input datum, expecting Array or ChunkedArrayoptions - [in] see VarianceOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Variance(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Quantile(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::QuantileOptions::Defaults()") QuantileOptions options, ExecContext ctx)
value - [in] input datum, expecting Array or ChunkedArrayoptions - [in] see QuantileOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Quantile(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult TDigest(@Const @ByRef Datum value, @Const @ByRef(nullValue="arrow::compute::TDigestOptions::Defaults()") TDigestOptions options, ExecContext ctx)
value - [in] input datum, expecting Array or ChunkedArrayoptions - [in] see TDigestOptions for more informationctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult TDigest(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Index(@Const @ByRef Datum value, @Const @ByRef IndexOptions options, ExecContext ctx)
value - [in] The array to search.options - [in] The array to search for. See IndexOoptions.ctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Index(@Const @ByRef Datum value, @Const @ByRef IndexOptions options)
@Namespace(value="arrow::compute::internal") @ByVal public static DatumResult GroupBy(@Const @ByRef DatumVector arguments, @Const @ByRef DatumVector keys, @StdVector Aggregate aggregates, @Cast(value="bool") boolean use_threads, ExecContext ctx)
@Namespace(value="arrow::compute::internal") @ByVal public static DatumResult GroupBy(@Const @ByRef DatumVector arguments, @Const @ByRef DatumVector keys, @StdVector Aggregate aggregates)
@Namespace(value="arrow::compute") @ByVal public static DatumResult AbsoluteValue(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
\brief Get the absolute value of a value. If argument is null the result will be null.
arg - [in] the value transformedoptions - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult AbsoluteValue(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Add(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the first addendright - [in] the second addendoptions - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Add(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Subtract(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the value subtracted from (minuend)right - [in] the value by which the minuend is reduced (subtrahend)options - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Subtract(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Multiply(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the first factorright - [in] the second factoroptions - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Multiply(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Divide(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the dividendright - [in] the divisoroptions - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Divide(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Negate(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] the value negatedoptions - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Negate(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Power(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the baseright - [in] the exponentoptions - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Power(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ShiftLeft(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the value to shiftright - [in] the value to shift byoptions - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult ShiftLeft(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ShiftRight(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
left - [in] the value to shiftright - [in] the value to shift byoptions - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult ShiftRight(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Sin(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the sine for.options - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Sin(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Cos(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the cosine for.options - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Cos(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Asin(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the inverse sine for.options - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Asin(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Acos(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the inverse cosine for.options - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Acos(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Tan(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the tangent for.options - [in] arithmetic options (enable/disable overflow checking), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Tan(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Atan(@Const @ByRef Datum arg, ExecContext ctx)
arg - [in] The values to compute the inverse tangent for.ctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Atan(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Atan2(@Const @ByRef Datum y, @Const @ByRef Datum x, ExecContext ctx)
y - [in] The y-values to compute the inverse tangent for.x - [in] The x-values to compute the inverse tangent for.ctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Atan2(@Const @ByRef Datum y, @Const @ByRef Datum x)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Ln(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the logarithm for.options - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Ln(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Log10(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the logarithm for.options - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Log10(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Log2(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the logarithm for.options - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Log2(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Log1p(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the logarithm for.options - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Log1p(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Logb(@Const @ByRef Datum arg, @Const @ByRef Datum base, @ByVal(nullValue="arrow::compute::ArithmeticOptions()") ArithmeticOptions options, ExecContext ctx)
arg - [in] The values to compute the logarithm for.base - [in] The given base.options - [in] arithmetic options (overflow handling), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Logb(@Const @ByRef Datum arg, @Const @ByRef Datum base)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Floor(@Const @ByRef Datum arg, ExecContext ctx)
arg - [in] the value to roundctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Floor(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Ceil(@Const @ByRef Datum arg, ExecContext ctx)
arg - [in] the value to roundctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Ceil(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Trunc(@Const @ByRef Datum arg, ExecContext ctx)
arg - [in] the value to truncatectx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Trunc(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult MaxElementWise(@Const @ByRef DatumVector args, @ByVal(nullValue="arrow::compute::ElementWiseAggregateOptions::Defaults()") ElementWiseAggregateOptions options, ExecContext ctx)
args - [in] arrays or scalars to operate on.options - [in] options for handling nulls, optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult MaxElementWise(@Const @ByRef DatumVector args)
@Namespace(value="arrow::compute") @ByVal public static DatumResult MinElementWise(@Const @ByRef DatumVector args, @ByVal(nullValue="arrow::compute::ElementWiseAggregateOptions::Defaults()") ElementWiseAggregateOptions options, ExecContext ctx)
args - [in] arrays or scalars to operate on.options - [in] options for handling nulls, optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult MinElementWise(@Const @ByRef DatumVector args)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Sign(@Const @ByRef Datum arg, ExecContext ctx)
arg - [in] the value to extract sign fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Sign(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Round(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::RoundOptions::Defaults()") RoundOptions options, ExecContext ctx)
arg - [in] the value roundedoptions - [in] rounding options (rounding mode and number of digits), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Round(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @ByVal public static DatumResult RoundToMultiple(@Const @ByRef Datum arg, @ByVal(nullValue="arrow::compute::RoundToMultipleOptions::Defaults()") RoundToMultipleOptions options, ExecContext ctx)
arg - [in] the value to roundoptions - [in] rounding options (rounding mode and multiple), optionalctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult RoundToMultiple(@Const @ByRef Datum arg)
@Namespace(value="arrow::compute") @Deprecated @ByVal public static DatumResult Compare(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal CompareOptions options, ExecContext ctx)
left - [in] datum to compare, must be an Arrayright - [in] datum to compare, must be a Scalar of the same type than
left Datum.options - [in] compare optionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @Deprecated @ByVal public static DatumResult Compare(@Const @ByRef Datum left, @Const @ByRef Datum right, @ByVal CompareOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Invert(@Const @ByRef Datum value, ExecContext ctx)
value - [in] datum to invertctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Invert(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult And(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult And(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult KleeneAnd(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult KleeneAnd(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Or(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Or(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult KleeneOr(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult KleeneOr(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Xor(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Xor(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult AndNot(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult AndNot(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult KleeneAndNot(@Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left - [in] left operandright - [in] right operandctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult KleeneAndNot(@Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IsIn(@Const @ByRef Datum values, @Const @ByRef SetLookupOptions options, ExecContext ctx)
values that is contained in
value_set
Behaviour of nulls is governed by SetLookupOptions::skip_nulls.values - [in] array-like input to look up in value_setoptions - [in] SetLookupOptionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult IsIn(@Const @ByRef Datum values, @Const @ByRef SetLookupOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IsIn(@Const @ByRef Datum values, @Const @ByRef Datum value_set, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IsIn(@Const @ByRef Datum values, @Const @ByRef Datum value_set)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IndexIn(@Const @ByRef Datum values, @Const @ByRef SetLookupOptions options, ExecContext ctx)
values - [in] array-like inputoptions - [in] SetLookupOptionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult IndexIn(@Const @ByRef Datum values, @Const @ByRef SetLookupOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IndexIn(@Const @ByRef Datum values, @Const @ByRef Datum value_set, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IndexIn(@Const @ByRef Datum values, @Const @ByRef Datum value_set)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IsValid(@Const @ByRef Datum values, ExecContext ctx)
values that is not null,
false otherwisevalues - [in] input to examine for validityctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult IsValid(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IsNull(@Const @ByRef Datum values, @ByVal(nullValue="arrow::compute::NullOptions::Defaults()") NullOptions options, ExecContext ctx)
values that is null,
false otherwisevalues - [in] input to examine for nullityoptions - [in] NullOptionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult IsNull(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IsNan(@Const @ByRef Datum values, ExecContext ctx)
values that is NaN,
false otherwisevalues - [in] input to look for NaNctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult IsNan(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult IfElse(@Const @ByRef Datum cond, @Const @ByRef Datum left, @Const @ByRef Datum right, ExecContext ctx)
left or right
depending on cond. null values in cond will be promoted to the resultcond - [in] Boolean condition Scalar/ Arrayleft - [in] Scalar/ Arrayright - [in] Scalar/ Arrayctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult IfElse(@Const @ByRef Datum cond, @Const @ByRef Datum left, @Const @ByRef Datum right)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CaseWhen(@Const @ByRef Datum cond, @Const @ByRef DatumVector cases, ExecContext ctx)
cond - [in] Conditions (Boolean)cases - [in] Values (any type), along with an optional 'else' value.ctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult CaseWhen(@Const @ByRef Datum cond, @Const @ByRef DatumVector cases)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Year(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract year fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Year(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Month(@Const @ByRef Datum values, ExecContext ctx)
values.
Month is encoded as January=1, December=12values - [in] input to extract month fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Month(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Day(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract day fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Day(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult DayOfWeek(@Const @ByRef Datum values, @ByVal(nullValue="arrow::compute::DayOfWeekOptions()") DayOfWeekOptions options, ExecContext ctx)
values.
By default week starts on Monday denoted by 0 and ends on Sunday denoted
by 6. Start day of the week (Monday=1, Sunday=7) and numbering base (0 or 1) can be
set using DayOfWeekOptionsvalues - [in] input to extract number of the day of the week fromoptions - [in] for setting start of the week and day numberingctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult DayOfWeek(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult DayOfYear(@Const @ByRef Datum values, ExecContext ctx)
values.
January 1st maps to day number 1, February 1st to 32, etc.values - [in] input to extract number of day of the year fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult DayOfYear(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ISOYear(@Const @ByRef Datum values, ExecContext ctx)
values.
First week of an ISO year has the majority (4 or more) of its days in January.values - [in] input to extract ISO year fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult ISOYear(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ISOWeek(@Const @ByRef Datum values, ExecContext ctx)
values.
First ISO week has the majority (4 or more) of its days in January.
ISO week starts on Monday. Year can have 52 or 53 weeks.
Week numbering can start with 1.values - [in] input to extract ISO week of year fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult ISOWeek(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult USWeek(@Const @ByRef Datum values, ExecContext ctx)
values.
First US week has the majority (4 or more) of its days in January.
US week starts on Sunday. Year can have 52 or 53 weeks.
Week numbering starts with 1.values - [in] input to extract US week of year fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult USWeek(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Week(@Const @ByRef Datum values, @ByVal(nullValue="arrow::compute::WeekOptions()") WeekOptions options, ExecContext ctx)
values.
First ISO week has the majority (4 or more) of its days in January.
Year can have 52 or 53 weeks. Week numbering can start with 0 or 1
depending on DayOfWeekOptions.count_from_zero.values - [in] input to extract week of year fromoptions - [in] for setting numbering startctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Week(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ISOCalendar(@Const @ByRef Datum values, ExecContext ctx)
values.
ISO week starts on Monday denoted by 1 and ends on Sunday denoted by 7.values - [in] input to ISO calendar struct fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult ISOCalendar(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Quarter(@Const @ByRef Datum values, ExecContext ctx)
values
First quarter maps to 1 and fourth quarter maps to 4.values - [in] input to extract quarter of year fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Quarter(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Hour(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract hour fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Hour(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Minute(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract minutes fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Minute(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Second(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract seconds fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Second(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Millisecond(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract milliseconds fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Millisecond(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Microsecond(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract microseconds fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Microsecond(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Nanosecond(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract nanoseconds fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Nanosecond(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Subsecond(@Const @ByRef Datum values, ExecContext ctx)
valuesvalues - [in] input to extract subsecond fromctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Subsecond(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Strftime(@Const @ByRef Datum values, @ByVal StrftimeOptions options, ExecContext ctx)
StrftimeOptions::format and to the locale specifier Strftime::locale.values - [in] input timestampsoptions - [in] for setting format string and localectx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Strftime(@Const @ByRef Datum values, @ByVal StrftimeOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult AssumeTimezone(@Const @ByRef Datum values, @ByVal AssumeTimezoneOptions options, ExecContext ctx)
valuesvalues - [in] input to convertoptions - [in] for setting source timezone, exception and ambiguous timestamp
handling.ctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult AssumeTimezone(@Const @ByRef Datum values, @ByVal AssumeTimezoneOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Filter(@Const @ByRef Datum values, @Const @ByRef Datum filter, @Const @ByRef(nullValue="arrow::compute::FilterOptions::Defaults()") FilterOptions options, ExecContext ctx)
\brief Filter with a boolean selection filter The output will be populated with values from the input at positions where the selection filter is not 0. Nulls in the filter will be handled based on options.null_selection_behavior. For example given values = ["a", "b", "c", null, "e", "f"] and filter = [0, 1, 1, 0, null, 1], the output will be (null_selection_behavior == DROP) = ["b", "c", "f"] (null_selection_behavior == EMIT_NULL) = ["b", "c", null, "f"]
values - [in] array to filterfilter - [in] indicates which values should be filtered outoptions - [in] configures null_selection_behaviorctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Filter(@Const @ByRef Datum values, @Const @ByRef Datum filter)
@Namespace(value="arrow::compute::internal") @Cast(value="int64_t") public static long GetFilterOutputSize(@Const @ByRef ArrayData filter, FilterOptions.NullSelectionBehavior null_selection)
@Namespace(value="arrow::compute::internal") @Cast(value="int64_t") public static long GetFilterOutputSize(@Const @ByRef ArrayData filter, @Cast(value="arrow::compute::FilterOptions::NullSelectionBehavior") int null_selection)
@Namespace(value="arrow::compute::internal") @ByVal public static ArrayDataResult GetTakeIndices(@Const @ByRef ArrayData filter, FilterOptions.NullSelectionBehavior null_selection, MemoryPool memory_pool)
@Namespace(value="arrow::compute::internal") @ByVal public static ArrayDataResult GetTakeIndices(@Const @ByRef ArrayData filter, FilterOptions.NullSelectionBehavior null_selection)
@Namespace(value="arrow::compute::internal") @ByVal public static ArrayDataResult GetTakeIndices(@Const @ByRef ArrayData filter, @Cast(value="arrow::compute::FilterOptions::NullSelectionBehavior") int null_selection, MemoryPool memory_pool)
@Namespace(value="arrow::compute::internal") @ByVal public static ArrayDataResult GetTakeIndices(@Const @ByRef ArrayData filter, @Cast(value="arrow::compute::FilterOptions::NullSelectionBehavior") int null_selection)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ReplaceWithMask(@Const @ByRef Datum values, @Const @ByRef Datum mask, @Const @ByRef Datum replacements, ExecContext ctx)
replacements.values - [in] Array input to replacemask - [in] Array or Scalar of Boolean mask valuesreplacements - [in] The replacement values to draw from. There must
be as many replacement values as true values in the mask.ctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult ReplaceWithMask(@Const @ByRef Datum values, @Const @ByRef Datum mask, @Const @ByRef Datum replacements)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Take(@Const @ByRef Datum values, @Const @ByRef Datum indices, @Const @ByRef(nullValue="arrow::compute::TakeOptions::Defaults()") TakeOptions options, ExecContext ctx)
values - [in] datum from which to takeindices - [in] which values to takeoptions - [in] optionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Take(@Const @ByRef Datum values, @Const @ByRef Datum indices)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult Take(@Const @ByRef Array values, @Const @ByRef Array indices, @Const @ByRef(nullValue="arrow::compute::TakeOptions::Defaults()") TakeOptions options, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult Take(@Const @ByRef Array values, @Const @ByRef Array indices)
@Namespace(value="arrow::compute") @ByVal public static DatumResult DropNull(@Const @ByRef Datum values, ExecContext ctx)
values - [in] datum from which to takectx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult DropNull(@Const @ByRef Datum values)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult DropNull(@Const @ByRef Array values, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult DropNull(@Const @ByRef Array values)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult NthToIndices(@Const @ByRef Array values, @Cast(value="int64_t") long n, ExecContext ctx)
values - [in] array to be partitionedn - [in] pivot array around sorted n-th elementctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult NthToIndices(@Const @ByRef Array values, @Cast(value="int64_t") long n)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult NthToIndices(@Const @ByRef Array values, @Const @ByRef PartitionNthOptions options, ExecContext ctx)
values - [in] array to be partitionedoptions - [in] options including pivot index and null handlingctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult NthToIndices(@Const @ByRef Array values, @Const @ByRef PartitionNthOptions options)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SelectKUnstable(@Const @ByRef Datum datum, @Const @ByRef SelectKOptions options, ExecContext ctx)
k elements.
Perform an indirect sort of the datum, keeping only the first k elements. The output
array will contain indices such that the item indicated by the k-th index will be in
the position it would be if the datum were sorted by options.sort_keys. However,
indices of null values will not be part of the output. The sort is not guaranteed to
be stable.datum - [in] datum to be partitionedoptions - [in] optionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult SelectKUnstable(@Const @ByRef Datum datum, @Const @ByRef SelectKOptions options)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Array array, arrow.SortOrder order, ExecContext ctx)
array - [in] array to sortorder - [in] ascending or descendingctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Array array)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Array array, @Cast(value="arrow::compute::SortOrder") int order, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Array array, @Const @ByRef ArraySortOptions options, ExecContext ctx)
array - [in] array to sortoptions - [in] options including sort order and null handlingctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Array array, @Const @ByRef ArraySortOptions options)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef ChunkedArray chunked_array, arrow.SortOrder order, ExecContext ctx)
chunked_array - [in] chunked array to sortorder - [in] ascending or descendingctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef ChunkedArray chunked_array)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef ChunkedArray chunked_array, @Cast(value="arrow::compute::SortOrder") int order, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef ChunkedArray chunked_array, @Const @ByRef ArraySortOptions options, ExecContext ctx)
chunked_array - [in] chunked array to sortoptions - [in] options including sort order and null handlingctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef ChunkedArray chunked_array, @Const @ByRef ArraySortOptions options)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Datum datum, @Const @ByRef SortOptions options, ExecContext ctx)
datum - [in] array, chunked array, record batch or table to sortoptions - [in] optionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult SortIndices(@Const @ByRef Datum datum, @Const @ByRef SortOptions options)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult Unique(@Const @ByRef Datum datum, ExecContext ctx)
datum - [in] array-like inputctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult Unique(@Const @ByRef Datum datum)
@Namespace(value="arrow::compute") @MemberGetter public static byte kValuesFieldName(int i)
@Namespace(value="arrow::compute") @MemberGetter public static String kValuesFieldName()
@Namespace(value="arrow::compute") @MemberGetter public static byte kCountsFieldName(int i)
@Namespace(value="arrow::compute") @MemberGetter public static String kCountsFieldName()
@Namespace(value="arrow::compute") @MemberGetter public static int kValuesFieldIndex()
@Namespace(value="arrow::compute") @MemberGetter public static int kCountsFieldIndex()
@Namespace(value="arrow::compute") @ByVal public static StructArrayResult ValueCounts(@Const @ByRef Datum value, ExecContext ctx)
value - [in] array-like inputctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static StructArrayResult ValueCounts(@Const @ByRef Datum value)
@Namespace(value="arrow::compute") @ByVal public static DatumResult DictionaryEncode(@Const @ByRef Datum data, @Const @ByRef(nullValue="arrow::compute::DictionaryEncodeOptions::Defaults()") DictionaryEncodeOptions options, ExecContext ctx)
data - [in] array-like inputctx - [in] the function execution context, optionaloptions - [in] configures null encoding behavior@Namespace(value="arrow::compute") @ByVal public static DatumResult DictionaryEncode(@Const @ByRef Datum data)
@Namespace(value="arrow::compute") @Deprecated @ByVal public static ArrayResult SortToIndices(@Const @ByRef Array values, ExecContext ctx)
@Namespace(value="arrow::compute") @Deprecated @ByVal public static ArrayResult SortToIndices(@Const @ByRef Array values)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher SameTypeId(@Cast(value="arrow::Type::type") int type_id)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher TimestampTypeUnit(TimeUnit.type unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher TimestampTypeUnit(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher Time32TypeUnit(TimeUnit.type unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher Time32TypeUnit(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher Time64TypeUnit(TimeUnit.type unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher Time64TypeUnit(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher DurationTypeUnit(TimeUnit.type unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher DurationTypeUnit(@Cast(value="arrow::TimeUnit::type") int unit)
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher Integer()
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher BinaryLike()
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher LargeBinaryLike()
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher FixedSizeBinaryLike()
@Namespace(value="arrow::compute::match") @SharedPtr public static TypeMatcher Primitive()
@Namespace(value="arrow::compute") @Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef Expression l, @Const @ByRef Expression r)
@Namespace(value="arrow::compute") @Cast(value="bool") @Name(value="operator !=") public static boolean notEquals(@Const @ByRef Expression l, @Const @ByRef Expression r)
@Namespace(value="arrow::compute") @ByVal public static Expression literal(@ByVal Datum lit)
@Namespace(value="arrow::compute") @ByVal public static Expression field_ref(@ByVal FieldRef ref)
@Namespace(value="arrow::compute") @ByVal public static Expression call(@StdString String function, @StdVector Expression arguments, @SharedPtr FunctionOptions options)
@Namespace(value="arrow::compute") @ByVal public static Expression call(@StdString String function, @StdVector Expression arguments)
@Namespace(value="arrow::compute") @ByVal public static Expression call(@StdString BytePointer function, @StdVector Expression arguments, @SharedPtr FunctionOptions options)
@Namespace(value="arrow::compute") @ByVal public static Expression call(@StdString BytePointer function, @StdVector Expression arguments)
@Namespace(value="arrow::compute") @StdVector public static FieldRef FieldsInExpression(@Const @ByRef Expression arg0)
@Namespace(value="arrow::compute") @Cast(value="bool") public static boolean ExpressionHasFieldRefs(@Const @ByRef Expression arg0)
@Namespace(value="arrow::compute") @ByVal public static ExpressionResult Canonicalize(@ByVal Expression arg0, ExecContext arg1)
Weak canonicalization which establishes guarantees for subsequent passes. Even equivalent Expressions may result in different canonicalized expressions. TODO this could be a strong canonicalization
@Namespace(value="arrow::compute") @ByVal public static ExpressionResult Canonicalize(@ByVal Expression arg0)
@Namespace(value="arrow::compute") @ByVal public static ExpressionResult FoldConstants(@ByVal Expression arg0)
@Namespace(value="arrow::compute") @ByVal public static ExpressionResult SimplifyWithGuarantee(@ByVal Expression arg0, @Const @ByRef Expression guaranteed_true_predicate)
true. For example, this is
used to remove redundant function calls from a filter expression or to replace a
reference to a constant-value field with a literal.@Namespace(value="arrow::compute") @ByVal public static ExecBatchResult MakeExecBatch(@Const @ByRef Schema full_schema, @Const @ByRef Datum partial)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ExecuteScalarExpression(@Const @ByRef Expression arg0, @Const @ByRef ExecBatch input, ExecContext arg2)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ExecuteScalarExpression(@Const @ByRef Expression arg0, @Const @ByRef ExecBatch input)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ExecuteScalarExpression(@Const @ByRef Expression arg0, @Const @ByRef Schema full_schema, @Const @ByRef Datum partial_input, ExecContext arg3)
@Namespace(value="arrow::compute") @ByVal public static DatumResult ExecuteScalarExpression(@Const @ByRef Expression arg0, @Const @ByRef Schema full_schema, @Const @ByRef Datum partial_input)
@Namespace(value="arrow::compute") @ByVal public static BufferResult Serialize(@Const @ByRef Expression arg0)
@Namespace(value="arrow::compute") @ByVal public static ExpressionResult Deserialize(@SharedPtr ArrowBuffer arg0)
@Namespace(value="arrow::compute") @ByVal public static Expression project(@StdVector Expression values, @ByVal StringVector names)
@Namespace(value="arrow::compute") @ByVal public static Expression equal(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression not_equal(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression less(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression less_equal(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression greater(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression greater_equal(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression is_null(@ByVal Expression lhs, @Cast(value="bool") boolean nan_is_null)
@Namespace(value="arrow::compute") @ByVal public static Expression is_null(@ByVal Expression lhs)
@Namespace(value="arrow::compute") @ByVal public static Expression is_valid(@ByVal Expression lhs)
@Namespace(value="arrow::compute") @ByVal public static Expression and_(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression and_(@StdVector Expression arg0)
@Namespace(value="arrow::compute") @ByVal public static Expression or_(@ByVal Expression lhs, @ByVal Expression rhs)
@Namespace(value="arrow::compute") @ByVal public static Expression or_(@StdVector Expression arg0)
@Namespace(value="arrow::compute") @ByVal public static Expression not_(@ByVal Expression operand)
@Namespace(value="arrow::compute") @MemberGetter @Cast(value="const int64_t") public static long kDefaultExecChunksize()
@Namespace(value="arrow::compute") public static ExecContext default_exec_context()
@Namespace(value="arrow::compute") @Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef ExecBatch l, @Const @ByRef ExecBatch r)
@Namespace(value="arrow::compute") @Cast(value="bool") @Name(value="operator !=") public static boolean notEquals(@Const @ByRef ExecBatch l, @Const @ByRef ExecBatch r)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString String func_name, @Const @ByRef DatumVector args, @Const FunctionOptions options, ExecContext ctx)
\brief One-shot invoker for all types of functions. Does kernel dispatch, argument checking, iteration of ChunkedArray inputs, and wrapping of outputs.
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString String func_name, @Const @ByRef DatumVector args, @Const FunctionOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString BytePointer func_name, @Const @ByRef DatumVector args, @Const FunctionOptions options, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString BytePointer func_name, @Const @ByRef DatumVector args, @Const FunctionOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString String func_name, @Const @ByRef DatumVector args, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString String func_name, @Const @ByRef DatumVector args)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString BytePointer func_name, @Const @ByRef DatumVector args, ExecContext ctx)
@Namespace(value="arrow::compute") @ByVal public static DatumResult CallFunction(@StdString BytePointer func_name, @Const @ByRef DatumVector args)
@Namespace(value="arrow::compute") public static void PrintTo(@Const @ByRef FunctionOptions arg0, @Cast(value="std::ostream*") Pointer arg1)
@Namespace(value="arrow::compute::detail") @Const public static Kernel DispatchExactImpl(@Const Function func, @Const @ByRef ValueDescrVector arg1)
@Namespace(value="arrow::compute::detail") @ByVal public static Status NoMatchingKernel(@Const Function func, @Const @ByRef ValueDescrVector arg1)
@Namespace(value="arrow::compute") @Cast(value="bool") public static boolean CanCast(@Const @ByRef DataType from_type, @Const @ByRef DataType to_type)
@Namespace(value="arrow::compute") @ByVal public static ArrayResult Cast(@Const @ByRef Array value, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType to_type, @Const @ByRef(nullValue="arrow::compute::CastOptions::Safe()") CastOptions options, ExecContext ctx)
value - [in] array to castto_type - [in] type to cast tooptions - [in] casting optionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static ArrayResult Cast(@Const @ByRef Array value, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType to_type)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Cast(@Const @ByRef Datum value, @Const @ByRef CastOptions options, ExecContext ctx)
value - [in] array to castoptions - [in] casting options. The "to_type" field must be populatedctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Cast(@Const @ByRef Datum value, @Const @ByRef CastOptions options)
@Namespace(value="arrow::compute") @ByVal public static DatumResult Cast(@Const @ByRef Datum value, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType to_type, @Const @ByRef(nullValue="arrow::compute::CastOptions::Safe()") CastOptions options, ExecContext ctx)
value - [in] datum to castto_type - [in] type to cast tooptions - [in] casting optionsctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumResult Cast(@Const @ByRef Datum value, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType to_type)
@Namespace(value="arrow::compute") @ByVal public static DatumVectorResult Cast(@ByVal DatumVector values, @ByVal ValueDescrVector descrs, ExecContext ctx)
values - [in] datums to castdescrs - [in] ValueDescrs to cast toctx - [in] the function execution context, optional@Namespace(value="arrow::compute") @ByVal public static DatumVectorResult Cast(@ByVal DatumVector values, @ByVal ValueDescrVector descrs)
@Namespace(value="arrow::compute") public static FunctionRegistry GetFunctionRegistry()
@Namespace(value="arrow::ipc") @ByVal public static DictionaryVectorResult CollectDictionaries(@Const @ByRef RecordBatch batch, @Const @ByRef DictionaryFieldMapper mapper)
@Namespace(value="arrow::ipc") @ByVal public static Status ResolveDictionaries(@Const @ByRef ArrayDataVector columns, @Const @ByRef DictionaryMemo memo, MemoryPool pool)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status CollectDictionaries(@Const @ByRef RecordBatch batch, DictionaryMemo memo)
@Namespace(value="arrow::ipc::feather") @MemberGetter public static int kFeatherV1Version()
@Namespace(value="arrow::ipc::feather") @MemberGetter public static int kFeatherV2Version()
@Namespace(value="arrow::ipc::feather") @ByVal public static Status WriteTable(@Const @ByRef Table table, OutputStream dst, @Const @ByRef(nullValue="arrow::ipc::feather::WriteProperties::Defaults()") WriteProperties properties)
@Namespace(value="arrow::ipc::feather") @ByVal public static Status WriteTable(@Const @ByRef Table table, OutputStream dst)
@Namespace(value="arrow::ipc::internal::json") @ByVal public static Status ArrayFromJSON(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType arg0, @StdString String json, @SharedPtr Array out)
@Namespace(value="arrow::ipc::internal::json") @ByVal public static Status ArrayFromJSON(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType arg0, @StdString BytePointer json, @SharedPtr Array out)
@Namespace(value="arrow::ipc") @MemberGetter public static int kMaxNestingDepth()
@Namespace(value="arrow::ipc") @StdString public static String FormatMessageType(arrow.MessageType type)
@Namespace(value="arrow::ipc") @StdString public static BytePointer FormatMessageType(@Cast(value="arrow::ipc::MessageType") int type)
@Namespace(value="arrow::ipc") @ByVal public static MessageUniqueResult ReadMessage(@Cast(value="const int64_t") long offset, int metadata_length, RandomAccessFile file)
offset - [in] the position in the file where the message starts. The
first 4 bytes after the offset are the message lengthmetadata_length - [in] the total number of bytes to read from filefile - [in] the seekable file interface to read from@Namespace(value="arrow::ipc") @ByVal public static MessageFuture ReadMessageAsync(@Cast(value="const int64_t") long offset, int metadata_length, @Cast(value="const int64_t") long body_length, RandomAccessFile file, @Const @ByRef(nullValue="arrow::io::IOContext(arrow::io::default_io_context())") IOContext context)
@Namespace(value="arrow::ipc") @ByVal public static MessageFuture ReadMessageAsync(@Cast(value="const int64_t") long offset, int metadata_length, @Cast(value="const int64_t") long body_length, RandomAccessFile file)
@Namespace(value="arrow::ipc") @ByVal public static Status AlignStream(InputStream stream, int alignment)
stream - [in] an input streamalignment - [in] the byte multiple for the metadata prefix, usually 8
or 64, to ensure the body starts on a multiple of that alignment@Namespace(value="arrow::ipc") @ByVal public static Status AlignStream(InputStream stream)
@Namespace(value="arrow::ipc") @ByVal public static Status AlignStream(OutputStream stream, int alignment)
stream - [in] an output streamalignment - [in] the byte multiple for the metadata prefix, usually 8
or 64, to ensure the body starts on a multiple of that alignment@Namespace(value="arrow::ipc") @ByVal public static Status AlignStream(OutputStream stream)
@Namespace(value="arrow::ipc") @ByVal public static Status CheckAligned(FileInterface stream, int alignment)
@Namespace(value="arrow::ipc") @ByVal public static Status CheckAligned(FileInterface stream)
@Namespace(value="arrow::ipc") @ByVal public static MessageUniqueResult ReadMessage(InputStream stream, MemoryPool pool)
stream - [in] an input streampool - [in] an optional MemoryPool to copy metadata on the CPU, if required@Namespace(value="arrow::ipc") @ByVal public static MessageUniqueResult ReadMessage(InputStream stream)
@Namespace(value="arrow::ipc") @ByVal public static Status DecodeMessage(MessageDecoder decoder, InputStream stream)
decoder - [in] a decoderstream - [in] an input stream@Namespace(value="arrow::ipc") @ByVal public static SchemaResult ReadSchema(InputStream stream, DictionaryMemo dictionary_memo)
stream - [in] an InputStreamdictionary_memo - [in] for recording dictionary-encoded fields@Namespace(value="arrow::ipc") @ByVal public static SchemaResult ReadSchema(@Const @ByRef Message message, DictionaryMemo dictionary_memo)
message - [in] the message containing the Schema IPC metadatadictionary_memo - [in] DictionaryMemo for recording dictionary-encoded
fields. Can be nullptr if you are sure there are no
dictionary-encoded fields@Namespace(value="arrow::ipc") @ByVal public static RecordBatchResult ReadRecordBatch(@Const @SharedPtr @ByRef Schema schema, @Const DictionaryMemo dictionary_memo, @Const @ByRef IpcReadOptions options, InputStream stream)
schema - [in] the record batch schemadictionary_memo - [in] DictionaryMemo which has any
dictionaries. Can be nullptr if you are sure there are no
dictionary-encoded fieldsoptions - [in] IPC options for readingstream - [in] the file where the batch is located@Namespace(value="arrow::ipc") @ByVal public static RecordBatchResult ReadRecordBatch(@Const @ByRef Message message, @Const @SharedPtr @ByRef Schema schema, @Const DictionaryMemo dictionary_memo, @Const @ByRef IpcReadOptions options)
message - [in] a Message containing the record batch metadataschema - [in] the record batch schemadictionary_memo - [in] DictionaryMemo which has any
dictionaries. Can be nullptr if you are sure there are no
dictionary-encoded fieldsoptions - [in] IPC options for reading@Namespace(value="arrow::ipc") @ByVal public static RecordBatchResult ReadRecordBatch(@Const @ByRef ArrowBuffer metadata, @Const @SharedPtr @ByRef Schema schema, @Const DictionaryMemo dictionary_memo, @Const @ByRef IpcReadOptions options, RandomAccessFile file)
metadata - [in] a Message containing the record batch metadataschema - [in] the record batch schemadictionary_memo - [in] DictionaryMemo which has any
dictionaries. Can be nullptr if you are sure there are no
dictionary-encoded fieldsfile - [in] a random access fileoptions - [in] options for deserialization@Namespace(value="arrow::ipc") @ByVal public static TensorResult ReadTensor(InputStream file)
file - [in] an InputStream pointed at the start of the message@Namespace(value="arrow::ipc") @ByVal public static TensorResult ReadTensor(@Const @ByRef Message message)
message - [in] a Message containing the tensor metadata and body@Namespace(value="arrow::ipc") @ByVal public static SparseTensorResult ReadSparseTensor(InputStream file)
file - [in] an InputStream pointed at the start of the message@Namespace(value="arrow::ipc") @ByVal public static SparseTensorResult ReadSparseTensor(@Const @ByRef Message message)
message - [in] a Message containing the tensor metadata and body@Namespace(value="arrow::ipc::internal") @ByVal public static SizeTResult ReadSparseTensorBodyBufferCount(@Const @ByRef ArrowBuffer metadata)
metadata - [in] a Buffer containing the sparse tensor metadata@Namespace(value="arrow::ipc::internal") @ByVal public static SparseTensorResult ReadSparseTensorPayload(@Const @ByRef IpcPayload payload)
payload - [in] a IpcPayload contains a serialized SparseTensor@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcStream(@Cast(value="const uint8_t*") BytePointer data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcStream(@Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcStream(@Cast(value="const uint8_t*") byte[] data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcTensorStream(@Cast(value="const uint8_t*") BytePointer data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcTensorStream(@Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcTensorStream(@Cast(value="const uint8_t*") byte[] data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcFile(@Cast(value="const uint8_t*") BytePointer data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcFile(@Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc::internal") @ByVal public static Status FuzzIpcFile(@Cast(value="const uint8_t*") byte[] data, @Cast(value="int64_t") long size)
@Namespace(value="arrow::ipc") @ByVal public static RecordBatchWriterSharedResult MakeStreamWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options)
Create a new IPC stream writer from stream sink and schema. User is responsible for closing the actual OutputStream.
sink - [in] output stream to write toschema - [in] the schema of the record batches to be writtenoptions - [in] options for serialization@Namespace(value="arrow::ipc") @ByVal public static RecordBatchWriterSharedResult MakeStreamWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema)
@Namespace(value="arrow::ipc") @ByVal public static RecordBatchWriterSharedResult MakeFileWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
sink - [in] output stream to write toschema - [in] the schema of the record batches to be writtenoptions - [in] options for serialization, optionalmetadata - [in] custom metadata for File Footer, optional@Namespace(value="arrow::ipc") @ByVal public static RecordBatchWriterSharedResult MakeFileWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema)
@Namespace(value="arrow::ipc") @Deprecated @ByVal public static RecordBatchWriterSharedResult NewStreamWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options)
@Namespace(value="arrow::ipc") @Deprecated @ByVal public static RecordBatchWriterSharedResult NewStreamWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema)
@Namespace(value="arrow::ipc") @Deprecated @ByVal public static RecordBatchWriterSharedResult NewFileWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
@Namespace(value="arrow::ipc") @Deprecated @ByVal public static RecordBatchWriterSharedResult NewFileWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema)
@Namespace(value="arrow::ipc") @ByVal public static Status WriteRecordBatch(@Const @ByRef RecordBatch batch, @Cast(value="int64_t") long buffer_start_offset, OutputStream dst, IntPointer metadata_length, @Cast(value="int64_t*") LongPointer body_length, @Const @ByRef IpcWriteOptions options)
batch - [in] the record batch to writebuffer_start_offset - [in] the start offset to use in the buffer metadata,
generally should be 0dst - [in] an OutputStreammetadata_length - [out] the size of the length-prefixed flatbuffer
including padding to a 64-byte boundarybody_length - [out] the size of the contiguous buffer block plusoptions - [in] options for serialization@Namespace(value="arrow::ipc") @ByVal public static Status WriteRecordBatch(@Const @ByRef RecordBatch batch, @Cast(value="int64_t") long buffer_start_offset, OutputStream dst, IntBuffer metadata_length, @Cast(value="int64_t*") LongBuffer body_length, @Const @ByRef IpcWriteOptions options)
@Namespace(value="arrow::ipc") @ByVal public static Status WriteRecordBatch(@Const @ByRef RecordBatch batch, @Cast(value="int64_t") long buffer_start_offset, OutputStream dst, int[] metadata_length, @Cast(value="int64_t*") long[] body_length, @Const @ByRef IpcWriteOptions options)
@Namespace(value="arrow::ipc") @ByVal public static BufferResult SerializeRecordBatch(@Const @ByRef RecordBatch batch, @Const @ByRef IpcWriteOptions options)
batch - [in] the record batchoptions - [in] the IpcWriteOptions to use for serialization@Namespace(value="arrow::ipc") @ByVal public static BufferResult SerializeRecordBatch(@Const @ByRef RecordBatch batch, @SharedPtr MemoryManager mm)
batch - [in] the record batchmm - [in] a MemoryManager to allocate memory from@Namespace(value="arrow::ipc") @ByVal public static Status SerializeRecordBatch(@Const @ByRef RecordBatch batch, @Const @ByRef IpcWriteOptions options, OutputStream out)
batch - [in] the record batch to writeoptions - [in] the IpcWriteOptions to use for serializationout - [in] the OutputStream to write the output to@Namespace(value="arrow::ipc") @ByVal public static BufferResult SerializeSchema(@Const @ByRef Schema schema, MemoryPool pool)
schema - [in] the schema to writepool - [in] a MemoryPool to allocate memory from@Namespace(value="arrow::ipc") @ByVal public static BufferResult SerializeSchema(@Const @ByRef Schema schema)
@Namespace(value="arrow::ipc") @ByVal public static Status WriteRecordBatchStream(@Const @ByRef RecordBatchVector batches, @Const @ByRef IpcWriteOptions options, OutputStream dst)
batches - [in] a vector of batches. Must all have same schemaoptions - [in] options for serializationdst - [out] an OutputStream@Namespace(value="arrow::ipc") @Cast(value="int64_t") public static long GetPayloadSize(@Const @ByRef IpcPayload payload, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options)
payload - [in] the IPC payload to writeoptions - [in] write options@Namespace(value="arrow::ipc") @Cast(value="int64_t") public static long GetPayloadSize(@Const @ByRef IpcPayload payload)
@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchSize(@Const @ByRef RecordBatch batch, @Cast(value="int64_t*") LongPointer size)
batch - [in] the record batch to writesize - [out] the size of the complete encapsulated message@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchSize(@Const @ByRef RecordBatch batch, @Cast(value="int64_t*") LongBuffer size)
@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchSize(@Const @ByRef RecordBatch batch, @Cast(value="int64_t*") long[] size)
@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchSize(@Const @ByRef RecordBatch batch, @Const @ByRef IpcWriteOptions options, @Cast(value="int64_t*") LongPointer size)
batch - [in] the record batch to writeoptions - [in] options for serializationsize - [out] the size of the complete encapsulated message@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchSize(@Const @ByRef RecordBatch batch, @Const @ByRef IpcWriteOptions options, @Cast(value="int64_t*") LongBuffer size)
@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchSize(@Const @ByRef RecordBatch batch, @Const @ByRef IpcWriteOptions options, @Cast(value="int64_t*") long[] size)
@Namespace(value="arrow::ipc") @ByVal public static Status GetTensorSize(@Const @ByRef Tensor tensor, @Cast(value="int64_t*") LongPointer size)
tensor - [in] the tensor to writesize - [out] the size of the complete encapsulated message@Namespace(value="arrow::ipc") @ByVal public static Status GetTensorSize(@Const @ByRef Tensor tensor, @Cast(value="int64_t*") LongBuffer size)
@Namespace(value="arrow::ipc") @ByVal public static Status GetTensorSize(@Const @ByRef Tensor tensor, @Cast(value="int64_t*") long[] size)
@Namespace(value="arrow::ipc") @ByVal public static MessageUniqueResult GetTensorMessage(@Const @ByRef Tensor tensor, MemoryPool pool)
tensor - [in] the Tensor to writepool - [in] MemoryPool to allocate space for metadata@Namespace(value="arrow::ipc") @ByVal public static Status WriteTensor(@Const @ByRef Tensor tensor, OutputStream dst, IntPointer metadata_length, @Cast(value="int64_t*") LongPointer body_length)
<metadata size> <metadata> <tensor data>
tensor - [in] the Tensor to writedst - [in] the OutputStream to write tometadata_length - [out] the actual metadata length, including paddingbody_length - [out] the actual message body length@Namespace(value="arrow::ipc") @ByVal public static Status WriteTensor(@Const @ByRef Tensor tensor, OutputStream dst, IntBuffer metadata_length, @Cast(value="int64_t*") LongBuffer body_length)
@Namespace(value="arrow::ipc") @ByVal public static Status WriteTensor(@Const @ByRef Tensor tensor, OutputStream dst, int[] metadata_length, @Cast(value="int64_t*") long[] body_length)
@Namespace(value="arrow::ipc") @ByVal public static MessageUniqueResult GetSparseTensorMessage(@Const @ByRef SparseTensor sparse_tensor, MemoryPool pool)
<metadata size> <metadata> <sparse index> <sparse tensor body>
sparse_tensor - [in] the SparseTensor to writepool - [in] MemoryPool to allocate space for metadata@Namespace(value="arrow::ipc") @ByVal public static Status WriteSparseTensor(@Const @ByRef SparseTensor sparse_tensor, OutputStream dst, IntPointer metadata_length, @Cast(value="int64_t*") LongPointer body_length)
sparse_tensor - [in] the SparseTensor to writedst - [in] the OutputStream to write tometadata_length - [out] the actual metadata length, including paddingbody_length - [out] the actual message body length@Namespace(value="arrow::ipc") @ByVal public static Status WriteSparseTensor(@Const @ByRef SparseTensor sparse_tensor, OutputStream dst, IntBuffer metadata_length, @Cast(value="int64_t*") LongBuffer body_length)
@Namespace(value="arrow::ipc") @ByVal public static Status WriteSparseTensor(@Const @ByRef SparseTensor sparse_tensor, OutputStream dst, int[] metadata_length, @Cast(value="int64_t*") long[] body_length)
@Namespace(value="arrow::ipc") @ByVal public static Status GetSchemaPayload(@Const @ByRef Schema schema, @Const @ByRef IpcWriteOptions options, @Const @ByRef DictionaryFieldMapper mapper, IpcPayload out)
schema - [in] the Schema that is being serializedoptions - [in] options for serializationmapper - [in] object mapping dictionary fields to dictionary idsout - [out] the returned vector of IpcPayloads@Namespace(value="arrow::ipc") @ByVal public static Status GetDictionaryPayload(@Cast(value="int64_t") long id, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array dictionary, @Const @ByRef IpcWriteOptions options, IpcPayload payload)
id - [in] the dictionary iddictionary - [in] the dictionary valuesoptions - [in] options for serializationpayload - [out] the output IpcPayload@Namespace(value="arrow::ipc") @ByVal public static Status GetDictionaryPayload(@Cast(value="int64_t") long id, @Cast(value="bool") boolean is_delta, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array dictionary, @Const @ByRef IpcWriteOptions options, IpcPayload payload)
id - [in] the dictionary idis_delta - [in] whether the dictionary is a delta dictionarydictionary - [in] the dictionary valuesoptions - [in] options for serializationpayload - [out] the output IpcPayload@Namespace(value="arrow::ipc") @ByVal public static Status GetRecordBatchPayload(@Const @ByRef RecordBatch batch, @Const @ByRef IpcWriteOptions options, IpcPayload out)
batch - [in] the RecordBatch that is being serializedoptions - [in] options for serializationout - [out] the returned IpcPayload@Namespace(value="arrow::ipc") @ByVal public static Status WriteIpcPayload(@Const @ByRef IpcPayload payload, @Const @ByRef IpcWriteOptions options, OutputStream dst, IntPointer metadata_length)
payload - [in] the payload to writeoptions - [in] options for serializationdst - [in] The stream to write the payload to.metadata_length - [out] the length of the serialized metadata@Namespace(value="arrow::ipc") @ByVal public static Status WriteIpcPayload(@Const @ByRef IpcPayload payload, @Const @ByRef IpcWriteOptions options, OutputStream dst, IntBuffer metadata_length)
@Namespace(value="arrow::ipc") @ByVal public static Status WriteIpcPayload(@Const @ByRef IpcPayload payload, @Const @ByRef IpcWriteOptions options, OutputStream dst, int[] metadata_length)
@Namespace(value="arrow::ipc") @ByVal public static Status GetSparseTensorPayload(@Const @ByRef SparseTensor sparse_tensor, MemoryPool pool, IpcPayload out)
sparse_tensor - [in] the SparseTensor that is being serializedpool - [in,out] for any required temporary memory allocationsout - [out] the returned IpcPayload@Namespace(value="arrow::ipc::internal") @ByVal public static IpcPayloadWriterResult MakePayloadStreamWriter(OutputStream sink, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options)
sink - [in] output stream to write tooptions - [in] options for serialization@Namespace(value="arrow::ipc::internal") @ByVal public static IpcPayloadWriterResult MakePayloadStreamWriter(OutputStream sink)
@Namespace(value="arrow::ipc::internal") @ByVal public static IpcPayloadWriterResult MakePayloadFileWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options, @SharedPtr @Cast(value={"const arrow::KeyValueMetadata*","std::shared_ptr<const arrow::KeyValueMetadata>"}) KeyValueMetadata metadata)
sink - [in] output stream to write toschema - [in] the schema of the record batches to be writtenoptions - [in] options for serialization, optionalmetadata - [in] custom metadata for File Footer, optional@Namespace(value="arrow::ipc::internal") @ByVal public static IpcPayloadWriterResult MakePayloadFileWriter(OutputStream sink, @Const @SharedPtr @ByRef Schema schema)
@Namespace(value="arrow::ipc::internal") @ByVal public static RecordBatchWriterUniqueResult OpenRecordBatchWriter(@UniquePtr IpcPayloadWriter sink, @Const @SharedPtr @ByRef Schema schema, @Const @ByRef(nullValue="arrow::ipc::IpcWriteOptions::Defaults()") IpcWriteOptions options)
sink - [in] the IpcPayloadWriter to write toschema - [in] the schema of the record batches to be writtenoptions - [in] options for serialization@Namespace(value="arrow::ipc::internal") @ByVal public static RecordBatchWriterUniqueResult OpenRecordBatchWriter(@UniquePtr IpcPayloadWriter sink, @Const @SharedPtr @ByRef Schema schema)
Copyright © 2022. All rights reserved.