Documentation ¶
Index ¶
- Variables
- type TDataPartition
- func (p *TDataPartition) Equals(other *TDataPartition) bool
- func (p *TDataPartition) GetPartitionExprs() []*exprs.TExpr
- func (p *TDataPartition) GetType() TPartitionType
- func (p *TDataPartition) IsSetPartitionExprs() bool
- func (p *TDataPartition) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TDataPartition) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TDataPartition) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TDataPartition) String() string
- func (p *TDataPartition) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TPartitionType
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var TDataPartition_PartitionExprs_DEFAULT []*exprs.TExpr
Functions ¶
This section is empty.
Types ¶
type TDataPartition ¶
type TDataPartition struct { Type TPartitionType `thrift:"type,1,required" db:"type" json:"type"` PartitionExprs []*exprs.TExpr `thrift:"partition_exprs,2" db:"partition_exprs" json:"partition_exprs,omitempty"` }
Attributes:
- Type
- PartitionExprs
func NewTDataPartition ¶
func NewTDataPartition() *TDataPartition
func (*TDataPartition) Equals ¶ added in v0.16.0
func (p *TDataPartition) Equals(other *TDataPartition) bool
func (*TDataPartition) GetPartitionExprs ¶
func (p *TDataPartition) GetPartitionExprs() []*exprs.TExpr
func (*TDataPartition) GetType ¶
func (p *TDataPartition) GetType() TPartitionType
func (*TDataPartition) IsSetPartitionExprs ¶
func (p *TDataPartition) IsSetPartitionExprs() bool
func (*TDataPartition) ReadField1 ¶
func (*TDataPartition) ReadField2 ¶
func (*TDataPartition) String ¶
func (p *TDataPartition) String() string
type TPartitionType ¶
type TPartitionType int64
const ( TPartitionType_UNPARTITIONED TPartitionType = 0 TPartitionType_RANDOM TPartitionType = 1 TPartitionType_HASH_PARTITIONED TPartitionType = 2 TPartitionType_RANGE_PARTITIONED TPartitionType = 3 TPartitionType_KUDU TPartitionType = 4 )
func TPartitionTypeFromString ¶
func TPartitionTypeFromString(s string) (TPartitionType, error)
func TPartitionTypePtr ¶
func TPartitionTypePtr(v TPartitionType) *TPartitionType
func (TPartitionType) MarshalText ¶
func (p TPartitionType) MarshalText() ([]byte, error)
func (*TPartitionType) Scan ¶
func (p *TPartitionType) Scan(value interface{}) error
func (TPartitionType) String ¶
func (p TPartitionType) String() string
func (*TPartitionType) UnmarshalText ¶
func (p *TPartitionType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.