class
Nanoarrow::BoolArray
- Nanoarrow::BoolArray
- Nanoarrow::ArrayBase(Bool)
- Reference
- Object
Defined in:
nanoarrow/array.crConstructors
Instance Method Summary
-
#to_a : Array(Bool | Nil)
Returns an
Arraywith all the elements in the collection. -
#unsafe_get(index : Int64) : Bool | Nil
Subclasses implement raw element access (index is already bounds-checked).
Instance methods inherited from class Nanoarrow::ArrayBase(Bool)
[](index : Int) : T | Nil[](range : Range) : Array(T | Nil) [], compact : Array(T) compact, each(& : T | Nil -> ) : Nil each, empty? : Bool empty?, finalize finalize, inspect(io : IO) : Nil inspect, length : Int64 length, null?(index : Int) : Bool null?, null_count : Int64 null_count, ptr : Pointer(LibNanoarrowBridge::ArrowArray) ptr, release : Nil release, released? : Bool released?, size : Int64 size, to_s(io : IO) : Nil to_s, to_unsafe : Pointer(LibNanoarrowBridge::ArrowArray) to_unsafe, unsafe_get(index : Int64) : T | Nil unsafe_get
Constructor methods inherited from class Nanoarrow::ArrayBase(Bool)
new(ptr : Pointer(LibNanoarrowBridge::ArrowArray))
new
Constructor Detail
Instance Method Detail
def to_a : Array(Bool | Nil)
#
Description copied from module Enumerable(Bool?)
Returns an Array with all the elements in the collection.
(1..5).to_a # => [1, 2, 3, 4, 5]
def unsafe_get(index : Int64) : Bool | Nil
#
Description copied from class Nanoarrow::ArrayBase(Bool)
Subclasses implement raw element access (index is already bounds-checked).