class
Nanoarrow::Int32Array
- Nanoarrow::Int32Array
- Nanoarrow::ArrayBase(Int32)
- Reference
- Object
Defined in:
nanoarrow/array.crConstructors
Instance Method Summary
-
#to_a : Array(Int32 | Nil)
Returns an
Arraywith all the elements in the collection. -
#unsafe_get(index : Int64) : Int32 | Nil
Subclasses implement raw element access (index is already bounds-checked).
Instance methods inherited from class Nanoarrow::ArrayBase(Int32)
[](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(Int32)
new(ptr : Pointer(LibNanoarrowBridge::ArrowArray))
new
Constructor Detail
Instance Method Detail
def to_a : Array(Int32 | Nil)
#
Description copied from module Enumerable(Int32?)
Returns an Array with all the elements in the collection.
(1..5).to_a # => [1, 2, 3, 4, 5]
def unsafe_get(index : Int64) : Int32 | Nil
#
Description copied from class Nanoarrow::ArrayBase(Int32)
Subclasses implement raw element access (index is already bounds-checked).