Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Base = func() (r types.NamedStruct) { f := entry.Fields() r.Struct.Nullability = proto.Type_NULLABILITY_REQUIRED for i := range f { x := &f[i] r.Names = append(r.Names, x.Name) all = append(all, x.Name) switch x.Type.ID() { case arrow.STRING: r.Struct.Types = append(r.Struct.Types, &types.StringType{ Nullability: proto.Type_NULLABILITY_REQUIRED, }) case arrow.INT64: r.Struct.Types = append(r.Struct.Types, &types.Int64Type{ Nullability: proto.Type_NULLABILITY_REQUIRED, }) default: must.AssertFMT(false)("unsupported field type %v", x.Type.ID()) } } return }()
Functions ¶
func Schema ¶
func Schema(fields ...string) (r types.NamedStruct)
Types ¶
type ParseResult ¶
Click to show internal directories.
Click to hide internal directories.