Namespaces | |
namespace | LayoutBuilder |
namespace | util |
Classes | |
class | ArrayBuilder |
User interface to the Builder system: the ArrayBuilder is a fixed reference while the Builder subclass instances change in response to accumulating data. More... | |
class | BoolBuilder |
Builder node that accumulates boolean values. More... | |
class | BuffersContainer |
Abstract class to represent the output of ak.to_buffers. In Python, this would be a dict of NumPy arrays. More... | |
class | Builder |
Abstract base class for nodes within an ArrayBuilder that cumulatively discover an array's type and fill it. More... | |
class | Complex128Builder |
Builder node that accumulates real numbers (double ). More... | |
class | DatetimeBuilder |
Builder node that accumulates integers (int64_t ). More... | |
class | FileLikeObject |
Abstract class to represent a file-like object, something with a read(num_bytes) method. Satisfies RapidJSON's Stream interface. More... | |
class | Float64Builder |
Builder node that accumulates real numbers (double ). More... | |
class | ForthInputBuffer |
HERE. More... | |
class | ForthMachineOf |
class | ForthOutputBuffer |
HERE. More... | |
class | ForthOutputBufferOf |
class | FromJsonObjectSchema |
class | GrowableBuffer |
Discontiguous, one-dimensional buffer (which consists of multiple contiguous, one-dimensional panels) that can grow indefinitely by calling append. More... | |
class | Int64Builder |
Builder node that accumulates integers (int64_t ). More... | |
struct | is_specialization |
struct | is_specialization< Ref< Args... >, Ref > |
class | ListBuilder |
Builder node that accumulates lists. More... | |
class | OptionBuilder |
Builder node that accumulates data with missing values (None ). More... | |
class | Options |
Container for all configuration options needed by ArrayBuilder, GrowableBuffer, LayoutBuilder and the Builder subclasses. More... | |
class | Panel |
class | RecordBuilder |
Builder node for accumulated records. More... | |
class | StringBuilder |
Builder node that accumulates strings. More... | |
class | TupleBuilder |
Builder node for accumulated tuples. More... | |
class | UnionBuilder |
Builder node for accumulated heterogeneous data. More... | |
class | UnknownBuilder |
Builder node for accumulated data whose type is not yet known. More... | |
class | visit_impl |
Class to index tuple at runtime. More... | |
struct | visit_impl< 0 > |
INDEX reached 0 , which means the runtime index did not exist in the tuple. More... | |
struct | voider |
Typedefs | |
using | BuilderPtr = std::shared_ptr<Builder> |
using | ForthMachine32 = ForthMachineOf<int32_t, int32_t> |
using | ForthMachine64 = ForthMachineOf<int64_t, int32_t> |
using | BuilderOptions = Options<int64_t, double> |
template<template< class... > class TT, class T > | |
using | is_tt = decltype(is_tt_impl<TT>(std::declval<typename std::decay<T>::type>())) |
template<typename... T> | |
using | void_t = typename voider<T...>::type |
Functions | |
template<typename T > | |
void | byteswap16 (int64_t num_items, T &value) |
HERE. | |
template<typename T > | |
void | byteswap32 (int64_t num_items, T &value) |
HERE. | |
template<typename T > | |
void | byteswap64 (int64_t num_items, T &value) |
HERE. | |
template<typename T > | |
void | byteswap_intp (int64_t num_items, T &value) |
HERE. | |
EXPORT_SYMBOL void | fromjsonobject (FileLikeObject *source, ArrayBuilder &builder, int64_t buffersize, bool read_one, const char *nan_string=nullptr, const char *posinf_string=nullptr, const char *neginf_string=nullptr) |
Parses a JSON-encoded file-like object using an ArrayBuilder. | |
template<template< class... > class TT, class... Args> | |
std::true_type | is_tt_impl (TT< Args... >) |
template<template< class... > class TT> | |
std::false_type | is_tt_impl (...) |
template<typename T > | |
const std::string | type_to_name () |
Returns the name of a primitive type as a string. | |
template<> | |
const std::string | type_to_name< bool > () |
template<> | |
const std::string | type_to_name< char > () |
template<typename T > | |
const std::string | type_to_numpy_like () |
Returns char string when the primitive type is a character. | |
template<> | |
const std::string | type_to_numpy_like< uint8_t > () |
Returns numpy-like character code of a primitive type as a string. | |
template<> | |
const std::string | type_to_numpy_like< int8_t > () |
Returns numpy-like character code i8 , when the primitive type is an 8-bit signed integer. | |
template<> | |
const std::string | type_to_numpy_like< uint32_t > () |
Returns numpy-like character code u32 , when the primitive type is a 32-bit unsigned integer. | |
template<> | |
const std::string | type_to_numpy_like< int32_t > () |
Returns numpy-like character code i32 , when the primitive type is a 32-bit signed integer. | |
template<> | |
const std::string | type_to_numpy_like< int64_t > () |
Returns numpy-like character code i64 , when the primitive type is a 64-bit signed integer. | |
template<typename T , typename OFFSETS > | |
std::string | type_to_form (int64_t form_key_id) |
Generates a Form, which is a unique description of the Layout Builder and its contents in the form of a JSON-like string. | |
template<typename T > | |
bool | is_awkward_type () |
Check if an RDataFrame column is an Awkward Array. | |
template<typename FUNCTION , typename... CONTENTs> | |
void | visit_at (std::tuple< CONTENTs... > const &contents, size_t index, FUNCTION fun) |
Visits the tuple contents at index . | |
template<typename FUNCTION , typename... CONTENTs> | |
void | visit_at (std::tuple< CONTENTs... > &contents, size_t index, FUNCTION fun) |
Visits the tuple contents at index . | |
template<typename LayoutBuilder > | |
std::vector< std::string > | buffer_name_helper (const LayoutBuilder *builder) |
Helper function to retrieve the names of the buffers. | |
template<typename LayoutBuilder > | |
std::vector< size_t > | buffer_size_helper (const LayoutBuilder *builder) |
Helper function to retrieve the sizes (in bytes) of the buffers. | |
template<typename LayoutBuilder > | |
size_t | num_buffers_helper (const LayoutBuilder *builder) |
Helper function to retrieve the number of the buffers. | |
Variables | |
template<class T > | |
constexpr bool | is_integral_v = std::is_integral<T>::value |
template<class T > | |
constexpr bool | is_signed_v = std::is_signed<T>::value |
template<class T , class U > | |
constexpr bool | is_same_v = std::is_same<T, U>::value |
template<typename , typename = void> | |
constexpr bool | is_iterable {} |
using BuilderOptions = Options<int64_t, double> |
typedef std::shared_ptr< Builder > BuilderPtr = std::shared_ptr<Builder> |
using ForthMachine32 = ForthMachineOf<int32_t, int32_t> |
using ForthMachine64 = ForthMachineOf<int64_t, int32_t> |
using is_tt = decltype(is_tt_impl<TT>(std::declval<typename std::decay<T>::type>())) |
std::vector< std::string > buffer_name_helper | ( | const LayoutBuilder * | builder | ) |
Helper function to retrieve the names of the buffers.
Note: use with caution, beware of a potential mismatch between retrieved values!
std::vector< size_t > buffer_size_helper | ( | const LayoutBuilder * | builder | ) |
Helper function to retrieve the sizes (in bytes) of the buffers.
Note: use with caution, beware of a potential mismatch between retrieved values!
void byteswap16 | ( | int64_t | num_items, |
T & | value ) |
HERE.
void byteswap32 | ( | int64_t | num_items, |
T & | value ) |
HERE.
void byteswap64 | ( | int64_t | num_items, |
T & | value ) |
HERE.
void byteswap_intp | ( | int64_t | num_items, |
T & | value ) |
HERE.
EXPORT_SYMBOL void fromjsonobject | ( | FileLikeObject * | source, |
ArrayBuilder & | builder, | ||
int64_t | buffersize, | ||
bool | read_one, | ||
const char * | nan_string = nullptr, | ||
const char * | posinf_string = nullptr, | ||
const char * | neginf_string = nullptr ) |
Parses a JSON-encoded file-like object using an ArrayBuilder.
source | File-like object wrapped with the FileLikeObject abstraction (borrowed reference). |
builder | To build the array. |
buffersize | Number of bytes for an intermediate buffer. |
read_one | If true, read only one JSON object (with an error if there's more); otherwise, read a stream of concatenated objects (may be separated by newlines, but we don't check). |
nan_string | User-defined string for a not-a-number (NaN) value representation in JSON format. |
infinity_string | User-defined string for a positive infinity representation in JSON format. |
minus_infinity_string | User-defined string for a negative infinity representation in JSON format. |
bool is_awkward_type | ( | ) |
Check if an RDataFrame column is an Awkward Array.
std::false_type is_tt_impl | ( | ... | ) |
std::true_type is_tt_impl | ( | TT< Args... > | ) |
size_t num_buffers_helper | ( | const LayoutBuilder * | builder | ) |
Helper function to retrieve the number of the buffers.
Note: use with caution, beware of a potential mismatch between retrieved values!
std::string type_to_form | ( | int64_t | form_key_id | ) |
|
inline |
Returns the name of a primitive type as a string.
|
inline |
|
inline |
|
inline |
Returns char
string when the primitive type is a character.
|
inline |
Returns numpy-like character code i32
, when the primitive type is a 32-bit signed integer.
|
inline |
Returns numpy-like character code i64
, when the primitive type is a 64-bit signed integer.
|
inline |
Returns numpy-like character code i8
, when the primitive type is an 8-bit signed integer.
|
inline |
Returns numpy-like character code u32
, when the primitive type is a 32-bit unsigned integer.
|
inline |
Returns numpy-like character code of a primitive type as a string.
void visit_at | ( | std::tuple< CONTENTs... > & | contents, |
size_t | index, | ||
FUNCTION | fun ) |
Visits the tuple contents at index
.
void visit_at | ( | std::tuple< CONTENTs... > const & | contents, |
size_t | index, | ||
FUNCTION | fun ) |
Visits the tuple contents at index
.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |