exprs

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var TExprNode_Fn_DEFAULT *types.TFunction
View Source
var TExprNode_IsCodegenDisabled_DEFAULT bool
View Source
var TExprNode_Type_DEFAULT *types.TColumnType
View Source
var TExprNode_VarargStartIdx_DEFAULT int32

Functions

This section is empty.

Types

type TAggregateExpr

type TAggregateExpr struct {
	IsMergeAgg bool                 `thrift:"is_merge_agg,1,required" db:"is_merge_agg" json:"is_merge_agg"`
	ArgTypes   []*types.TColumnType `thrift:"arg_types,2,required" db:"arg_types" json:"arg_types"`
}

Attributes:

  • IsMergeAgg
  • ArgTypes
var TExprNode_AggExpr_DEFAULT *TAggregateExpr

func NewTAggregateExpr

func NewTAggregateExpr() *TAggregateExpr

func (*TAggregateExpr) Equals added in v0.16.0

func (p *TAggregateExpr) Equals(other *TAggregateExpr) bool

func (*TAggregateExpr) GetArgTypes

func (p *TAggregateExpr) GetArgTypes() []*types.TColumnType

func (*TAggregateExpr) GetIsMergeAgg

func (p *TAggregateExpr) GetIsMergeAgg() bool

func (*TAggregateExpr) Read

func (p *TAggregateExpr) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TAggregateExpr) ReadField1

func (p *TAggregateExpr) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TAggregateExpr) ReadField2

func (p *TAggregateExpr) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TAggregateExpr) String

func (p *TAggregateExpr) String() string

func (*TAggregateExpr) Write

func (p *TAggregateExpr) Write(ctx context.Context, oprot thrift.TProtocol) error

type TBoolLiteral

type TBoolLiteral struct {
	Value bool `thrift:"value,1,required" db:"value" json:"value"`
}

Attributes:

  • Value
var TExprNode_BoolLiteral_DEFAULT *TBoolLiteral

func NewTBoolLiteral

func NewTBoolLiteral() *TBoolLiteral

func (*TBoolLiteral) Equals added in v0.16.0

func (p *TBoolLiteral) Equals(other *TBoolLiteral) bool

func (*TBoolLiteral) GetValue

func (p *TBoolLiteral) GetValue() bool

func (*TBoolLiteral) Read

func (p *TBoolLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TBoolLiteral) ReadField1

func (p *TBoolLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TBoolLiteral) String

func (p *TBoolLiteral) String() string

func (*TBoolLiteral) Write

func (p *TBoolLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TCaseExpr

type TCaseExpr struct {
	HasCaseExpr bool `thrift:"has_case_expr,1,required" db:"has_case_expr" json:"has_case_expr"`
	HasElseExpr bool `thrift:"has_else_expr,2,required" db:"has_else_expr" json:"has_else_expr"`
}

Attributes:

  • HasCaseExpr
  • HasElseExpr
var TExprNode_CaseExpr_DEFAULT *TCaseExpr

func NewTCaseExpr

func NewTCaseExpr() *TCaseExpr

func (*TCaseExpr) Equals added in v0.16.0

func (p *TCaseExpr) Equals(other *TCaseExpr) bool

func (*TCaseExpr) GetHasCaseExpr

func (p *TCaseExpr) GetHasCaseExpr() bool

func (*TCaseExpr) GetHasElseExpr

func (p *TCaseExpr) GetHasElseExpr() bool

func (*TCaseExpr) Read

func (p *TCaseExpr) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TCaseExpr) ReadField1

func (p *TCaseExpr) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TCaseExpr) ReadField2

func (p *TCaseExpr) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TCaseExpr) String

func (p *TCaseExpr) String() string

func (*TCaseExpr) Write

func (p *TCaseExpr) Write(ctx context.Context, oprot thrift.TProtocol) error

type TCastExpr

type TCastExpr struct {
	CastFormat string `thrift:"cast_format,1,required" db:"cast_format" json:"cast_format"`
}

Attributes:

  • CastFormat
var TExprNode_CastExpr_DEFAULT *TCastExpr

func NewTCastExpr

func NewTCastExpr() *TCastExpr

func (*TCastExpr) Equals added in v0.16.0

func (p *TCastExpr) Equals(other *TCastExpr) bool

func (*TCastExpr) GetCastFormat

func (p *TCastExpr) GetCastFormat() string

func (*TCastExpr) Read

func (p *TCastExpr) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TCastExpr) ReadField1

func (p *TCastExpr) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TCastExpr) String

func (p *TCastExpr) String() string

func (*TCastExpr) Write

func (p *TCastExpr) Write(ctx context.Context, oprot thrift.TProtocol) error

type TDateLiteral

type TDateLiteral struct {
	DaysSinceEpoch int32  `thrift:"days_since_epoch,1,required" db:"days_since_epoch" json:"days_since_epoch"`
	DateString     string `thrift:"date_string,2,required" db:"date_string" json:"date_string"`
}

Attributes:

  • DaysSinceEpoch
  • DateString
var TExprNode_DateLiteral_DEFAULT *TDateLiteral

func NewTDateLiteral

func NewTDateLiteral() *TDateLiteral

func (*TDateLiteral) Equals added in v0.16.0

func (p *TDateLiteral) Equals(other *TDateLiteral) bool

func (*TDateLiteral) GetDateString

func (p *TDateLiteral) GetDateString() string

func (*TDateLiteral) GetDaysSinceEpoch

func (p *TDateLiteral) GetDaysSinceEpoch() int32

func (*TDateLiteral) Read

func (p *TDateLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TDateLiteral) ReadField1

func (p *TDateLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TDateLiteral) ReadField2

func (p *TDateLiteral) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TDateLiteral) String

func (p *TDateLiteral) String() string

func (*TDateLiteral) Write

func (p *TDateLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TDecimalLiteral

type TDecimalLiteral struct {
	Value []byte `thrift:"value,1,required" db:"value" json:"value"`
}

Attributes:

  • Value
var TExprNode_DecimalLiteral_DEFAULT *TDecimalLiteral

func NewTDecimalLiteral

func NewTDecimalLiteral() *TDecimalLiteral

func (*TDecimalLiteral) Equals added in v0.16.0

func (p *TDecimalLiteral) Equals(other *TDecimalLiteral) bool

func (*TDecimalLiteral) GetValue

func (p *TDecimalLiteral) GetValue() []byte

func (*TDecimalLiteral) Read

func (p *TDecimalLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TDecimalLiteral) ReadField1

func (p *TDecimalLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TDecimalLiteral) String

func (p *TDecimalLiteral) String() string

func (*TDecimalLiteral) Write

func (p *TDecimalLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TExpr

type TExpr struct {
	Nodes []*TExprNode `thrift:"nodes,1,required" db:"nodes" json:"nodes"`
}

Attributes:

  • Nodes

func NewTExpr

func NewTExpr() *TExpr

func (*TExpr) Equals added in v0.16.0

func (p *TExpr) Equals(other *TExpr) bool

func (*TExpr) GetNodes

func (p *TExpr) GetNodes() []*TExprNode

func (*TExpr) Read

func (p *TExpr) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TExpr) ReadField1

func (p *TExpr) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TExpr) String

func (p *TExpr) String() string

func (*TExpr) Write

func (p *TExpr) Write(ctx context.Context, oprot thrift.TProtocol) error

type TExprBatch

type TExprBatch struct {
	Exprs []*TExpr `thrift:"exprs,1,required" db:"exprs" json:"exprs"`
}

Attributes:

  • Exprs

func NewTExprBatch

func NewTExprBatch() *TExprBatch

func (*TExprBatch) Equals added in v0.16.0

func (p *TExprBatch) Equals(other *TExprBatch) bool

func (*TExprBatch) GetExprs

func (p *TExprBatch) GetExprs() []*TExpr

func (*TExprBatch) Read

func (p *TExprBatch) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprBatch) ReadField1

func (p *TExprBatch) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprBatch) String

func (p *TExprBatch) String() string

func (*TExprBatch) Write

func (p *TExprBatch) Write(ctx context.Context, oprot thrift.TProtocol) error

type TExprNode

type TExprNode struct {
	NodeType          TExprNodeType          `thrift:"node_type,1,required" db:"node_type" json:"node_type"`
	Type              *types.TColumnType     `thrift:"type,2,required" db:"type" json:"type"`
	NumChildren       int32                  `thrift:"num_children,3,required" db:"num_children" json:"num_children"`
	IsConstant        bool                   `thrift:"is_constant,4,required" db:"is_constant" json:"is_constant"`
	Fn                *types.TFunction       `thrift:"fn,5" db:"fn" json:"fn,omitempty"`
	VarargStartIdx    *int32                 `thrift:"vararg_start_idx,6" db:"vararg_start_idx" json:"vararg_start_idx,omitempty"`
	BoolLiteral       *TBoolLiteral          `thrift:"bool_literal,7" db:"bool_literal" json:"bool_literal,omitempty"`
	CaseExpr          *TCaseExpr             `thrift:"case_expr,8" db:"case_expr" json:"case_expr,omitempty"`
	DateLiteral       *TDateLiteral          `thrift:"date_literal,9" db:"date_literal" json:"date_literal,omitempty"`
	FloatLiteral      *TFloatLiteral         `thrift:"float_literal,10" db:"float_literal" json:"float_literal,omitempty"`
	IntLiteral        *TIntLiteral           `thrift:"int_literal,11" db:"int_literal" json:"int_literal,omitempty"`
	InPredicate       *TInPredicate          `thrift:"in_predicate,12" db:"in_predicate" json:"in_predicate,omitempty"`
	IsNullPred        *TIsNullPredicate      `thrift:"is_null_pred,13" db:"is_null_pred" json:"is_null_pred,omitempty"`
	LiteralPred       *TLiteralPredicate     `thrift:"literal_pred,14" db:"literal_pred" json:"literal_pred,omitempty"`
	SlotRef           *TSlotRef              `thrift:"slot_ref,15" db:"slot_ref" json:"slot_ref,omitempty"`
	StringLiteral     *TStringLiteral        `thrift:"string_literal,16" db:"string_literal" json:"string_literal,omitempty"`
	TupleIsNullPred   *TTupleIsNullPredicate `thrift:"tuple_is_null_pred,17" db:"tuple_is_null_pred" json:"tuple_is_null_pred,omitempty"`
	DecimalLiteral    *TDecimalLiteral       `thrift:"decimal_literal,18" db:"decimal_literal" json:"decimal_literal,omitempty"`
	AggExpr           *TAggregateExpr        `thrift:"agg_expr,19" db:"agg_expr" json:"agg_expr,omitempty"`
	TimestampLiteral  *TTimestampLiteral     `thrift:"timestamp_literal,20" db:"timestamp_literal" json:"timestamp_literal,omitempty"`
	KuduPartitionExpr *TKuduPartitionExpr    `thrift:"kudu_partition_expr,21" db:"kudu_partition_expr" json:"kudu_partition_expr,omitempty"`
	CastExpr          *TCastExpr             `thrift:"cast_expr,22" db:"cast_expr" json:"cast_expr,omitempty"`
	IsCodegenDisabled *bool                  `thrift:"is_codegen_disabled,23" db:"is_codegen_disabled" json:"is_codegen_disabled,omitempty"`
}

Attributes:

  • NodeType
  • Type
  • NumChildren
  • IsConstant
  • Fn
  • VarargStartIdx
  • BoolLiteral
  • CaseExpr
  • DateLiteral
  • FloatLiteral
  • IntLiteral
  • InPredicate
  • IsNullPred
  • LiteralPred
  • SlotRef
  • StringLiteral
  • TupleIsNullPred
  • DecimalLiteral
  • AggExpr
  • TimestampLiteral
  • KuduPartitionExpr
  • CastExpr
  • IsCodegenDisabled

func NewTExprNode

func NewTExprNode() *TExprNode

func (*TExprNode) Equals added in v0.16.0

func (p *TExprNode) Equals(other *TExprNode) bool

func (*TExprNode) GetAggExpr

func (p *TExprNode) GetAggExpr() *TAggregateExpr

func (*TExprNode) GetBoolLiteral

func (p *TExprNode) GetBoolLiteral() *TBoolLiteral

func (*TExprNode) GetCaseExpr

func (p *TExprNode) GetCaseExpr() *TCaseExpr

func (*TExprNode) GetCastExpr

func (p *TExprNode) GetCastExpr() *TCastExpr

func (*TExprNode) GetDateLiteral

func (p *TExprNode) GetDateLiteral() *TDateLiteral

func (*TExprNode) GetDecimalLiteral

func (p *TExprNode) GetDecimalLiteral() *TDecimalLiteral

func (*TExprNode) GetFloatLiteral

func (p *TExprNode) GetFloatLiteral() *TFloatLiteral

func (*TExprNode) GetFn

func (p *TExprNode) GetFn() *types.TFunction

func (*TExprNode) GetInPredicate

func (p *TExprNode) GetInPredicate() *TInPredicate

func (*TExprNode) GetIntLiteral

func (p *TExprNode) GetIntLiteral() *TIntLiteral

func (*TExprNode) GetIsCodegenDisabled

func (p *TExprNode) GetIsCodegenDisabled() bool

func (*TExprNode) GetIsConstant

func (p *TExprNode) GetIsConstant() bool

func (*TExprNode) GetIsNullPred

func (p *TExprNode) GetIsNullPred() *TIsNullPredicate

func (*TExprNode) GetKuduPartitionExpr

func (p *TExprNode) GetKuduPartitionExpr() *TKuduPartitionExpr

func (*TExprNode) GetLiteralPred

func (p *TExprNode) GetLiteralPred() *TLiteralPredicate

func (*TExprNode) GetNodeType

func (p *TExprNode) GetNodeType() TExprNodeType

func (*TExprNode) GetNumChildren

func (p *TExprNode) GetNumChildren() int32

func (*TExprNode) GetSlotRef

func (p *TExprNode) GetSlotRef() *TSlotRef

func (*TExprNode) GetStringLiteral

func (p *TExprNode) GetStringLiteral() *TStringLiteral

func (*TExprNode) GetTimestampLiteral

func (p *TExprNode) GetTimestampLiteral() *TTimestampLiteral

func (*TExprNode) GetTupleIsNullPred

func (p *TExprNode) GetTupleIsNullPred() *TTupleIsNullPredicate

func (*TExprNode) GetType

func (p *TExprNode) GetType() *types.TColumnType

func (*TExprNode) GetVarargStartIdx

func (p *TExprNode) GetVarargStartIdx() int32

func (*TExprNode) IsSetAggExpr

func (p *TExprNode) IsSetAggExpr() bool

func (*TExprNode) IsSetBoolLiteral

func (p *TExprNode) IsSetBoolLiteral() bool

func (*TExprNode) IsSetCaseExpr

func (p *TExprNode) IsSetCaseExpr() bool

func (*TExprNode) IsSetCastExpr

func (p *TExprNode) IsSetCastExpr() bool

func (*TExprNode) IsSetDateLiteral

func (p *TExprNode) IsSetDateLiteral() bool

func (*TExprNode) IsSetDecimalLiteral

func (p *TExprNode) IsSetDecimalLiteral() bool

func (*TExprNode) IsSetFloatLiteral

func (p *TExprNode) IsSetFloatLiteral() bool

func (*TExprNode) IsSetFn

func (p *TExprNode) IsSetFn() bool

func (*TExprNode) IsSetInPredicate

func (p *TExprNode) IsSetInPredicate() bool

func (*TExprNode) IsSetIntLiteral

func (p *TExprNode) IsSetIntLiteral() bool

func (*TExprNode) IsSetIsCodegenDisabled

func (p *TExprNode) IsSetIsCodegenDisabled() bool

func (*TExprNode) IsSetIsNullPred

func (p *TExprNode) IsSetIsNullPred() bool

func (*TExprNode) IsSetKuduPartitionExpr

func (p *TExprNode) IsSetKuduPartitionExpr() bool

func (*TExprNode) IsSetLiteralPred

func (p *TExprNode) IsSetLiteralPred() bool

func (*TExprNode) IsSetSlotRef

func (p *TExprNode) IsSetSlotRef() bool

func (*TExprNode) IsSetStringLiteral

func (p *TExprNode) IsSetStringLiteral() bool

func (*TExprNode) IsSetTimestampLiteral

func (p *TExprNode) IsSetTimestampLiteral() bool

func (*TExprNode) IsSetTupleIsNullPred

func (p *TExprNode) IsSetTupleIsNullPred() bool

func (*TExprNode) IsSetType

func (p *TExprNode) IsSetType() bool

func (*TExprNode) IsSetVarargStartIdx

func (p *TExprNode) IsSetVarargStartIdx() bool

func (*TExprNode) Read

func (p *TExprNode) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField1

func (p *TExprNode) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField10

func (p *TExprNode) ReadField10(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField11

func (p *TExprNode) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField12

func (p *TExprNode) ReadField12(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField13

func (p *TExprNode) ReadField13(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField14

func (p *TExprNode) ReadField14(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField15

func (p *TExprNode) ReadField15(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField16

func (p *TExprNode) ReadField16(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField17

func (p *TExprNode) ReadField17(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField18

func (p *TExprNode) ReadField18(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField19

func (p *TExprNode) ReadField19(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField2

func (p *TExprNode) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField20

func (p *TExprNode) ReadField20(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField21

func (p *TExprNode) ReadField21(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField22

func (p *TExprNode) ReadField22(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField23

func (p *TExprNode) ReadField23(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField3

func (p *TExprNode) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField4

func (p *TExprNode) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField5

func (p *TExprNode) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField6

func (p *TExprNode) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField7

func (p *TExprNode) ReadField7(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField8

func (p *TExprNode) ReadField8(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) ReadField9

func (p *TExprNode) ReadField9(ctx context.Context, iprot thrift.TProtocol) error

func (*TExprNode) String

func (p *TExprNode) String() string

func (*TExprNode) Write

func (p *TExprNode) Write(ctx context.Context, oprot thrift.TProtocol) error

type TExprNodeType

type TExprNodeType int64
const (
	TExprNodeType_NULL_LITERAL        TExprNodeType = 0
	TExprNodeType_BOOL_LITERAL        TExprNodeType = 1
	TExprNodeType_INT_LITERAL         TExprNodeType = 2
	TExprNodeType_FLOAT_LITERAL       TExprNodeType = 3
	TExprNodeType_STRING_LITERAL      TExprNodeType = 4
	TExprNodeType_DECIMAL_LITERAL     TExprNodeType = 5
	TExprNodeType_TIMESTAMP_LITERAL   TExprNodeType = 6
	TExprNodeType_CASE_EXPR           TExprNodeType = 7
	TExprNodeType_COMPOUND_PRED       TExprNodeType = 8
	TExprNodeType_IN_PRED             TExprNodeType = 9
	TExprNodeType_IS_NULL_PRED        TExprNodeType = 10
	TExprNodeType_LIKE_PRED           TExprNodeType = 11
	TExprNodeType_SLOT_REF            TExprNodeType = 12
	TExprNodeType_TUPLE_IS_NULL_PRED  TExprNodeType = 13
	TExprNodeType_FUNCTION_CALL       TExprNodeType = 14
	TExprNodeType_AGGREGATE_EXPR      TExprNodeType = 15
	TExprNodeType_IS_NOT_EMPTY_PRED   TExprNodeType = 16
	TExprNodeType_KUDU_PARTITION_EXPR TExprNodeType = 17
	TExprNodeType_VALID_TUPLE_ID_EXPR TExprNodeType = 18
	TExprNodeType_DATE_LITERAL        TExprNodeType = 19
)

func TExprNodeTypeFromString

func TExprNodeTypeFromString(s string) (TExprNodeType, error)

func TExprNodeTypePtr

func TExprNodeTypePtr(v TExprNodeType) *TExprNodeType

func (TExprNodeType) MarshalText

func (p TExprNodeType) MarshalText() ([]byte, error)

func (*TExprNodeType) Scan

func (p *TExprNodeType) Scan(value interface{}) error

func (TExprNodeType) String

func (p TExprNodeType) String() string

func (*TExprNodeType) UnmarshalText

func (p *TExprNodeType) UnmarshalText(text []byte) error

func (*TExprNodeType) Value

func (p *TExprNodeType) Value() (driver.Value, error)

type TExtractField

type TExtractField int64
const (
	TExtractField_INVALID_FIELD TExtractField = 0
	TExtractField_YEAR          TExtractField = 1
	TExtractField_QUARTER       TExtractField = 2
	TExtractField_MONTH         TExtractField = 3
	TExtractField_DAY           TExtractField = 4
	TExtractField_HOUR          TExtractField = 5
	TExtractField_MINUTE        TExtractField = 6
	TExtractField_SECOND        TExtractField = 7
	TExtractField_MILLISECOND   TExtractField = 8
	TExtractField_EPOCH         TExtractField = 9
)

func TExtractFieldFromString

func TExtractFieldFromString(s string) (TExtractField, error)

func TExtractFieldPtr

func TExtractFieldPtr(v TExtractField) *TExtractField

func (TExtractField) MarshalText

func (p TExtractField) MarshalText() ([]byte, error)

func (*TExtractField) Scan

func (p *TExtractField) Scan(value interface{}) error

func (TExtractField) String

func (p TExtractField) String() string

func (*TExtractField) UnmarshalText

func (p *TExtractField) UnmarshalText(text []byte) error

func (*TExtractField) Value

func (p *TExtractField) Value() (driver.Value, error)

type TFloatLiteral

type TFloatLiteral struct {
	Value float64 `thrift:"value,1,required" db:"value" json:"value"`
}

Attributes:

  • Value
var TExprNode_FloatLiteral_DEFAULT *TFloatLiteral

func NewTFloatLiteral

func NewTFloatLiteral() *TFloatLiteral

func (*TFloatLiteral) Equals added in v0.16.0

func (p *TFloatLiteral) Equals(other *TFloatLiteral) bool

func (*TFloatLiteral) GetValue

func (p *TFloatLiteral) GetValue() float64

func (*TFloatLiteral) Read

func (p *TFloatLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TFloatLiteral) ReadField1

func (p *TFloatLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TFloatLiteral) String

func (p *TFloatLiteral) String() string

func (*TFloatLiteral) Write

func (p *TFloatLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TInPredicate

type TInPredicate struct {
	IsNotIn bool `thrift:"is_not_in,1,required" db:"is_not_in" json:"is_not_in"`
}

Attributes:

  • IsNotIn
var TExprNode_InPredicate_DEFAULT *TInPredicate

func NewTInPredicate

func NewTInPredicate() *TInPredicate

func (*TInPredicate) Equals added in v0.16.0

func (p *TInPredicate) Equals(other *TInPredicate) bool

func (*TInPredicate) GetIsNotIn

func (p *TInPredicate) GetIsNotIn() bool

func (*TInPredicate) Read

func (p *TInPredicate) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TInPredicate) ReadField1

func (p *TInPredicate) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TInPredicate) String

func (p *TInPredicate) String() string

func (*TInPredicate) Write

func (p *TInPredicate) Write(ctx context.Context, oprot thrift.TProtocol) error

type TIntLiteral

type TIntLiteral struct {
	Value int64 `thrift:"value,1,required" db:"value" json:"value"`
}

Attributes:

  • Value
var TExprNode_IntLiteral_DEFAULT *TIntLiteral

func NewTIntLiteral

func NewTIntLiteral() *TIntLiteral

func (*TIntLiteral) Equals added in v0.16.0

func (p *TIntLiteral) Equals(other *TIntLiteral) bool

func (*TIntLiteral) GetValue

func (p *TIntLiteral) GetValue() int64

func (*TIntLiteral) Read

func (p *TIntLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TIntLiteral) ReadField1

func (p *TIntLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TIntLiteral) String

func (p *TIntLiteral) String() string

func (*TIntLiteral) Write

func (p *TIntLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TIsNullPredicate

type TIsNullPredicate struct {
	IsNotNull bool `thrift:"is_not_null,1,required" db:"is_not_null" json:"is_not_null"`
}

Attributes:

  • IsNotNull
var TExprNode_IsNullPred_DEFAULT *TIsNullPredicate

func NewTIsNullPredicate

func NewTIsNullPredicate() *TIsNullPredicate

func (*TIsNullPredicate) Equals added in v0.16.0

func (p *TIsNullPredicate) Equals(other *TIsNullPredicate) bool

func (*TIsNullPredicate) GetIsNotNull

func (p *TIsNullPredicate) GetIsNotNull() bool

func (*TIsNullPredicate) Read

func (p *TIsNullPredicate) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TIsNullPredicate) ReadField1

func (p *TIsNullPredicate) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TIsNullPredicate) String

func (p *TIsNullPredicate) String() string

func (*TIsNullPredicate) Write

func (p *TIsNullPredicate) Write(ctx context.Context, oprot thrift.TProtocol) error

type TKuduPartitionExpr

type TKuduPartitionExpr struct {
	TargetTableID     types.TTableId `thrift:"target_table_id,1,required" db:"target_table_id" json:"target_table_id"`
	ReferencedColumns []int32        `thrift:"referenced_columns,2,required" db:"referenced_columns" json:"referenced_columns"`
}

Attributes:

  • TargetTableID
  • ReferencedColumns
var TExprNode_KuduPartitionExpr_DEFAULT *TKuduPartitionExpr

func NewTKuduPartitionExpr

func NewTKuduPartitionExpr() *TKuduPartitionExpr

func (*TKuduPartitionExpr) Equals added in v0.16.0

func (p *TKuduPartitionExpr) Equals(other *TKuduPartitionExpr) bool

func (*TKuduPartitionExpr) GetReferencedColumns

func (p *TKuduPartitionExpr) GetReferencedColumns() []int32

func (*TKuduPartitionExpr) GetTargetTableID

func (p *TKuduPartitionExpr) GetTargetTableID() types.TTableId

func (*TKuduPartitionExpr) Read

func (*TKuduPartitionExpr) ReadField1

func (p *TKuduPartitionExpr) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TKuduPartitionExpr) ReadField2

func (p *TKuduPartitionExpr) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TKuduPartitionExpr) String

func (p *TKuduPartitionExpr) String() string

func (*TKuduPartitionExpr) Write

func (p *TKuduPartitionExpr) Write(ctx context.Context, oprot thrift.TProtocol) error

type TLiteralPredicate

type TLiteralPredicate struct {
	Value  bool `thrift:"value,1,required" db:"value" json:"value"`
	IsNull bool `thrift:"is_null,2,required" db:"is_null" json:"is_null"`
}

Attributes:

  • Value
  • IsNull
var TExprNode_LiteralPred_DEFAULT *TLiteralPredicate

func NewTLiteralPredicate

func NewTLiteralPredicate() *TLiteralPredicate

func (*TLiteralPredicate) Equals added in v0.16.0

func (p *TLiteralPredicate) Equals(other *TLiteralPredicate) bool

func (*TLiteralPredicate) GetIsNull

func (p *TLiteralPredicate) GetIsNull() bool

func (*TLiteralPredicate) GetValue

func (p *TLiteralPredicate) GetValue() bool

func (*TLiteralPredicate) Read

func (p *TLiteralPredicate) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TLiteralPredicate) ReadField1

func (p *TLiteralPredicate) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TLiteralPredicate) ReadField2

func (p *TLiteralPredicate) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TLiteralPredicate) String

func (p *TLiteralPredicate) String() string

func (*TLiteralPredicate) Write

func (p *TLiteralPredicate) Write(ctx context.Context, oprot thrift.TProtocol) error

type TSlotRef

type TSlotRef struct {
	SlotID types.TSlotId `thrift:"slot_id,1,required" db:"slot_id" json:"slot_id"`
}

Attributes:

  • SlotID
var TExprNode_SlotRef_DEFAULT *TSlotRef

func NewTSlotRef

func NewTSlotRef() *TSlotRef

func (*TSlotRef) Equals added in v0.16.0

func (p *TSlotRef) Equals(other *TSlotRef) bool

func (*TSlotRef) GetSlotID

func (p *TSlotRef) GetSlotID() types.TSlotId

func (*TSlotRef) Read

func (p *TSlotRef) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TSlotRef) ReadField1

func (p *TSlotRef) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TSlotRef) String

func (p *TSlotRef) String() string

func (*TSlotRef) Write

func (p *TSlotRef) Write(ctx context.Context, oprot thrift.TProtocol) error

type TStringLiteral

type TStringLiteral struct {
	Value string `thrift:"value,1,required" db:"value" json:"value"`
}

Attributes:

  • Value
var TExprNode_StringLiteral_DEFAULT *TStringLiteral

func NewTStringLiteral

func NewTStringLiteral() *TStringLiteral

func (*TStringLiteral) Equals added in v0.16.0

func (p *TStringLiteral) Equals(other *TStringLiteral) bool

func (*TStringLiteral) GetValue

func (p *TStringLiteral) GetValue() string

func (*TStringLiteral) Read

func (p *TStringLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TStringLiteral) ReadField1

func (p *TStringLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TStringLiteral) String

func (p *TStringLiteral) String() string

func (*TStringLiteral) Write

func (p *TStringLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TTimestampLiteral

type TTimestampLiteral struct {
	Value []byte `thrift:"value,1,required" db:"value" json:"value"`
}

Attributes:

  • Value
var TExprNode_TimestampLiteral_DEFAULT *TTimestampLiteral

func NewTTimestampLiteral

func NewTTimestampLiteral() *TTimestampLiteral

func (*TTimestampLiteral) Equals added in v0.16.0

func (p *TTimestampLiteral) Equals(other *TTimestampLiteral) bool

func (*TTimestampLiteral) GetValue

func (p *TTimestampLiteral) GetValue() []byte

func (*TTimestampLiteral) Read

func (p *TTimestampLiteral) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TTimestampLiteral) ReadField1

func (p *TTimestampLiteral) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TTimestampLiteral) String

func (p *TTimestampLiteral) String() string

func (*TTimestampLiteral) Write

func (p *TTimestampLiteral) Write(ctx context.Context, oprot thrift.TProtocol) error

type TTupleIsNullPredicate

type TTupleIsNullPredicate struct {
	TupleIds []types.TTupleId `thrift:"tuple_ids,1,required" db:"tuple_ids" json:"tuple_ids"`
}

Attributes:

  • TupleIds
var TExprNode_TupleIsNullPred_DEFAULT *TTupleIsNullPredicate

func NewTTupleIsNullPredicate

func NewTTupleIsNullPredicate() *TTupleIsNullPredicate

func (*TTupleIsNullPredicate) Equals added in v0.16.0

func (*TTupleIsNullPredicate) GetTupleIds

func (p *TTupleIsNullPredicate) GetTupleIds() []types.TTupleId

func (*TTupleIsNullPredicate) Read

func (*TTupleIsNullPredicate) ReadField1

func (p *TTupleIsNullPredicate) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TTupleIsNullPredicate) String

func (p *TTupleIsNullPredicate) String() string

func (*TTupleIsNullPredicate) Write

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL