Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = struct { BooleanType func(nullable bool) Type Int8Type func(nullable bool) Type Int16Type func(nullable bool) Type Int32Type func(nullable bool) Type Int64Type func(nullable bool) Type FloatType func(nullable bool) Type DoubleType func(nullable bool) Type DateType func(nullable bool) Type StringType func(nullable bool) Type DecimalType func(p, s int32, nullable bool) Type }{ BooleanType: func(nullable bool) Type { return withNullability(&types.BooleanType{}, nullable) }, Int8Type: func(nullable bool) Type { return withNullability(&types.Int8Type{}, nullable) }, Int16Type: func(nullable bool) Type { return withNullability(&types.Int16Type{}, nullable) }, Int32Type: func(nullable bool) Type { return withNullability(&types.Int32Type{}, nullable) }, Int64Type: func(nullable bool) Type { return withNullability(&types.Int64Type{}, nullable) }, FloatType: func(nullable bool) Type { return withNullability(&types.Float32Type{}, nullable) }, DoubleType: func(nullable bool) Type { return withNullability(&types.Float64Type{}, nullable) }, DateType: func(nullable bool) Type { return withNullability(&types.DateType{}, nullable) }, StringType: func(nullable bool) Type { return withNullability(&types.StringType{}, nullable) }, DecimalType: func(p, s int32, nullable bool) Type { return withNullability(&types.DecimalType{Precision: p, Scale: s}, nullable) }, }
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema types.NamedStruct
func NewSchemaFromProto ¶
func NewSchemaFromProto(n *proto.NamedStruct) *Schema
Click to show internal directories.
Click to hide internal directories.