Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTypeStr ¶
func GetTypeStr(pT *parquet.Type, cT *parquet.ConvertedType) string
func ParquetTypeToGoTypeStr ¶
func ParquetTypeToGoTypeStr(pT *parquet.Type, cT *parquet.ConvertedType) string
Types ¶
type Node ¶
type Node struct { Indent string SE *parquet.SchemaElement Children []*Node }
func NewNode ¶
func NewNode(schema *parquet.SchemaElement) *Node
func (*Node) OutputJsonSchema ¶
type SchemaTree ¶
type SchemaTree struct {
Root *Node
}
func CreateSchemaTree ¶
func CreateSchemaTree(schemas []*parquet.SchemaElement) *SchemaTree
func (*SchemaTree) OutputJsonSchema ¶
func (self *SchemaTree) OutputJsonSchema() string
func (*SchemaTree) OutputStruct ¶
func (self *SchemaTree) OutputStruct(withTags bool) string
Click to show internal directories.
Click to hide internal directories.