Documentation ¶
Index ¶
- func CmpIntBinary(as string, bs string, order string, signed bool) bool
- func DeepCopy(src, dst interface{})
- func HeadToUpper(str string) string
- func Max(table FuncTable, a interface{}, b interface{}) interface{}
- func Min(table FuncTable, a interface{}, b interface{}) interface{}
- func NewSchemaElementFromTagMap(info *Tag) *parquet.SchemaElement
- func PathStrIndex(str string) int
- func PathToStr(path []string) string
- func SizeOf(val reflect.Value) int64
- func StrToPath(str string) []string
- func StringToVariableName(str string) string
- type FuncTable
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeadToUpper ¶
Convert the first letter of a string to uppercase
func NewSchemaElementFromTagMap ¶
func NewSchemaElementFromTagMap(info *Tag) *parquet.SchemaElement
func PathStrIndex ¶ added in v1.4.0
Get the pathStr index in a path
func StringToVariableName ¶ added in v1.5.2
Convert string to a golang variable name
Types ¶
type FuncTable ¶ added in v1.5.3
type FuncTable interface { LessThan(a interface{}, b interface{}) bool MinMaxSize(minVal interface{}, maxVal interface{}, val interface{}) (interface{}, interface{}, int32) }
func FindFuncTable ¶ added in v1.5.3
func FindFuncTable(pT *parquet.Type, cT *parquet.ConvertedType) FuncTable
type Tag ¶
type Tag struct { InName string ExName string Type string KeyType string ValueType string BaseType string KeyBaseType string ValueBaseType string Length int32 KeyLength int32 ValueLength int32 Scale int32 KeyScale int32 ValueScale int32 Precision int32 KeyPrecision int32 ValuePrecision int32 FieldID int32 KeyFieldID int32 ValueFieldID int32 Encoding parquet.Encoding KeyEncoding parquet.Encoding ValueEncoding parquet.Encoding RepetitionType parquet.FieldRepetitionType KeyRepetitionType parquet.FieldRepetitionType ValueRepetitionType parquet.FieldRepetitionType }
`parquet:"name=Name, type=FIXED_LEN_BYTE_ARRAY, length=12"`
func StringToTag ¶
Click to show internal directories.
Click to hide internal directories.