class Nanoarrow::Schema

Overview

Small owning wrapper around ArrowSchema from the Arrow C Data Interface.

This MVP supports primitive field schemas. A later version should replace these helpers with direct bindings to upstream nanoarrow's ArrowSchemaInit*() and ArrowSchemaSetType*() functions.

Defined in:

nanoarrow/schema.cr

Constructors

Instance Method Summary

Constructor Detail

def self.bool(name : String | Nil = nil) : self #

[View source]
def self.float32(name : String | Nil = nil) : self #

[View source]
def self.float64(name : String | Nil = nil) : self #

[View source]
def self.int32(name : String | Nil = nil) : self #

[View source]
def self.int64(name : String | Nil = nil) : self #

[View source]
def self.new(format : String, name : String | Nil = nil) #

[View source]
def self.string(name : String | Nil = nil) : self #

[View source]
def self.uint32(name : String | Nil = nil) : self #

[View source]

Instance Method Detail

def finalize #

[View source]
def format : String | Nil #

[View source]
def name : String | Nil #

[View source]
def ptr : Pointer(LibNanoarrowBridge::ArrowSchema) #

[View source]
def release : Nil #

[View source]
def released? : Bool #

[View source]
def to_unsafe : Pointer(LibNanoarrowBridge::ArrowSchema) #

[View source]