Documentation ¶
Index ¶
- Variables
- type TAggregateFunction
- func (p *TAggregateFunction) GetFinalizeFnSymbol() string
- func (p *TAggregateFunction) GetGetValueFnSymbol() string
- func (p *TAggregateFunction) GetIgnoresDistinct() bool
- func (p *TAggregateFunction) GetInitFnSymbol() string
- func (p *TAggregateFunction) GetIntermediateType() *TColumnType
- func (p *TAggregateFunction) GetMergeFnSymbol() string
- func (p *TAggregateFunction) GetRemoveFnSymbol() string
- func (p *TAggregateFunction) GetSerializeFnSymbol() string
- func (p *TAggregateFunction) GetUpdateFnSymbol() string
- func (p *TAggregateFunction) IsSetFinalizeFnSymbol() bool
- func (p *TAggregateFunction) IsSetGetValueFnSymbol() bool
- func (p *TAggregateFunction) IsSetIgnoresDistinct() bool
- func (p *TAggregateFunction) IsSetIntermediateType() bool
- func (p *TAggregateFunction) IsSetMergeFnSymbol() bool
- func (p *TAggregateFunction) IsSetRemoveFnSymbol() bool
- func (p *TAggregateFunction) IsSetSerializeFnSymbol() bool
- func (p *TAggregateFunction) Read(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField1(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField2(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField3(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField4(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField5(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField6(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField7(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField8(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) ReadField9(iprot thrift.TProtocol) error
- func (p *TAggregateFunction) String() string
- func (p *TAggregateFunction) Write(oprot thrift.TProtocol) error
- type TColumnType
- type TExplainLevel
- type TFunction
- func (p *TFunction) GetAggregateFn() *TAggregateFunction
- func (p *TFunction) GetArgTypes() []*TColumnType
- func (p *TFunction) GetBinaryType() TFunctionBinaryType
- func (p *TFunction) GetComment() string
- func (p *TFunction) GetHasVarArgs_() bool
- func (p *TFunction) GetHdfsLocation() string
- func (p *TFunction) GetName() *TFunctionName
- func (p *TFunction) GetRetType() *TColumnType
- func (p *TFunction) GetScalarFn() *TScalarFunction
- func (p *TFunction) GetSignature() string
- func (p *TFunction) IsSetAggregateFn() bool
- func (p *TFunction) IsSetComment() bool
- func (p *TFunction) IsSetHdfsLocation() bool
- func (p *TFunction) IsSetName() bool
- func (p *TFunction) IsSetRetType() bool
- func (p *TFunction) IsSetScalarFn() bool
- func (p *TFunction) IsSetSignature() bool
- func (p *TFunction) Read(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField1(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField10(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField2(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField3(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField4(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField5(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField6(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField7(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField8(iprot thrift.TProtocol) error
- func (p *TFunction) ReadField9(iprot thrift.TProtocol) error
- func (p *TFunction) String() string
- func (p *TFunction) Write(oprot thrift.TProtocol) error
- type TFunctionBinaryType
- type TFunctionCategory
- type TFunctionName
- func (p *TFunctionName) GetDbName() string
- func (p *TFunctionName) GetFunctionName() string
- func (p *TFunctionName) IsSetDbName() bool
- func (p *TFunctionName) Read(iprot thrift.TProtocol) error
- func (p *TFunctionName) ReadField1(iprot thrift.TProtocol) error
- func (p *TFunctionName) ReadField2(iprot thrift.TProtocol) error
- func (p *TFunctionName) String() string
- func (p *TFunctionName) Write(oprot thrift.TProtocol) error
- type TNetworkAddress
- func (p *TNetworkAddress) GetHostname() string
- func (p *TNetworkAddress) GetPort() int32
- func (p *TNetworkAddress) Read(iprot thrift.TProtocol) error
- func (p *TNetworkAddress) ReadField1(iprot thrift.TProtocol) error
- func (p *TNetworkAddress) ReadField2(iprot thrift.TProtocol) error
- func (p *TNetworkAddress) String() string
- func (p *TNetworkAddress) Write(oprot thrift.TProtocol) error
- type TPlanNodeId
- type TPrimitiveType
- type TScalarFunction
- func (p *TScalarFunction) GetCloseFnSymbol() string
- func (p *TScalarFunction) GetPrepareFnSymbol() string
- func (p *TScalarFunction) GetSymbol() string
- func (p *TScalarFunction) IsSetCloseFnSymbol() bool
- func (p *TScalarFunction) IsSetPrepareFnSymbol() bool
- func (p *TScalarFunction) Read(iprot thrift.TProtocol) error
- func (p *TScalarFunction) ReadField1(iprot thrift.TProtocol) error
- func (p *TScalarFunction) ReadField2(iprot thrift.TProtocol) error
- func (p *TScalarFunction) ReadField3(iprot thrift.TProtocol) error
- func (p *TScalarFunction) String() string
- func (p *TScalarFunction) Write(oprot thrift.TProtocol) error
- type TScalarType
- func (p *TScalarType) GetLen() int32
- func (p *TScalarType) GetPrecision() int32
- func (p *TScalarType) GetScale() int32
- func (p *TScalarType) GetType() TPrimitiveType
- func (p *TScalarType) IsSetLen() bool
- func (p *TScalarType) IsSetPrecision() bool
- func (p *TScalarType) IsSetScale() bool
- func (p *TScalarType) Read(iprot thrift.TProtocol) error
- func (p *TScalarType) ReadField1(iprot thrift.TProtocol) error
- func (p *TScalarType) ReadField2(iprot thrift.TProtocol) error
- func (p *TScalarType) ReadField3(iprot thrift.TProtocol) error
- func (p *TScalarType) ReadField4(iprot thrift.TProtocol) error
- func (p *TScalarType) String() string
- func (p *TScalarType) Write(oprot thrift.TProtocol) error
- type TSlotId
- type TStmtType
- type TStructField
- func (p *TStructField) GetComment() string
- func (p *TStructField) GetName() string
- func (p *TStructField) IsSetComment() bool
- func (p *TStructField) Read(iprot thrift.TProtocol) error
- func (p *TStructField) ReadField1(iprot thrift.TProtocol) error
- func (p *TStructField) ReadField2(iprot thrift.TProtocol) error
- func (p *TStructField) String() string
- func (p *TStructField) Write(oprot thrift.TProtocol) error
- type TTableId
- type TTimestamp
- type TTupleId
- type TTypeNode
- func (p *TTypeNode) GetScalarType() *TScalarType
- func (p *TTypeNode) GetStructFields() []*TStructField
- func (p *TTypeNode) GetType() TTypeNodeType
- func (p *TTypeNode) IsSetScalarType() bool
- func (p *TTypeNode) IsSetStructFields() bool
- func (p *TTypeNode) Read(iprot thrift.TProtocol) error
- func (p *TTypeNode) ReadField1(iprot thrift.TProtocol) error
- func (p *TTypeNode) ReadField2(iprot thrift.TProtocol) error
- func (p *TTypeNode) ReadField3(iprot thrift.TProtocol) error
- func (p *TTypeNode) String() string
- func (p *TTypeNode) Write(oprot thrift.TProtocol) error
- type TTypeNodeType
- type TUniqueId
- func (p *TUniqueId) GetHi() int64
- func (p *TUniqueId) GetLo() int64
- func (p *TUniqueId) Read(iprot thrift.TProtocol) error
- func (p *TUniqueId) ReadField1(iprot thrift.TProtocol) error
- func (p *TUniqueId) ReadField2(iprot thrift.TProtocol) error
- func (p *TUniqueId) String() string
- func (p *TUniqueId) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var TAggregateFunction_FinalizeFnSymbol_DEFAULT string
View Source
var TAggregateFunction_GetValueFnSymbol_DEFAULT string
View Source
var TAggregateFunction_IgnoresDistinct_DEFAULT bool
View Source
var TAggregateFunction_MergeFnSymbol_DEFAULT string
View Source
var TAggregateFunction_RemoveFnSymbol_DEFAULT string
View Source
var TAggregateFunction_SerializeFnSymbol_DEFAULT string
View Source
var TFunctionName_DbName_DEFAULT string
View Source
var TFunction_Comment_DEFAULT string
View Source
var TFunction_HdfsLocation_DEFAULT string
View Source
var TFunction_Signature_DEFAULT string
View Source
var TScalarFunction_CloseFnSymbol_DEFAULT string
View Source
var TScalarFunction_PrepareFnSymbol_DEFAULT string
View Source
var TScalarType_Len_DEFAULT int32
View Source
var TScalarType_Precision_DEFAULT int32
View Source
var TScalarType_Scale_DEFAULT int32
View Source
var TStructField_Comment_DEFAULT string
View Source
var TTypeNode_StructFields_DEFAULT []*TStructField
Functions ¶
This section is empty.
Types ¶
type TAggregateFunction ¶
type TAggregateFunction struct { IntermediateType *TColumnType `thrift:"intermediate_type,1,required" db:"intermediate_type" json:"intermediate_type"` UpdateFnSymbol string `thrift:"update_fn_symbol,2,required" db:"update_fn_symbol" json:"update_fn_symbol"` InitFnSymbol string `thrift:"init_fn_symbol,3,required" db:"init_fn_symbol" json:"init_fn_symbol"` SerializeFnSymbol *string `thrift:"serialize_fn_symbol,4" db:"serialize_fn_symbol" json:"serialize_fn_symbol,omitempty"` MergeFnSymbol *string `thrift:"merge_fn_symbol,5" db:"merge_fn_symbol" json:"merge_fn_symbol,omitempty"` FinalizeFnSymbol *string `thrift:"finalize_fn_symbol,6" db:"finalize_fn_symbol" json:"finalize_fn_symbol,omitempty"` IgnoresDistinct *bool `thrift:"ignores_distinct,7" db:"ignores_distinct" json:"ignores_distinct,omitempty"` GetValueFnSymbol *string `thrift:"get_value_fn_symbol,8" db:"get_value_fn_symbol" json:"get_value_fn_symbol,omitempty"` RemoveFnSymbol *string `thrift:"remove_fn_symbol,9" db:"remove_fn_symbol" json:"remove_fn_symbol,omitempty"` }
Attributes:
- IntermediateType
- UpdateFnSymbol
- InitFnSymbol
- SerializeFnSymbol
- MergeFnSymbol
- FinalizeFnSymbol
- GetValueFnSymbol
- RemoveFnSymbol
- IgnoresDistinct
var TFunction_AggregateFn_DEFAULT *TAggregateFunction
func NewTAggregateFunction ¶
func NewTAggregateFunction() *TAggregateFunction
func (*TAggregateFunction) GetFinalizeFnSymbol ¶
func (p *TAggregateFunction) GetFinalizeFnSymbol() string
func (*TAggregateFunction) GetGetValueFnSymbol ¶
func (p *TAggregateFunction) GetGetValueFnSymbol() string
func (*TAggregateFunction) GetIgnoresDistinct ¶
func (p *TAggregateFunction) GetIgnoresDistinct() bool
func (*TAggregateFunction) GetInitFnSymbol ¶
func (p *TAggregateFunction) GetInitFnSymbol() string
func (*TAggregateFunction) GetIntermediateType ¶
func (p *TAggregateFunction) GetIntermediateType() *TColumnType
func (*TAggregateFunction) GetMergeFnSymbol ¶
func (p *TAggregateFunction) GetMergeFnSymbol() string
func (*TAggregateFunction) GetRemoveFnSymbol ¶
func (p *TAggregateFunction) GetRemoveFnSymbol() string
func (*TAggregateFunction) GetSerializeFnSymbol ¶
func (p *TAggregateFunction) GetSerializeFnSymbol() string
func (*TAggregateFunction) GetUpdateFnSymbol ¶
func (p *TAggregateFunction) GetUpdateFnSymbol() string
func (*TAggregateFunction) IsSetFinalizeFnSymbol ¶
func (p *TAggregateFunction) IsSetFinalizeFnSymbol() bool
func (*TAggregateFunction) IsSetGetValueFnSymbol ¶
func (p *TAggregateFunction) IsSetGetValueFnSymbol() bool
func (*TAggregateFunction) IsSetIgnoresDistinct ¶
func (p *TAggregateFunction) IsSetIgnoresDistinct() bool
func (*TAggregateFunction) IsSetIntermediateType ¶
func (p *TAggregateFunction) IsSetIntermediateType() bool
func (*TAggregateFunction) IsSetMergeFnSymbol ¶
func (p *TAggregateFunction) IsSetMergeFnSymbol() bool
func (*TAggregateFunction) IsSetRemoveFnSymbol ¶
func (p *TAggregateFunction) IsSetRemoveFnSymbol() bool
func (*TAggregateFunction) IsSetSerializeFnSymbol ¶
func (p *TAggregateFunction) IsSetSerializeFnSymbol() bool
func (*TAggregateFunction) ReadField1 ¶
func (p *TAggregateFunction) ReadField1(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField2 ¶
func (p *TAggregateFunction) ReadField2(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField3 ¶
func (p *TAggregateFunction) ReadField3(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField4 ¶
func (p *TAggregateFunction) ReadField4(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField5 ¶
func (p *TAggregateFunction) ReadField5(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField6 ¶
func (p *TAggregateFunction) ReadField6(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField7 ¶
func (p *TAggregateFunction) ReadField7(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField8 ¶
func (p *TAggregateFunction) ReadField8(iprot thrift.TProtocol) error
func (*TAggregateFunction) ReadField9 ¶
func (p *TAggregateFunction) ReadField9(iprot thrift.TProtocol) error
func (*TAggregateFunction) String ¶
func (p *TAggregateFunction) String() string
type TColumnType ¶
type TColumnType struct {
Types []*TTypeNode `thrift:"types,1" db:"types" json:"types"`
}
Attributes:
- Types
var TAggregateFunction_IntermediateType_DEFAULT *TColumnType
var TFunction_RetType_DEFAULT *TColumnType
func NewTColumnType ¶
func NewTColumnType() *TColumnType
func (*TColumnType) GetTypes ¶
func (p *TColumnType) GetTypes() []*TTypeNode
func (*TColumnType) ReadField1 ¶
func (p *TColumnType) ReadField1(iprot thrift.TProtocol) error
func (*TColumnType) String ¶
func (p *TColumnType) String() string
type TExplainLevel ¶
type TExplainLevel int64
const ( TExplainLevel_MINIMAL TExplainLevel = 0 TExplainLevel_STANDARD TExplainLevel = 1 TExplainLevel_EXTENDED TExplainLevel = 2 TExplainLevel_VERBOSE TExplainLevel = 3 )
func TExplainLevelFromString ¶
func TExplainLevelFromString(s string) (TExplainLevel, error)
func TExplainLevelPtr ¶
func TExplainLevelPtr(v TExplainLevel) *TExplainLevel
func (TExplainLevel) MarshalText ¶
func (p TExplainLevel) MarshalText() ([]byte, error)
func (*TExplainLevel) Scan ¶
func (p *TExplainLevel) Scan(value interface{}) error
func (TExplainLevel) String ¶
func (p TExplainLevel) String() string
func (*TExplainLevel) UnmarshalText ¶
func (p *TExplainLevel) UnmarshalText(text []byte) error
type TFunction ¶
type TFunction struct { Name *TFunctionName `thrift:"name,1,required" db:"name" json:"name"` BinaryType TFunctionBinaryType `thrift:"binary_type,2,required" db:"binary_type" json:"binary_type"` ArgTypes []*TColumnType `thrift:"arg_types,3,required" db:"arg_types" json:"arg_types"` RetType *TColumnType `thrift:"ret_type,4,required" db:"ret_type" json:"ret_type"` HasVarArgs_ bool `thrift:"has_var_args,5,required" db:"has_var_args" json:"has_var_args"` Comment *string `thrift:"comment,6" db:"comment" json:"comment,omitempty"` Signature *string `thrift:"signature,7" db:"signature" json:"signature,omitempty"` HdfsLocation *string `thrift:"hdfs_location,8" db:"hdfs_location" json:"hdfs_location,omitempty"` ScalarFn *TScalarFunction `thrift:"scalar_fn,9" db:"scalar_fn" json:"scalar_fn,omitempty"` AggregateFn *TAggregateFunction `thrift:"aggregate_fn,10" db:"aggregate_fn" json:"aggregate_fn,omitempty"` }
Attributes:
- Name
- BinaryType
- ArgTypes
- RetType
- HasVarArgs_
- Comment
- Signature
- HdfsLocation
- ScalarFn
- AggregateFn
func NewTFunction ¶
func NewTFunction() *TFunction
func (*TFunction) GetAggregateFn ¶
func (p *TFunction) GetAggregateFn() *TAggregateFunction
func (*TFunction) GetArgTypes ¶
func (p *TFunction) GetArgTypes() []*TColumnType
func (*TFunction) GetBinaryType ¶
func (p *TFunction) GetBinaryType() TFunctionBinaryType
func (*TFunction) GetComment ¶
func (*TFunction) GetHasVarArgs_ ¶
func (*TFunction) GetHdfsLocation ¶
func (*TFunction) GetName ¶
func (p *TFunction) GetName() *TFunctionName
func (*TFunction) GetRetType ¶
func (p *TFunction) GetRetType() *TColumnType
func (*TFunction) GetScalarFn ¶
func (p *TFunction) GetScalarFn() *TScalarFunction
func (*TFunction) GetSignature ¶
func (*TFunction) IsSetAggregateFn ¶
func (*TFunction) IsSetComment ¶
func (*TFunction) IsSetHdfsLocation ¶
func (*TFunction) IsSetRetType ¶
func (*TFunction) IsSetScalarFn ¶
func (*TFunction) IsSetSignature ¶
type TFunctionBinaryType ¶
type TFunctionBinaryType int64
const ( TFunctionBinaryType_BUILTIN TFunctionBinaryType = 0 TFunctionBinaryType_HIVE TFunctionBinaryType = 1 TFunctionBinaryType_NATIVE TFunctionBinaryType = 2 TFunctionBinaryType_IR TFunctionBinaryType = 3 )
func TFunctionBinaryTypeFromString ¶
func TFunctionBinaryTypeFromString(s string) (TFunctionBinaryType, error)
func TFunctionBinaryTypePtr ¶
func TFunctionBinaryTypePtr(v TFunctionBinaryType) *TFunctionBinaryType
func (TFunctionBinaryType) MarshalText ¶
func (p TFunctionBinaryType) MarshalText() ([]byte, error)
func (*TFunctionBinaryType) Scan ¶
func (p *TFunctionBinaryType) Scan(value interface{}) error
func (TFunctionBinaryType) String ¶
func (p TFunctionBinaryType) String() string
func (*TFunctionBinaryType) UnmarshalText ¶
func (p *TFunctionBinaryType) UnmarshalText(text []byte) error
type TFunctionCategory ¶
type TFunctionCategory int64
const ( TFunctionCategory_SCALAR TFunctionCategory = 0 TFunctionCategory_AGGREGATE TFunctionCategory = 1 TFunctionCategory_ANALYTIC TFunctionCategory = 2 )
func TFunctionCategoryFromString ¶
func TFunctionCategoryFromString(s string) (TFunctionCategory, error)
func TFunctionCategoryPtr ¶
func TFunctionCategoryPtr(v TFunctionCategory) *TFunctionCategory
func (TFunctionCategory) MarshalText ¶
func (p TFunctionCategory) MarshalText() ([]byte, error)
func (*TFunctionCategory) Scan ¶
func (p *TFunctionCategory) Scan(value interface{}) error
func (TFunctionCategory) String ¶
func (p TFunctionCategory) String() string
func (*TFunctionCategory) UnmarshalText ¶
func (p *TFunctionCategory) UnmarshalText(text []byte) error
type TFunctionName ¶
type TFunctionName struct { DbName *string `thrift:"db_name,1" db:"db_name" json:"db_name,omitempty"` FunctionName string `thrift:"function_name,2,required" db:"function_name" json:"function_name"` }
Attributes:
- DbName
- FunctionName
var TFunction_Name_DEFAULT *TFunctionName
func NewTFunctionName ¶
func NewTFunctionName() *TFunctionName
func (*TFunctionName) GetDbName ¶
func (p *TFunctionName) GetDbName() string
func (*TFunctionName) GetFunctionName ¶
func (p *TFunctionName) GetFunctionName() string
func (*TFunctionName) IsSetDbName ¶
func (p *TFunctionName) IsSetDbName() bool
func (*TFunctionName) ReadField1 ¶
func (p *TFunctionName) ReadField1(iprot thrift.TProtocol) error
func (*TFunctionName) ReadField2 ¶
func (p *TFunctionName) ReadField2(iprot thrift.TProtocol) error
func (*TFunctionName) String ¶
func (p *TFunctionName) String() string
type TNetworkAddress ¶
type TNetworkAddress struct { Hostname string `thrift:"hostname,1,required" db:"hostname" json:"hostname"` Port int32 `thrift:"port,2,required" db:"port" json:"port"` }
Attributes:
- Hostname
- Port
func NewTNetworkAddress ¶
func NewTNetworkAddress() *TNetworkAddress
func (*TNetworkAddress) GetHostname ¶
func (p *TNetworkAddress) GetHostname() string
func (*TNetworkAddress) GetPort ¶
func (p *TNetworkAddress) GetPort() int32
func (*TNetworkAddress) ReadField1 ¶
func (p *TNetworkAddress) ReadField1(iprot thrift.TProtocol) error
func (*TNetworkAddress) ReadField2 ¶
func (p *TNetworkAddress) ReadField2(iprot thrift.TProtocol) error
func (*TNetworkAddress) String ¶
func (p *TNetworkAddress) String() string
type TPlanNodeId ¶
type TPlanNodeId int32
func TPlanNodeIdPtr ¶
func TPlanNodeIdPtr(v TPlanNodeId) *TPlanNodeId
type TPrimitiveType ¶
type TPrimitiveType int64
const ( TPrimitiveType_INVALID_TYPE TPrimitiveType = 0 TPrimitiveType_NULL_TYPE TPrimitiveType = 1 TPrimitiveType_BOOLEAN TPrimitiveType = 2 TPrimitiveType_TINYINT TPrimitiveType = 3 TPrimitiveType_SMALLINT TPrimitiveType = 4 TPrimitiveType_INT TPrimitiveType = 5 TPrimitiveType_BIGINT TPrimitiveType = 6 TPrimitiveType_FLOAT TPrimitiveType = 7 TPrimitiveType_DOUBLE TPrimitiveType = 8 TPrimitiveType_DATE TPrimitiveType = 9 TPrimitiveType_DATETIME TPrimitiveType = 10 TPrimitiveType_TIMESTAMP TPrimitiveType = 11 TPrimitiveType_STRING TPrimitiveType = 12 TPrimitiveType_BINARY TPrimitiveType = 13 TPrimitiveType_DECIMAL TPrimitiveType = 14 TPrimitiveType_CHAR TPrimitiveType = 15 TPrimitiveType_VARCHAR TPrimitiveType = 16 )
func TPrimitiveTypeFromString ¶
func TPrimitiveTypeFromString(s string) (TPrimitiveType, error)
func TPrimitiveTypePtr ¶
func TPrimitiveTypePtr(v TPrimitiveType) *TPrimitiveType
func (TPrimitiveType) MarshalText ¶
func (p TPrimitiveType) MarshalText() ([]byte, error)
func (*TPrimitiveType) Scan ¶
func (p *TPrimitiveType) Scan(value interface{}) error
func (TPrimitiveType) String ¶
func (p TPrimitiveType) String() string
func (*TPrimitiveType) UnmarshalText ¶
func (p *TPrimitiveType) UnmarshalText(text []byte) error
type TScalarFunction ¶
type TScalarFunction struct { Symbol string `thrift:"symbol,1,required" db:"symbol" json:"symbol"` PrepareFnSymbol *string `thrift:"prepare_fn_symbol,2" db:"prepare_fn_symbol" json:"prepare_fn_symbol,omitempty"` CloseFnSymbol *string `thrift:"close_fn_symbol,3" db:"close_fn_symbol" json:"close_fn_symbol,omitempty"` }
Attributes:
- Symbol
- PrepareFnSymbol
- CloseFnSymbol
var TFunction_ScalarFn_DEFAULT *TScalarFunction
func NewTScalarFunction ¶
func NewTScalarFunction() *TScalarFunction
func (*TScalarFunction) GetCloseFnSymbol ¶
func (p *TScalarFunction) GetCloseFnSymbol() string
func (*TScalarFunction) GetPrepareFnSymbol ¶
func (p *TScalarFunction) GetPrepareFnSymbol() string
func (*TScalarFunction) GetSymbol ¶
func (p *TScalarFunction) GetSymbol() string
func (*TScalarFunction) IsSetCloseFnSymbol ¶
func (p *TScalarFunction) IsSetCloseFnSymbol() bool
func (*TScalarFunction) IsSetPrepareFnSymbol ¶
func (p *TScalarFunction) IsSetPrepareFnSymbol() bool
func (*TScalarFunction) ReadField1 ¶
func (p *TScalarFunction) ReadField1(iprot thrift.TProtocol) error
func (*TScalarFunction) ReadField2 ¶
func (p *TScalarFunction) ReadField2(iprot thrift.TProtocol) error
func (*TScalarFunction) ReadField3 ¶
func (p *TScalarFunction) ReadField3(iprot thrift.TProtocol) error
func (*TScalarFunction) String ¶
func (p *TScalarFunction) String() string
type TScalarType ¶
type TScalarType struct { Type TPrimitiveType `thrift:"type,1,required" db:"type" json:"type"` Len *int32 `thrift:"len,2" db:"len" json:"len,omitempty"` Precision *int32 `thrift:"precision,3" db:"precision" json:"precision,omitempty"` Scale *int32 `thrift:"scale,4" db:"scale" json:"scale,omitempty"` }
Attributes:
- Type
- Len
- Precision
- Scale
var TTypeNode_ScalarType_DEFAULT *TScalarType
func NewTScalarType ¶
func NewTScalarType() *TScalarType
func (*TScalarType) GetLen ¶
func (p *TScalarType) GetLen() int32
func (*TScalarType) GetPrecision ¶
func (p *TScalarType) GetPrecision() int32
func (*TScalarType) GetScale ¶
func (p *TScalarType) GetScale() int32
func (*TScalarType) GetType ¶
func (p *TScalarType) GetType() TPrimitiveType
func (*TScalarType) IsSetLen ¶
func (p *TScalarType) IsSetLen() bool
func (*TScalarType) IsSetPrecision ¶
func (p *TScalarType) IsSetPrecision() bool
func (*TScalarType) IsSetScale ¶
func (p *TScalarType) IsSetScale() bool
func (*TScalarType) ReadField1 ¶
func (p *TScalarType) ReadField1(iprot thrift.TProtocol) error
func (*TScalarType) ReadField2 ¶
func (p *TScalarType) ReadField2(iprot thrift.TProtocol) error
func (*TScalarType) ReadField3 ¶
func (p *TScalarType) ReadField3(iprot thrift.TProtocol) error
func (*TScalarType) ReadField4 ¶
func (p *TScalarType) ReadField4(iprot thrift.TProtocol) error
func (*TScalarType) String ¶
func (p *TScalarType) String() string
type TStmtType ¶
type TStmtType int64
func TStmtTypeFromString ¶
func TStmtTypePtr ¶
func (TStmtType) MarshalText ¶
func (*TStmtType) UnmarshalText ¶
type TStructField ¶
type TStructField struct { Name string `thrift:"name,1,required" db:"name" json:"name"` Comment *string `thrift:"comment,2" db:"comment" json:"comment,omitempty"` }
Attributes:
- Name
- Comment
func NewTStructField ¶
func NewTStructField() *TStructField
func (*TStructField) GetComment ¶
func (p *TStructField) GetComment() string
func (*TStructField) GetName ¶
func (p *TStructField) GetName() string
func (*TStructField) IsSetComment ¶
func (p *TStructField) IsSetComment() bool
func (*TStructField) ReadField1 ¶
func (p *TStructField) ReadField1(iprot thrift.TProtocol) error
func (*TStructField) ReadField2 ¶
func (p *TStructField) ReadField2(iprot thrift.TProtocol) error
func (*TStructField) String ¶
func (p *TStructField) String() string
type TTimestamp ¶
type TTimestamp int64
func TTimestampPtr ¶
func TTimestampPtr(v TTimestamp) *TTimestamp
type TTypeNode ¶
type TTypeNode struct { Type TTypeNodeType `thrift:"type,1,required" db:"type" json:"type"` ScalarType *TScalarType `thrift:"scalar_type,2" db:"scalar_type" json:"scalar_type,omitempty"` StructFields []*TStructField `thrift:"struct_fields,3" db:"struct_fields" json:"struct_fields,omitempty"` }
Attributes:
- Type
- ScalarType
- StructFields
func NewTTypeNode ¶
func NewTTypeNode() *TTypeNode
func (*TTypeNode) GetScalarType ¶
func (p *TTypeNode) GetScalarType() *TScalarType
func (*TTypeNode) GetStructFields ¶
func (p *TTypeNode) GetStructFields() []*TStructField
func (*TTypeNode) GetType ¶
func (p *TTypeNode) GetType() TTypeNodeType
func (*TTypeNode) IsSetScalarType ¶
func (*TTypeNode) IsSetStructFields ¶
type TTypeNodeType ¶
type TTypeNodeType int64
const ( TTypeNodeType_SCALAR TTypeNodeType = 0 TTypeNodeType_ARRAY TTypeNodeType = 1 TTypeNodeType_MAP TTypeNodeType = 2 TTypeNodeType_STRUCT TTypeNodeType = 3 )
func TTypeNodeTypeFromString ¶
func TTypeNodeTypeFromString(s string) (TTypeNodeType, error)
func TTypeNodeTypePtr ¶
func TTypeNodeTypePtr(v TTypeNodeType) *TTypeNodeType
func (TTypeNodeType) MarshalText ¶
func (p TTypeNodeType) MarshalText() ([]byte, error)
func (*TTypeNodeType) Scan ¶
func (p *TTypeNodeType) Scan(value interface{}) error
func (TTypeNodeType) String ¶
func (p TTypeNodeType) String() string
func (*TTypeNodeType) UnmarshalText ¶
func (p *TTypeNodeType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.