Loading...
Searching...
No Matches
LayoutBuilder.h File Reference
#include "awkward/BuilderOptions.h"
#include "awkward/GrowableBuffer.h"
#include "awkward/utils.h"
#include <map>
#include <algorithm>
#include <tuple>
#include <string>
#include <functional>

Go to the source code of this file.

Classes

class  BuilderSetId
 Functor for setting the ids of all nodes in a layout tree. More...
 
class  Field< ENUM, BUILDER >
 Helper class for sending a pair of field names (as enum) and field type as template parameters in Record. More...
 
class  Numpy< PRIMITIVE >
 Builds a NumpyArray which describes multi-dimensional data of PRIMITIVE type. More...
 
class  ListOffset< PRIMITIVE, BUILDER >
 Builds a ListOffsetArray which describes unequal-length lists (often called a "jagged" or "ragged" array). The underlying data for all lists are in a BUILDER content. It is subdivided into lists according to an offsets array, which specifies the starting and stopping index of each list. More...
 
class  String< PRIMITIVE >
 Helper for building an array of strings with a similar API as a Numpy builder. More...
 
class  Empty
 Builds an EmptyArray which has no content in it. It is used whenever an array's type is not known because it is empty. More...
 
class  Record< MAP, BUILDERS >
 Builds a RecordArray which represents an array of records, which can be of same or different types. Its contents is an ordered list of arrays with the same length as the length of its shortest content; all are aligned element-by-element, associating a field name to every content. More...
 
class  Record< MAP, BUILDERS >::ClearBuilder
 Clears the builder contents. More...
 
class  Record< MAP, BUILDERS >::BufferNBytesFunctor
 Retrieves the names and sizes (in bytes) of the buffers used in the builder and its contents. More...
 
class  Record< MAP, BUILDERS >::ToBuffersFunctor
 Copies and concatenates all the accumulated data in each of the buffers of the builder and its contents to user-defined pointers. More...
 
class  Record< MAP, BUILDERS >::ToBufferFunctor
 Copies and concatenates the accumulated data in the buffers of the builder contents to user-defined pointers if the given node name matches with the node associated with that builder. More...
 
class  Record< MAP, BUILDERS >::ToCharBuffersFunctor
 Copies and concatenates all the accumulated data in the builder to a map of user-allocated buffers. More...
 
class  Record< MAP, BUILDERS >::ContentsFormFunctor
 Generates a unique description of the builder and its contents in the form of a JSON-like string. More...
 
class  Tuple< BUILDERS >
 Builds a RecordArray which represents an array of tuples which can be of same or different types without field names, indexed only by their order. More...
 
class  Tuple< BUILDERS >::SetIdFunctor
 Assigns a unique ID to each node. More...
 
class  Tuple< BUILDERS >::ClearFunctor
 Clears the builder contents. More...
 
class  Tuple< BUILDERS >::BufferNBytesFunctor
 Retrieves the names and sizes (in bytes) of the buffers used in the builder and its contents. More...
 
class  Tuple< BUILDERS >::ToBuffersFunctor
 Copies and concatenates all the accumulated data in each of the buffers of the builder and its contents to user-defined pointers. More...
 
class  Tuple< BUILDERS >::ToBufferFunctor
 Copies and concatenates the accumulated data in the buffers of the builder contents to user-defined pointers if the given node name matches with the node associated with that builder. More...
 
class  Tuple< BUILDERS >::ToCharBuffersFunctor
 Copies and concatenates all the accumulated data in the builder to a map of user-allocated buffers. More...
 
class  Tuple< BUILDERS >::ContentsFormFunctor
 Generates a unique description of the builder and its contents in the form of a JSON-like string. More...
 
class  Regular< SIZE, BUILDER >
 Builds a RegularArray that describes lists that have the same length, a single integer size. Its underlying content is a flattened view of the data; that is, each list is not stored separately in memory, but is inferred as a subinterval of the underlying data. More...
 
class  Indexed< PRIMITIVE, BUILDER >
 Builds an IndexedArray which consists of an index buffer. More...
 
class  IndexedOption< PRIMITIVE, BUILDER >
 Builds an IndexedOptionArray which consists of an index buffer. The negative values in the index are interpreted as missing. More...
 
class  Unmasked< BUILDER >
 Builds an UnmaskedArray which the values are never, in fact, missing. It exists to satisfy systems that formally require this high-level type without the overhead of generating an array of all True or all False values. More...
 
class  ByteMasked< VALID_WHEN, BUILDER >
 Builds a ByteMaskedArray using a mask which is an array of booleans that determines whether the corresponding value in the contents array is valid or not. More...
 
class  BitMasked< VALID_WHEN, LSB_ORDER, BUILDER >
 Builds a BitMaskedArray in which mask values are packed into a bitmap. More...
 
class  Union< TAGS, INDEX, BUILDERS >
 Builds a UnionArray which represents data drawn from an ordered list of contents, which can have different types, using tags, which is an array of integers indicating which content each array element draws from and index, which is an array of integers indicating which element from the content to draw from. More...
 
class  Union< TAGS, INDEX, BUILDERS >::SetIdFunctor
 Assigns a unique ID to each node. More...
 
class  Union< TAGS, INDEX, BUILDERS >::ClearContentsFunctor
 Discards the accumulated tags and index, and clears the builder contents. More...
 
class  Union< TAGS, INDEX, BUILDERS >::BufferNBytesFunctor
 Retrieves the names and sizes (in bytes) of the buffers used in the builder and its contents. More...
 
class  Union< TAGS, INDEX, BUILDERS >::ToBuffersFunctor
 Copies and concatenates all the accumulated data in each of the buffers of the builder and its contents to user-defined pointers. More...
 
class  Union< TAGS, INDEX, BUILDERS >::ToBufferFunctor
 Copies and concatenates the accumulated data in the builder buffers to user-defined pointers if the given node name matches with any one of the nodes associated with the builder; otherwise, it searches the builder contents to locate a matching node. More...
 
class  Union< TAGS, INDEX, BUILDERS >::ToCharBuffersFunctor
 Copies and concatenates all the accumulated data in the builder to a map of user-allocated buffers. More...
 
class  Union< TAGS, INDEX, BUILDERS >::ContentsFormFunctor
 Generates a unique description of the builder and its contents in the form of a JSON-like string. More...
 

Namespaces

namespace  awkward
 
namespace  awkward::LayoutBuilder
 

Macros

#define AWKWARD_LAYOUTBUILDER_DEFAULT_OPTIONS   awkward::BuilderOptions(1024, 1)
 Object of BuilderOptions which sets the values of the default options.
 

Macro Definition Documentation

◆ AWKWARD_LAYOUTBUILDER_DEFAULT_OPTIONS

#define AWKWARD_LAYOUTBUILDER_DEFAULT_OPTIONS   awkward::BuilderOptions(1024, 1)

Object of BuilderOptions which sets the values of the default options.