class
Nanoarrow::Schema
- Nanoarrow::Schema
- Reference
- Object
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.crConstructors
- .bool(name : String | Nil = nil) : self
- .float32(name : String | Nil = nil) : self
- .float64(name : String | Nil = nil) : self
- .int32(name : String | Nil = nil) : self
- .int64(name : String | Nil = nil) : self
- .new(format : String, name : String | Nil = nil)
- .string(name : String | Nil = nil) : self
- .uint32(name : String | Nil = nil) : self
Instance Method Summary
- #finalize
- #format : String | Nil
- #name : String | Nil
- #ptr : Pointer(LibNanoarrowBridge::ArrowSchema)
- #release : Nil
- #released? : Bool
- #to_unsafe : Pointer(LibNanoarrowBridge::ArrowSchema)