UnknownType class final

A placeholder type that Polars has not yet resolved. Descriptor-only.

Inheritance
  • Object
  • DType
  • UnknownType

Constructors

UnknownType.any()
Creates an unknown type that may resolve to any type.
const
UnknownType.float()
Creates an unknown float type.
const
UnknownType.fromJson(Map<String, Object?> json)
Decodes an unknown type from its protocol JSON form.
factory
UnknownType.integer(BigInt value)
Creates an unknown integer type carrying the literal value.
factory
UnknownType.string()
Creates an unknown string type.
const

Properties

capabilities → DTypeCapabilities
The operations that this binding supports for this type.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
kind → String
The protocol name of this type, such as int64 or list.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unknownKind → UnknownKind
Which kind of unresolved type this is.
final
value → BigInt?
The integer literal for UnknownKind.integer, otherwise null.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Encodes this descriptor in the native protocol JSON form.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited