Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
|
Top-level namespace for Apache Arrow C++ API. More...
Namespaces | |
adapters | |
compute | |
gpu | |
io | |
ipc | |
meta | |
py | |
stl | |
util | |
Classes | |
class | AdaptiveIntBuilder |
class | AdaptiveUIntBuilder |
class | Array |
Array base type Immutable data array with some logical type and some length. More... | |
class | ArrayBuilder |
Base class for all data array builders. More... | |
class | ArrayData |
Mutable container for generic Arrow array data. More... | |
class | ArrayVisitor |
class | BinaryArray |
class | BinaryBuilder |
Builder class for variable-length binary data. More... | |
class | BinaryDictionaryBuilder |
class | BinaryType |
class | BitReader |
Utility class to read bit/byte stream. More... | |
class | BitWriter |
Utility class to write bit/byte streams. More... | |
class | BooleanArray |
class | BooleanBuilder |
class | BooleanType |
class | BrotliCodec |
class | Buffer |
Object containing a pointer to a piece of contiguous memory with a particular size. More... | |
class | BufferBuilder |
A class for incrementally building a contiguous chunk of in-memory data. More... | |
class | ChunkedArray |
A data structure managing a list of primitive Arrow arrays logically as one large array. More... | |
class | Codec |
class | Column |
An immutable column data structure consisting of a field (type metadata) and a chunked data array. More... | |
struct | Compression |
class | CpuInfo |
CpuInfo is an interface to query for cpu information at runtime. More... | |
class | DataType |
class | Date32Type |
Date as int32_t days since UNIX epoch. More... | |
class | Date64Type |
Date as int64_t milliseconds since UNIX epoch. More... | |
class | DateType |
struct | Decimal |
class | Decimal128 |
Represents a signed 128-bit integer in two's complement. More... | |
class | Decimal128Array |
class | Decimal128Builder |
class | Decimal128Type |
class | DecimalType |
class | DictionaryArray |
class | DictionaryBuilder |
Array builder for created encoded DictionaryArray from dense array. More... | |
class | DictionaryBuilder< NullType > |
class | DictionaryType |
class | DoubleType |
class | Field |
class | FixedSizeBinaryArray |
class | FixedSizeBinaryBuilder |
class | FixedSizeBinaryType |
class | FixedWidthType |
class | FlatArray |
class | FloatingPoint |
class | FloatType |
class | GZipCodec |
class | HalfFloatType |
class | HashUtil |
Utility class to compute hash values. More... | |
class | Int16Type |
class | Int32Type |
class | Int64Type |
class | Int8Type |
class | Integer |
class | IntervalType |
struct | IsFloatingPoint |
struct | IsInteger |
struct | IsNumeric |
struct | IsOneOf |
Metafunction to allow checking if a type matches any of another set of types. More... | |
struct | IsOneOf< T, U, Args... > |
Base case: nothing has matched. More... | |
struct | IsSignedInt |
struct | IsUnsignedInt |
class | KeyValueMetadata |
class | ListArray |
class | ListBuilder |
Builder class for variable-length list array value types. More... | |
class | ListType |
class | LoggingMemoryPool |
class | Lz4Codec |
class | MemoryPool |
Base class for memory allocation. More... | |
class | MutableBuffer |
A Buffer whose contents can be mutated. More... | |
class | NestedType |
class | NoExtraMeta |
class | NullArray |
Degenerate null type Array. More... | |
class | NullBuilder |
class | NullType |
class | Number |
class | NumericArray |
class | NumericBuilder |
Base class for all Builders that emit an Array of a scalar numerical type. More... | |
class | NumericTensor |
class | ParametricType |
A superclass for types having additional metadata. More... | |
class | PoolBuffer |
A Buffer whose lifetime is tied to a particular MemoryPool. More... | |
struct | PrettyPrintOptions |
class | PrimitiveArray |
Base class for fixed-size logical types. More... | |
class | PrimitiveBuilder |
class | PrimitiveCType |
class | RecordBatch |
Collection of equal-length arrays matching a particular Schema. More... | |
class | RecordBatchBuilder |
Helper class for creating record batches iteratively given a known schema. More... | |
class | RecordBatchReader |
Abstract interface for reading stream of record batches. More... | |
class | ResizableBuffer |
A mutable buffer that can be resized. More... | |
class | RleDecoder |
Utility classes to do run length encoding (RLE) for fixed bit width values. More... | |
class | RleEncoder |
Class to incrementally build the rle data. More... | |
class | Schema |
Sequence of arrow::Field objects describing the columns of a record batch or table data structure. More... | |
class | SnappyCodec |
class | Status |
class | stl_allocator |
class | StringArray |
class | StringBuilder |
Builder class for UTF8 strings. More... | |
class | StringDictionaryBuilder |
Dictionary array builder with convenience methods for strings. More... | |
class | StringType |
class | StructArray |
class | StructBuilder |
Append, Resize and Reserve methods are acting on StructBuilder. More... | |
class | StructType |
class | Table |
Logical table as sequence of chunked arrays. More... | |
class | TableBatchReader |
Compute a sequence of record batches from a (possibly chunked) Table. More... | |
class | Tensor |
class | Time32Type |
class | Time64Type |
class | TimestampType |
class | TimeType |
struct | TimeUnit |
struct | Type |
Main data type enumeration. More... | |
class | TypedBufferBuilder |
struct | TypeTraits |
struct | TypeTraits< BinaryType > |
struct | TypeTraits< BooleanType > |
struct | TypeTraits< Date32Type > |
struct | TypeTraits< Date64Type > |
struct | TypeTraits< Decimal128Type > |
struct | TypeTraits< DictionaryType > |
struct | TypeTraits< DoubleType > |
struct | TypeTraits< FixedSizeBinaryType > |
struct | TypeTraits< FloatType > |
struct | TypeTraits< HalfFloatType > |
struct | TypeTraits< Int16Type > |
struct | TypeTraits< Int32Type > |
struct | TypeTraits< Int64Type > |
struct | TypeTraits< Int8Type > |
struct | TypeTraits< ListType > |
struct | TypeTraits< NullType > |
struct | TypeTraits< StringType > |
struct | TypeTraits< StructType > |
struct | TypeTraits< Time32Type > |
struct | TypeTraits< Time64Type > |
struct | TypeTraits< TimestampType > |
struct | TypeTraits< UInt16Type > |
struct | TypeTraits< UInt32Type > |
struct | TypeTraits< UInt64Type > |
struct | TypeTraits< UInt8Type > |
struct | TypeTraits< UnionType > |
class | TypeVisitor |
class | UInt16Type |
class | UInt32Type |
class | UInt64Type |
class | UInt8Type |
class | UnionArray |
struct | UnionMode |
class | UnionType |
class | ZSTDCodec |
Enumerations | |
enum | StatusCode : char { StatusCode::OK = 0, StatusCode::OutOfMemory = 1, StatusCode::KeyError = 2, StatusCode::TypeError = 3, StatusCode::Invalid = 4, StatusCode::IOError = 5, StatusCode::UnknownError = 9, StatusCode::NotImplemented = 10, StatusCode::SerializationError = 11, StatusCode::PythonError = 12, StatusCode::PlasmaObjectExists = 20, StatusCode::PlasmaObjectNonexistent = 21, StatusCode::PlasmaStoreFull = 22 } |
enum | DateUnit : char { DateUnit::DAY = 0, DateUnit::MILLI = 1 } |
Functions | |
template<class T1 , class T2 > | |
bool | operator== (const stl_allocator< T1 > &lhs, const stl_allocator< T2 > &rhs) noexcept |
template<class T1 , class T2 > | |
bool | operator!= (const stl_allocator< T1 > &lhs, const stl_allocator< T2 > &rhs) noexcept |
std::shared_ptr< Array > | MakeArray (const std::shared_ptr< ArrayData > &data) |
Create a strongly-typed Array instance from generic ArrayData. More... | |
Status | ValidateArray (const Array &array) |
Perform any validation checks to determine obvious inconsistencies with the array's internal data. More... | |
std::shared_ptr< Buffer > | SliceMutableBuffer (const std::shared_ptr< Buffer > &buffer, const int64_t offset, const int64_t length) |
Construct a mutable buffer slice. More... | |
Status | AllocateBuffer (MemoryPool *pool, const int64_t size, std::shared_ptr< Buffer > *out) |
Allocate a fixed size mutable buffer from a memory pool. More... | |
Status | AllocateResizableBuffer (MemoryPool *pool, const int64_t size, std::shared_ptr< ResizableBuffer > *out) |
Allocate resizeable buffer from a memory pool. More... | |
Status | MakeBuilder (MemoryPool *pool, const std::shared_ptr< DataType > &type, std::unique_ptr< ArrayBuilder > *out) |
bool | ArrayEquals (const Array &left, const Array &right) |
Returns true if the arrays are exactly equal. More... | |
bool | TensorEquals (const Tensor &left, const Tensor &right) |
bool | ArrayApproxEquals (const Array &left, const Array &right) |
Returns true if the arrays are approximately equal. More... | |
bool | ArrayRangeEquals (const Array &left, const Array &right, int64_t start_idx, int64_t end_idx, int64_t other_start_idx) |
Returns true if indicated equal-length segment of arrays is exactly equal. More... | |
bool | TypeEquals (const DataType &left, const DataType &right) |
Returns true if the type metadata are exactly equal. More... | |
MemoryPool * | default_memory_pool () |
Status | PrettyPrint (const RecordBatch &batch, int indent, std::ostream *sink) |
Print human-readable representation of RecordBatch. More... | |
Status | PrettyPrint (const Array &arr, int indent, std::ostream *sink) |
Print human-readable representation of Array. More... | |
Status | PrettyPrint (const Schema &schema, const PrettyPrintOptions &options, std::ostream *sink) |
Status | PrettyPrint (const Schema &schema, const PrettyPrintOptions &options, std::string *result) |
Status | DebugPrint (const Array &arr, int indent) |
Status | ConcatenateTables (const std::vector< std::shared_ptr< Table >> &tables, std::shared_ptr< Table > *table) |
Construct table from multiple input tables. More... | |
std::ostream & | operator<< (std::ostream &os, const DataType &type) |
std::shared_ptr< DataType > | fixed_size_binary (int32_t byte_width) |
Make an instance of FixedSizeBinaryType. More... | |
std::shared_ptr< DataType > | decimal (int32_t precision, int32_t scale) |
Make an instance of DecimalType. More... | |
std::shared_ptr< DataType > | list (const std::shared_ptr< Field > &value_type) |
Make an instance of ListType. More... | |
std::shared_ptr< DataType > | list (const std::shared_ptr< DataType > &value_type) |
Make an instance of ListType. More... | |
std::shared_ptr< DataType > | timestamp (TimeUnit::type unit) |
Make an instance of TimestampType. More... | |
std::shared_ptr< DataType > | timestamp (TimeUnit::type unit, const std::string &timezone) |
Make an instance of TimestampType. More... | |
std::shared_ptr< DataType > | time32 (TimeUnit::type unit) |
Create an instance of 32-bit time type Unit can be either SECOND or MILLI. More... | |
std::shared_ptr< DataType > | time64 (TimeUnit::type unit) |
Create an instance of 64-bit time type Unit can be either MICRO or NANO. More... | |
std::shared_ptr< DataType > | struct_ (const std::vector< std::shared_ptr< Field >> &fields) |
Create an instance of Struct type. More... | |
std::shared_ptr< DataType > | union_ (const std::vector< std::shared_ptr< Field >> &child_fields, const std::vector< uint8_t > &type_codes, UnionMode::type mode=UnionMode::SPARSE) |
Create an instance of Union type. More... | |
std::shared_ptr< DataType > | union_ (const std::vector< std::shared_ptr< Array >> &children, UnionMode::type mode=UnionMode::SPARSE) |
Create and instance of Union type. More... | |
std::shared_ptr< DataType > | dictionary (const std::shared_ptr< DataType > &index_type, const std::shared_ptr< Array > &values, bool ordered=false) |
Create an instance of Dictionary type. More... | |
std::shared_ptr< Field > | field (const std::string &name, const std::shared_ptr< DataType > &type, bool nullable=true, const std::shared_ptr< const KeyValueMetadata > &metadata=NULLPTR) |
Create a Field instance. More... | |
std::shared_ptr< Schema > | schema (const std::vector< std::shared_ptr< Field >> &fields, const std::shared_ptr< const KeyValueMetadata > &metadata=NULLPTR) |
Create a Schema instance. More... | |
std::shared_ptr< Schema > | schema (std::vector< std::shared_ptr< Field >> &&fields, const std::shared_ptr< const KeyValueMetadata > &metadata=NULLPTR) |
Create a Schema instance. More... | |
std::shared_ptr< DataType > | null () |
std::shared_ptr< DataType > | boolean () |
std::shared_ptr< DataType > | int8 () |
std::shared_ptr< DataType > | int16 () |
std::shared_ptr< DataType > | int32 () |
std::shared_ptr< DataType > | int64 () |
std::shared_ptr< DataType > | uint8 () |
std::shared_ptr< DataType > | uint16 () |
std::shared_ptr< DataType > | uint32 () |
std::shared_ptr< DataType > | uint64 () |
std::shared_ptr< DataType > | float16 () |
std::shared_ptr< DataType > | float32 () |
std::shared_ptr< DataType > | float64 () |
std::shared_ptr< DataType > | utf8 () |
std::shared_ptr< DataType > | binary () |
std::shared_ptr< DataType > | date32 () |
std::shared_ptr< DataType > | date64 () |
std::shared_ptr< DataType > | decimal_type (int precision, int scale) |
Status | GetEmptyBitmap (MemoryPool *pool, int64_t length, std::shared_ptr< Buffer > *result) |
Status | CopyBitmap (MemoryPool *pool, const uint8_t *bitmap, int64_t offset, int64_t length, std::shared_ptr< Buffer > *out) |
Copy a bit range of an existing bitmap. More... | |
int64_t | CountSetBits (const uint8_t *data, int64_t bit_offset, int64_t length) |
Compute the number of 1's in the given data array. More... | |
bool | BitmapEquals (const uint8_t *left, int64_t left_offset, const uint8_t *right, int64_t right_offset, int64_t bit_length) |
bool | operator== (const Decimal128 &left, const Decimal128 &right) |
bool | operator!= (const Decimal128 &left, const Decimal128 &right) |
bool | operator< (const Decimal128 &left, const Decimal128 &right) |
bool | operator<= (const Decimal128 &left, const Decimal128 &right) |
bool | operator> (const Decimal128 &left, const Decimal128 &right) |
bool | operator>= (const Decimal128 &left, const Decimal128 &right) |
Decimal128 | operator- (const Decimal128 &operand) |
Decimal128 | operator~ (const Decimal128 &operand) |
Decimal128 | operator+ (const Decimal128 &left, const Decimal128 &right) |
Decimal128 | operator- (const Decimal128 &left, const Decimal128 &right) |
Decimal128 | operator* (const Decimal128 &left, const Decimal128 &right) |
Decimal128 | operator/ (const Decimal128 &left, const Decimal128 &right) |
Decimal128 | operator% (const Decimal128 &left, const Decimal128 &right) |
template<class FUNCTION > | |
Status | ParallelFor (int nthreads, int num_tasks, FUNCTION &&func) |
template<typename VISITOR > | |
Status | VisitTypeInline (const DataType &type, VISITOR *visitor) |
template<typename VISITOR > | |
Status | VisitArrayInline (const Array &array, VISITOR *visitor) |
Variables | |
constexpr int64_t | kUnknownNullCount = -1 |
NumericArray< Int8Type > | |
NumericArray< UInt8Type > | |
NumericArray< Int16Type > | |
NumericArray< UInt16Type > | |
NumericArray< Int32Type > | |
NumericArray< UInt32Type > | |
NumericArray< Int64Type > | |
NumericArray< UInt64Type > | |
NumericArray< HalfFloatType > | |
NumericArray< FloatType > | |
NumericArray< DoubleType > | |
NumericArray< Date32Type > | |
NumericArray< Date64Type > | |
NumericArray< Time32Type > | |
NumericArray< Time64Type > | |
NumericArray< TimestampType > | |
constexpr int64_t | kBinaryMemoryLimit = std::numeric_limits<int32_t>::max() - 1 |
constexpr int64_t | kListMaximumElements = std::numeric_limits<int32_t>::max() - 1 |
constexpr int64_t | kMinBuilderCapacity = 1 << 5 |
Top-level namespace for Apache Arrow C++ API.
using arrow::ArrayVector = typedef std::vector<std::shared_ptr<Array> > |
using arrow::BufferVector = typedef std::vector<std::shared_ptr<Buffer> > |
using arrow::Date32Array = typedef NumericArray<Date32Type> |
typedef NumericBuilder< Date32Type > arrow::Date32Builder |
using arrow::Date64Array = typedef NumericArray<Date64Type> |
typedef NumericBuilder< Date64Type > arrow::Date64Builder |
using arrow::DecimalArray = typedef Decimal128Array |
using arrow::DecimalBuilder = typedef Decimal128Builder |
using arrow::DoubleBuilder = typedef NumericBuilder<DoubleType> |
using arrow::EnableIfIsOneOf = typedef typename std::enable_if<IsOneOf<T, Args...>::value, T>::type |
Shorthand for using IsOneOf + std::enable_if.
using arrow::FloatBuilder = typedef NumericBuilder<FloatType> |
using arrow::HalfFloatBuilder = typedef NumericBuilder<HalfFloatType> |
typedef int32_t arrow::hash_slot_t |
using arrow::Int16Builder = typedef NumericBuilder<Int16Type> |
using arrow::Int32Builder = typedef NumericBuilder<Int32Type> |
using arrow::Int64Builder = typedef NumericBuilder<Int64Type> |
using arrow::Int8Builder = typedef NumericBuilder<Int8Type> |
using arrow::IntervalArray = typedef NumericArray<IntervalType> |
using arrow::Time32Array = typedef NumericArray<Time32Type> |
typedef NumericBuilder< Time32Type > arrow::Time32Builder |
using arrow::Time64Array = typedef NumericArray<Time64Type> |
typedef NumericBuilder< Time64Type > arrow::Time64Builder |
using arrow::TimestampArray = typedef NumericArray<TimestampType> |
typedef NumericBuilder< TimestampType > arrow::TimestampBuilder |
using arrow::TypePtr = typedef std::shared_ptr<DataType> |
using arrow::UInt16Builder = typedef NumericBuilder<UInt16Type> |
using arrow::UInt32Builder = typedef NumericBuilder<UInt32Type> |
using arrow::UInt64Builder = typedef NumericBuilder<UInt64Type> |
using arrow::UInt8Builder = typedef NumericBuilder<UInt8Type> |
|
strong |
|
strong |
Status arrow::AllocateBuffer | ( | MemoryPool * | pool, |
const int64_t | size, | ||
std::shared_ptr< Buffer > * | out | ||
) |
Allocate a fixed size mutable buffer from a memory pool.
[in] | pool | a memory pool |
[in] | size | size of buffer to allocate |
[out] | out | the allocated buffer (contains padding) |
Status arrow::AllocateResizableBuffer | ( | MemoryPool * | pool, |
const int64_t | size, | ||
std::shared_ptr< ResizableBuffer > * | out | ||
) |
Allocate resizeable buffer from a memory pool.
[in] | pool | a memory pool |
[in] | size | size of buffer to allocate |
[out] | out | the allocated buffer |
Returns true if the arrays are approximately equal.
For non-floating point types, this is equivalent to ArrayEquals(left, right)
Returns true if the arrays are exactly equal.
bool arrow::ArrayRangeEquals | ( | const Array & | left, |
const Array & | right, | ||
int64_t | start_idx, | ||
int64_t | end_idx, | ||
int64_t | other_start_idx | ||
) |
Returns true if indicated equal-length segment of arrays is exactly equal.
std::shared_ptr<DataType> arrow::binary | ( | ) |
bool arrow::BitmapEquals | ( | const uint8_t * | left, |
int64_t | left_offset, | ||
const uint8_t * | right, | ||
int64_t | right_offset, | ||
int64_t | bit_length | ||
) |
std::shared_ptr<DataType> arrow::boolean | ( | ) |
Status arrow::ConcatenateTables | ( | const std::vector< std::shared_ptr< Table >> & | tables, |
std::shared_ptr< Table > * | table | ||
) |
Construct table from multiple input tables.
Status arrow::CopyBitmap | ( | MemoryPool * | pool, |
const uint8_t * | bitmap, | ||
int64_t | offset, | ||
int64_t | length, | ||
std::shared_ptr< Buffer > * | out | ||
) |
Copy a bit range of an existing bitmap.
[in] | pool | memory pool to allocate memory from |
[in] | bitmap | source data |
[in] | offset | bit offset into the source data |
[in] | length | number of bits to copy |
[out] | out | the resulting copy |
int64_t arrow::CountSetBits | ( | const uint8_t * | data, |
int64_t | bit_offset, | ||
int64_t | length | ||
) |
Compute the number of 1's in the given data array.
[in] | data | a packed LSB-ordered bitmap as a byte array |
[in] | bit_offset | a bitwise offset into the bitmap |
[in] | length | the number of bits to inspect in the bitmap relative to the offset |
std::shared_ptr<DataType> arrow::date32 | ( | ) |
std::shared_ptr<DataType> arrow::date64 | ( | ) |
std::shared_ptr<DataType> arrow::decimal | ( | int32_t | precision, |
int32_t | scale | ||
) |
Make an instance of DecimalType.
std::shared_ptr<DataType> arrow::decimal_type | ( | int | precision, |
int | scale | ||
) |
MemoryPool* arrow::default_memory_pool | ( | ) |
std::shared_ptr<DataType> arrow::dictionary | ( | const std::shared_ptr< DataType > & | index_type, |
const std::shared_ptr< Array > & | values, | ||
bool | ordered = false |
||
) |
Create an instance of Dictionary type.
std::shared_ptr<Field> arrow::field | ( | const std::string & | name, |
const std::shared_ptr< DataType > & | type, | ||
bool | nullable = true , |
||
const std::shared_ptr< const KeyValueMetadata > & | metadata = NULLPTR |
||
) |
Create a Field instance.
name | the field name |
type | the field value type |
nullable | whether the values are nullable, default true |
metadata | any custom key-value metadata, default null |
std::shared_ptr<DataType> arrow::fixed_size_binary | ( | int32_t | byte_width | ) |
Make an instance of FixedSizeBinaryType.
std::shared_ptr<DataType> arrow::float16 | ( | ) |
std::shared_ptr<DataType> arrow::float32 | ( | ) |
std::shared_ptr<DataType> arrow::float64 | ( | ) |
Status arrow::GetEmptyBitmap | ( | MemoryPool * | pool, |
int64_t | length, | ||
std::shared_ptr< Buffer > * | result | ||
) |
std::shared_ptr<DataType> arrow::int16 | ( | ) |
std::shared_ptr<DataType> arrow::int32 | ( | ) |
std::shared_ptr<DataType> arrow::int64 | ( | ) |
std::shared_ptr<DataType> arrow::int8 | ( | ) |
Make an instance of ListType.
Make an instance of ListType.
Status arrow::MakeBuilder | ( | MemoryPool * | pool, |
const std::shared_ptr< DataType > & | type, | ||
std::unique_ptr< ArrayBuilder > * | out | ||
) |
std::shared_ptr<DataType> arrow::null | ( | ) |
|
noexcept |
bool arrow::operator!= | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
Decimal128 arrow::operator% | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
Decimal128 arrow::operator* | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
Decimal128 arrow::operator+ | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
Decimal128 arrow::operator- | ( | const Decimal128 & | operand | ) |
Decimal128 arrow::operator- | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
Decimal128 arrow::operator/ | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
bool arrow::operator< | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
|
inline |
bool arrow::operator<= | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
|
noexcept |
bool arrow::operator== | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
bool arrow::operator> | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
bool arrow::operator>= | ( | const Decimal128 & | left, |
const Decimal128 & | right | ||
) |
Decimal128 arrow::operator~ | ( | const Decimal128 & | operand | ) |
Status arrow::ParallelFor | ( | int | nthreads, |
int | num_tasks, | ||
FUNCTION && | func | ||
) |
Status arrow::PrettyPrint | ( | const RecordBatch & | batch, |
int | indent, | ||
std::ostream * | sink | ||
) |
Print human-readable representation of RecordBatch.
Print human-readable representation of Array.
Status arrow::PrettyPrint | ( | const Schema & | schema, |
const PrettyPrintOptions & | options, | ||
std::ostream * | sink | ||
) |
Status arrow::PrettyPrint | ( | const Schema & | schema, |
const PrettyPrintOptions & | options, | ||
std::string * | result | ||
) |
std::shared_ptr<Schema> arrow::schema | ( | const std::vector< std::shared_ptr< Field >> & | fields, |
const std::shared_ptr< const KeyValueMetadata > & | metadata = NULLPTR |
||
) |
std::shared_ptr<Schema> arrow::schema | ( | std::vector< std::shared_ptr< Field >> && | fields, |
const std::shared_ptr< const KeyValueMetadata > & | metadata = NULLPTR |
||
) |
std::shared_ptr<Buffer> arrow::SliceMutableBuffer | ( | const std::shared_ptr< Buffer > & | buffer, |
const int64_t | offset, | ||
const int64_t | length | ||
) |
Construct a mutable buffer slice.
If the parent buffer is not mutable, this will abort in debug builds
Create an instance of Struct type.
std::shared_ptr<DataType> arrow::time32 | ( | TimeUnit::type | unit | ) |
Create an instance of 32-bit time type Unit can be either SECOND or MILLI.
std::shared_ptr<DataType> arrow::time64 | ( | TimeUnit::type | unit | ) |
Create an instance of 64-bit time type Unit can be either MICRO or NANO.
std::shared_ptr<DataType> arrow::timestamp | ( | TimeUnit::type | unit | ) |
Make an instance of TimestampType.
std::shared_ptr<DataType> arrow::timestamp | ( | TimeUnit::type | unit, |
const std::string & | timezone | ||
) |
Make an instance of TimestampType.
Returns true if the type metadata are exactly equal.
std::shared_ptr<DataType> arrow::uint16 | ( | ) |
std::shared_ptr<DataType> arrow::uint32 | ( | ) |
std::shared_ptr<DataType> arrow::uint64 | ( | ) |
std::shared_ptr<DataType> arrow::uint8 | ( | ) |
std::shared_ptr<DataType> arrow::union_ | ( | const std::vector< std::shared_ptr< Field >> & | child_fields, |
const std::vector< uint8_t > & | type_codes, | ||
UnionMode::type | mode = UnionMode::SPARSE |
||
) |
Create an instance of Union type.
std::shared_ptr<DataType> arrow::union_ | ( | const std::vector< std::shared_ptr< Array >> & | children, |
UnionMode::type | mode = UnionMode::SPARSE |
||
) |
Create and instance of Union type.
std::shared_ptr<DataType> arrow::utf8 | ( | ) |
|
inline |
|
inline |
constexpr int64_t arrow::kBinaryMemoryLimit = std::numeric_limits<int32_t>::max() - 1 |
constexpr int64_t arrow::kListMaximumElements = std::numeric_limits<int32_t>::max() - 1 |
constexpr int64_t arrow::kMinBuilderCapacity = 1 << 5 |
constexpr int64_t arrow::kUnknownNullCount = -1 |