DTypeCapabilities class final
The set of DTypeCapability levels supported for a data type.
These are static Dart-side declarations. Compare them with
Polars.nativeCapabilitiesSync when exact native support matters.
Constructors
- DTypeCapabilities({required bool descriptor, required bool literal, required bool import, required bool export, required bool cast, required bool kernels})
-
Creates a capability set with each level given explicitly.
const
- DTypeCapabilities.full()
-
Creates a capability set that supports every level.
const
Properties
- cast → bool
-
Whether values can be cast to the type.
final
- descriptor → bool
-
Whether the type can be used as a schema descriptor.
final
- export → bool
-
Whether data of the type can be exported to Arrow.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- import → bool
-
Whether Arrow data of the type can be imported.
final
- kernels → bool
-
Whether compute kernels accept the type.
final
- literal → bool
-
Whether literal values of the type can be created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
supports(
DTypeCapability capability) → bool -
Returns whether
capabilityis supported by this set. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited