Base class for scalar values.
A Scalar represents a single value with a specific DataType. Scalars are useful for passing single value inputs to compute functions, or for representing individual array elements (with a non-trivial wrapping cost, though).
Subclassed by arrow::BaseListScalar, arrow::ExtensionScalar, arrow::NullScalar, arrow::RunEndEncodedScalar, arrow::StructScalar, arrow::UnionScalar, arrow::internal::PrimitiveScalarBase
Public Functions
Perform cheap validation checks.
This is O(k) where k is the number of descendents.
Perform extensive data validation checks.
This is potentially O(k*n) where k is the number of descendents and n is the length of descendents (if list scalars are involved).
Apply the ScalarVisitor::Visit() method specialized to the scalar type.
EXPERIMENTAL Enable obtaining shared_ptr<Scalar> from a const Scalar& context.
Public Members
The type of the scalar value.
Whether the value is valid (not null) or not.
Scalar factory for null scalars.
Scalar factory for non-null scalars.
Type-inferring scalar factory for non-null scalars.
Construct a Scalar instance with a DataType determined by the input C++ type. (for example Int8Scalar for a int8_t input). Only non-parametric primitive types and String are supported.
#include <arrow/scalar.h>
A scalar value for NullType. Never valid.
Public Functions
#include <arrow/scalar.h>
Public Types
Public Functions
#include <arrow/scalar.h>
Public Types
Public Functions
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Subclassed by arrow::BinaryScalar, arrow::BinaryViewScalar, arrow::LargeBinaryScalar
Public Types
Public Functions
Public Members
#include <arrow/scalar.h>
Subclassed by arrow::FixedSizeBinaryScalar, arrow::StringScalar
Public Types
Public Functions
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
Subclassed by arrow::StringViewScalar
Public Functions
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
Subclassed by arrow::LargeStringScalar
Public Functions
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
Subclassed by arrow::DateScalar< T >, arrow::IntervalScalar< T >, arrow::TimeScalar< T >
Public Types
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
Public Functions
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Subclassed by arrow::FixedSizeListScalar, arrow::LargeListScalar, arrow::LargeListViewScalar, arrow::ListScalar, arrow::ListViewScalar, arrow::MapScalar
Public Types
Public Members
#include <arrow/scalar.h>
Public Types
#include <arrow/scalar.h>
Public Types
#include <arrow/scalar.h>
Public Types
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Public Types
#include <arrow/scalar.h>
#include <arrow/scalar.h>
Public Types
Public Members
#include <arrow/scalar.h>
Subclassed by arrow::DenseUnionScalar, arrow::SparseUnionScalar
Public Functions
Public Members
#include <arrow/scalar.h>
Public Types
Public Functions
Public Static Functions
Construct a SparseUnionScalar from a single value, versus having to construct a vector of scalars.
#include <arrow/scalar.h>
Public Types
Public Functions
#include <arrow/scalar.h>
Public Functions
Constructs a NULL RunEndEncodedScalar.
#include <arrow/scalar.h>
A Scalar value for DictionaryType.
is_valid
denotes the validity of the index
, regardless of the corresponding value in the dictionary
.
Public Functions
#include <arrow/scalar.h>
Public Members
#include <arrow/scalar.h>
A Scalar value for ExtensionType.
The value is the underlying storage scalar. is_valid
must only be true if value
is non-null and value->is_valid
is true
Public Members
Abstract scalar visitor class.
Subclass this to create a visitor that can be used with the Scalar::Accept() method.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4