Documentation ¶
Index ¶
- type Field
- func (f Field) Child(i int) Field
- func (f Field) DefChild(def int) Field
- func (f Field) DefIndex(def int) int
- func (f Field) Defs() []int
- func (f Field) Len() int
- func (f Field) MaxDef() int
- func (f Field) MaxRep() uint
- func (f Field) NDefs() int
- func (f Field) NilField(i int) (string, RepetitionType, int, int)
- func (f Field) NthDef(i int) (int, RepetitionType)
- func (f Field) Optional() bool
- func (f Field) Parent(i int) Field
- func (f Field) Path() string
- func (f Field) RepCases(seen int) []RepCase
- func (f Field) RepIndex(rep int) int
- func (f Field) Repeated() bool
- func (f Field) RepetitionType() string
- func (f Field) Required() bool
- type RepCase
- type RepetitionType
- type RepetitionTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Type string FieldNames []string FieldTypes []string TypeName string FieldType string ParquetType string ColumnName string Category string RepetitionTypes []RepetitionType }
func (Field) RepetitionType ¶
type RepetitionType ¶
type RepetitionType int
const ( Required RepetitionType = 0 Optional RepetitionType = 1 Repeated RepetitionType = 2 )
type RepetitionTypes ¶
type RepetitionTypes []RepetitionType
func (RepetitionTypes) MaxDef ¶
func (r RepetitionTypes) MaxDef() uint8
func (RepetitionTypes) MaxRep ¶
func (r RepetitionTypes) MaxRep() uint8
Click to show internal directories.
Click to hide internal directories.