common

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var TFlushReq_IsSeq_DEFAULT string
View Source
var TFlushReq_RegionIds_DEFAULT []string
View Source
var TFlushReq_StorageGroups_DEFAULT []string
View Source
var TNodeLocations_ConfigNodeLocations_DEFAULT []*TConfigNodeLocation
View Source
var TNodeLocations_DataNodeLocations_DEFAULT []*TDataNodeLocation
View Source
var TPipeHeartbeatResp_PipeCompletedList_DEFAULT []bool
View Source
var TPipeHeartbeatResp_PipeRemainingEventCountList_DEFAULT []int64
View Source
var TPipeHeartbeatResp_PipeRemainingTimeList_DEFAULT []float64
View Source
var TSStatus_Message_DEFAULT string
View Source
var TSStatus_NeedRetry_DEFAULT bool
View Source
var TSStatus_SubStatus_DEFAULT []*TSStatus
View Source
var TShowAppliedConfigurationsResp_Data_DEFAULT map[string]string
View Source
var TSpaceQuota_DeviceNum_DEFAULT int64
View Source
var TSpaceQuota_DiskSize_DEFAULT int64
View Source
var TSpaceQuota_TimeserieNum_DEFAULT int64
View Source
var TTestConnectionResult__Reason_DEFAULT string
View Source
var TThrottleQuota_CpuLimit_DEFAULT int32
View Source
var TThrottleQuota_MemLimit_DEFAULT int64
View Source
var TThrottleQuota_ThrottleLimit_DEFAULT map[ThrottleType]*TTimedQuota

Functions

This section is empty.

Types

type FunctionType

type FunctionType int64
const (
	FunctionType_NONE      FunctionType = 0
	FunctionType_SCALAR    FunctionType = 1
	FunctionType_AGGREGATE FunctionType = 2
	FunctionType_TABLE     FunctionType = 3
)

func FunctionTypeFromString

func FunctionTypeFromString(s string) (FunctionType, error)

func FunctionTypePtr

func FunctionTypePtr(v FunctionType) *FunctionType

func (FunctionType) MarshalText

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

func (*FunctionType) Scan

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

func (FunctionType) String

func (p FunctionType) String() string

func (*FunctionType) UnmarshalText

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

func (*FunctionType) Value

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

type Model

type Model int64
const (
	Model_TREE  Model = 0
	Model_TABLE Model = 1
)

func ModelFromString

func ModelFromString(s string) (Model, error)

func ModelPtr

func ModelPtr(v Model) *Model

func (Model) MarshalText

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

func (*Model) Scan

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

func (Model) String

func (p Model) String() string

func (*Model) UnmarshalText

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

func (*Model) Value

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

type TAINodeConfiguration

type TAINodeConfiguration struct {
	Location *TAINodeLocation `thrift:"location,1,required" db:"location" json:"location"`
	Resource *TNodeResource   `thrift:"resource,2,required" db:"resource" json:"resource"`
}

Attributes:

  • Location
  • Resource

func NewTAINodeConfiguration

func NewTAINodeConfiguration() *TAINodeConfiguration

func (*TAINodeConfiguration) Equals

func (*TAINodeConfiguration) GetLocation

func (p *TAINodeConfiguration) GetLocation() *TAINodeLocation

func (*TAINodeConfiguration) GetResource

func (p *TAINodeConfiguration) GetResource() *TNodeResource

func (*TAINodeConfiguration) IsSetLocation

func (p *TAINodeConfiguration) IsSetLocation() bool

func (*TAINodeConfiguration) IsSetResource

func (p *TAINodeConfiguration) IsSetResource() bool

func (*TAINodeConfiguration) Read

func (*TAINodeConfiguration) ReadField1

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

func (*TAINodeConfiguration) ReadField2

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

func (*TAINodeConfiguration) String

func (p *TAINodeConfiguration) String() string

func (*TAINodeConfiguration) Write

type TAINodeLocation

type TAINodeLocation struct {
	AiNodeId         int32      `thrift:"aiNodeId,1,required" db:"aiNodeId" json:"aiNodeId"`
	InternalEndPoint *TEndPoint `thrift:"internalEndPoint,2,required" db:"internalEndPoint" json:"internalEndPoint"`
}

Attributes:

  • AiNodeId
  • InternalEndPoint
var TAINodeConfiguration_Location_DEFAULT *TAINodeLocation

func NewTAINodeLocation

func NewTAINodeLocation() *TAINodeLocation

func (*TAINodeLocation) Equals

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

func (*TAINodeLocation) GetAiNodeId

func (p *TAINodeLocation) GetAiNodeId() int32

func (*TAINodeLocation) GetInternalEndPoint

func (p *TAINodeLocation) GetInternalEndPoint() *TEndPoint

func (*TAINodeLocation) IsSetInternalEndPoint

func (p *TAINodeLocation) IsSetInternalEndPoint() bool

func (*TAINodeLocation) Read

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

func (*TAINodeLocation) ReadField1

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

func (*TAINodeLocation) ReadField2

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

func (*TAINodeLocation) String

func (p *TAINodeLocation) String() string

func (*TAINodeLocation) Write

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

type TAggregationType

type TAggregationType int64
const (
	TAggregationType_COUNT                 TAggregationType = 0
	TAggregationType_AVG                   TAggregationType = 1
	TAggregationType_SUM                   TAggregationType = 2
	TAggregationType_FIRST_VALUE           TAggregationType = 3
	TAggregationType_LAST_VALUE            TAggregationType = 4
	TAggregationType_MAX_TIME              TAggregationType = 5
	TAggregationType_MIN_TIME              TAggregationType = 6
	TAggregationType_MAX_VALUE             TAggregationType = 7
	TAggregationType_MIN_VALUE             TAggregationType = 8
	TAggregationType_EXTREME               TAggregationType = 9
	TAggregationType_COUNT_IF              TAggregationType = 10
	TAggregationType_TIME_DURATION         TAggregationType = 11
	TAggregationType_MODE                  TAggregationType = 12
	TAggregationType_COUNT_TIME            TAggregationType = 13
	TAggregationType_STDDEV                TAggregationType = 14
	TAggregationType_STDDEV_POP            TAggregationType = 15
	TAggregationType_STDDEV_SAMP           TAggregationType = 16
	TAggregationType_VARIANCE              TAggregationType = 17
	TAggregationType_VAR_POP               TAggregationType = 18
	TAggregationType_VAR_SAMP              TAggregationType = 19
	TAggregationType_MAX_BY                TAggregationType = 20
	TAggregationType_MIN_BY                TAggregationType = 21
	TAggregationType_UDAF                  TAggregationType = 22
	TAggregationType_FIRST                 TAggregationType = 23
	TAggregationType_LAST                  TAggregationType = 24
	TAggregationType_FIRST_BY              TAggregationType = 25
	TAggregationType_LAST_BY               TAggregationType = 26
	TAggregationType_MIN                   TAggregationType = 27
	TAggregationType_MAX                   TAggregationType = 28
	TAggregationType_COUNT_ALL             TAggregationType = 29
	TAggregationType_APPROX_COUNT_DISTINCT TAggregationType = 30
	TAggregationType_APPROX_MOST_FREQUENT  TAggregationType = 31
	TAggregationType_APPROX_PERCENTILE     TAggregationType = 32
)

func TAggregationTypeFromString

func TAggregationTypeFromString(s string) (TAggregationType, error)

func TAggregationTypePtr

func TAggregationTypePtr(v TAggregationType) *TAggregationType

func (TAggregationType) MarshalText

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

func (*TAggregationType) Scan

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

func (TAggregationType) String

func (p TAggregationType) String() string

func (*TAggregationType) UnmarshalText

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

func (*TAggregationType) Value

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

type TConfigNodeLocation

type TConfigNodeLocation struct {
	ConfigNodeId      int32      `thrift:"configNodeId,1,required" db:"configNodeId" json:"configNodeId"`
	InternalEndPoint  *TEndPoint `thrift:"internalEndPoint,2,required" db:"internalEndPoint" json:"internalEndPoint"`
	ConsensusEndPoint *TEndPoint `thrift:"consensusEndPoint,3,required" db:"consensusEndPoint" json:"consensusEndPoint"`
}

Attributes:

  • ConfigNodeId
  • InternalEndPoint
  • ConsensusEndPoint
var TSender_ConfigNodeLocation_DEFAULT *TConfigNodeLocation

func NewTConfigNodeLocation

func NewTConfigNodeLocation() *TConfigNodeLocation

func (*TConfigNodeLocation) Equals

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

func (*TConfigNodeLocation) GetConfigNodeId

func (p *TConfigNodeLocation) GetConfigNodeId() int32

func (*TConfigNodeLocation) GetConsensusEndPoint

func (p *TConfigNodeLocation) GetConsensusEndPoint() *TEndPoint

func (*TConfigNodeLocation) GetInternalEndPoint

func (p *TConfigNodeLocation) GetInternalEndPoint() *TEndPoint

func (*TConfigNodeLocation) IsSetConsensusEndPoint

func (p *TConfigNodeLocation) IsSetConsensusEndPoint() bool

func (*TConfigNodeLocation) IsSetInternalEndPoint

func (p *TConfigNodeLocation) IsSetInternalEndPoint() bool

func (*TConfigNodeLocation) Read

func (*TConfigNodeLocation) ReadField1

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

func (*TConfigNodeLocation) ReadField2

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

func (*TConfigNodeLocation) ReadField3

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

func (*TConfigNodeLocation) String

func (p *TConfigNodeLocation) String() string

func (*TConfigNodeLocation) Write

type TConsensusGroupId

type TConsensusGroupId struct {
	Type TConsensusGroupType `thrift:"type,1,required" db:"type" json:"type"`
	ID   int32               `thrift:"id,2,required" db:"id" json:"id"`
}

Attributes:

  • Type
  • ID
var TRegionReplicaSet_RegionId_DEFAULT *TConsensusGroupId

func NewTConsensusGroupId

func NewTConsensusGroupId() *TConsensusGroupId

func (*TConsensusGroupId) Equals

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

func (*TConsensusGroupId) GetID

func (p *TConsensusGroupId) GetID() int32

func (*TConsensusGroupId) GetType

func (*TConsensusGroupId) Read

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

func (*TConsensusGroupId) ReadField1

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

func (*TConsensusGroupId) ReadField2

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

func (*TConsensusGroupId) String

func (p *TConsensusGroupId) String() string

func (*TConsensusGroupId) Write

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

type TConsensusGroupType

type TConsensusGroupType int64
const (
	TConsensusGroupType_ConfigRegion TConsensusGroupType = 0
	TConsensusGroupType_DataRegion   TConsensusGroupType = 1
	TConsensusGroupType_SchemaRegion TConsensusGroupType = 2
)

func TConsensusGroupTypeFromString

func TConsensusGroupTypeFromString(s string) (TConsensusGroupType, error)

func TConsensusGroupTypePtr

func TConsensusGroupTypePtr(v TConsensusGroupType) *TConsensusGroupType

func (TConsensusGroupType) MarshalText

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

func (*TConsensusGroupType) Scan

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

func (TConsensusGroupType) String

func (p TConsensusGroupType) String() string

func (*TConsensusGroupType) UnmarshalText

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

func (*TConsensusGroupType) Value

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

type TDataNodeConfiguration

type TDataNodeConfiguration struct {
	Location *TDataNodeLocation `thrift:"location,1,required" db:"location" json:"location"`
	Resource *TNodeResource     `thrift:"resource,2,required" db:"resource" json:"resource"`
}

Attributes:

  • Location
  • Resource

func NewTDataNodeConfiguration

func NewTDataNodeConfiguration() *TDataNodeConfiguration

func (*TDataNodeConfiguration) Equals

func (*TDataNodeConfiguration) GetLocation

func (p *TDataNodeConfiguration) GetLocation() *TDataNodeLocation

func (*TDataNodeConfiguration) GetResource

func (p *TDataNodeConfiguration) GetResource() *TNodeResource

func (*TDataNodeConfiguration) IsSetLocation

func (p *TDataNodeConfiguration) IsSetLocation() bool

func (*TDataNodeConfiguration) IsSetResource

func (p *TDataNodeConfiguration) IsSetResource() bool

func (*TDataNodeConfiguration) Read

func (*TDataNodeConfiguration) ReadField1

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

func (*TDataNodeConfiguration) ReadField2

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

func (*TDataNodeConfiguration) String

func (p *TDataNodeConfiguration) String() string

func (*TDataNodeConfiguration) Write

type TDataNodeLocation

type TDataNodeLocation struct {
	DataNodeId                    int32      `thrift:"dataNodeId,1,required" db:"dataNodeId" json:"dataNodeId"`
	ClientRpcEndPoint             *TEndPoint `thrift:"clientRpcEndPoint,2,required" db:"clientRpcEndPoint" json:"clientRpcEndPoint"`
	InternalEndPoint              *TEndPoint `thrift:"internalEndPoint,3,required" db:"internalEndPoint" json:"internalEndPoint"`
	MPPDataExchangeEndPoint       *TEndPoint `thrift:"mPPDataExchangeEndPoint,4,required" db:"mPPDataExchangeEndPoint" json:"mPPDataExchangeEndPoint"`
	DataRegionConsensusEndPoint   *TEndPoint `thrift:"dataRegionConsensusEndPoint,5,required" db:"dataRegionConsensusEndPoint" json:"dataRegionConsensusEndPoint"`
	SchemaRegionConsensusEndPoint *TEndPoint `thrift:"schemaRegionConsensusEndPoint,6,required" db:"schemaRegionConsensusEndPoint" json:"schemaRegionConsensusEndPoint"`
}

Attributes:

  • DataNodeId
  • ClientRpcEndPoint
  • InternalEndPoint
  • MPPDataExchangeEndPoint
  • DataRegionConsensusEndPoint
  • SchemaRegionConsensusEndPoint
var TDataNodeConfiguration_Location_DEFAULT *TDataNodeLocation
var TSender_DataNodeLocation_DEFAULT *TDataNodeLocation

func NewTDataNodeLocation

func NewTDataNodeLocation() *TDataNodeLocation

func (*TDataNodeLocation) Equals

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

func (*TDataNodeLocation) GetClientRpcEndPoint

func (p *TDataNodeLocation) GetClientRpcEndPoint() *TEndPoint

func (*TDataNodeLocation) GetDataNodeId

func (p *TDataNodeLocation) GetDataNodeId() int32

func (*TDataNodeLocation) GetDataRegionConsensusEndPoint

func (p *TDataNodeLocation) GetDataRegionConsensusEndPoint() *TEndPoint

func (*TDataNodeLocation) GetInternalEndPoint

func (p *TDataNodeLocation) GetInternalEndPoint() *TEndPoint

func (*TDataNodeLocation) GetMPPDataExchangeEndPoint

func (p *TDataNodeLocation) GetMPPDataExchangeEndPoint() *TEndPoint

func (*TDataNodeLocation) GetSchemaRegionConsensusEndPoint

func (p *TDataNodeLocation) GetSchemaRegionConsensusEndPoint() *TEndPoint

func (*TDataNodeLocation) IsSetClientRpcEndPoint

func (p *TDataNodeLocation) IsSetClientRpcEndPoint() bool

func (*TDataNodeLocation) IsSetDataRegionConsensusEndPoint

func (p *TDataNodeLocation) IsSetDataRegionConsensusEndPoint() bool

func (*TDataNodeLocation) IsSetInternalEndPoint

func (p *TDataNodeLocation) IsSetInternalEndPoint() bool

func (*TDataNodeLocation) IsSetMPPDataExchangeEndPoint

func (p *TDataNodeLocation) IsSetMPPDataExchangeEndPoint() bool

func (*TDataNodeLocation) IsSetSchemaRegionConsensusEndPoint

func (p *TDataNodeLocation) IsSetSchemaRegionConsensusEndPoint() bool

func (*TDataNodeLocation) Read

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

func (*TDataNodeLocation) ReadField1

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

func (*TDataNodeLocation) ReadField2

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

func (*TDataNodeLocation) ReadField3

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

func (*TDataNodeLocation) ReadField4

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

func (*TDataNodeLocation) ReadField5

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

func (*TDataNodeLocation) ReadField6

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

func (*TDataNodeLocation) String

func (p *TDataNodeLocation) String() string

func (*TDataNodeLocation) Write

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

type TEndPoint

type TEndPoint struct {
	IP   string `thrift:"ip,1,required" db:"ip" json:"ip"`
	Port int32  `thrift:"port,2,required" db:"port" json:"port"`
}

Attributes:

  • IP
  • Port
var TAINodeLocation_InternalEndPoint_DEFAULT *TEndPoint
var TConfigNodeLocation_ConsensusEndPoint_DEFAULT *TEndPoint
var TConfigNodeLocation_InternalEndPoint_DEFAULT *TEndPoint
var TDataNodeLocation_ClientRpcEndPoint_DEFAULT *TEndPoint
var TDataNodeLocation_DataRegionConsensusEndPoint_DEFAULT *TEndPoint
var TDataNodeLocation_InternalEndPoint_DEFAULT *TEndPoint
var TDataNodeLocation_MPPDataExchangeEndPoint_DEFAULT *TEndPoint
var TDataNodeLocation_SchemaRegionConsensusEndPoint_DEFAULT *TEndPoint
var TSStatus_RedirectNode_DEFAULT *TEndPoint
var TServiceProvider_EndPoint_DEFAULT *TEndPoint

func NewTEndPoint

func NewTEndPoint() *TEndPoint

func (*TEndPoint) Equals

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

func (*TEndPoint) GetIP

func (p *TEndPoint) GetIP() string

func (*TEndPoint) GetPort

func (p *TEndPoint) GetPort() int32

func (*TEndPoint) Read

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

func (*TEndPoint) ReadField1

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

func (*TEndPoint) ReadField2

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

func (*TEndPoint) String

func (p *TEndPoint) String() string

func (*TEndPoint) Write

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

type TExternalServiceEntry

type TExternalServiceEntry struct {
	ServiceName string `thrift:"serviceName,1,required" db:"serviceName" json:"serviceName"`
	ClassName   string `thrift:"className,2,required" db:"className" json:"className"`
	State       int8   `thrift:"state,3,required" db:"state" json:"state"`
	DataNodeId  int32  `thrift:"dataNodeId,4,required" db:"dataNodeId" json:"dataNodeId"`
	ServiceType int8   `thrift:"serviceType,5,required" db:"serviceType" json:"serviceType"`
}

Attributes:

  • ServiceName
  • ClassName
  • State
  • DataNodeId
  • ServiceType

func NewTExternalServiceEntry

func NewTExternalServiceEntry() *TExternalServiceEntry

func (*TExternalServiceEntry) Equals

func (*TExternalServiceEntry) GetClassName

func (p *TExternalServiceEntry) GetClassName() string

func (*TExternalServiceEntry) GetDataNodeId

func (p *TExternalServiceEntry) GetDataNodeId() int32

func (*TExternalServiceEntry) GetServiceName

func (p *TExternalServiceEntry) GetServiceName() string

func (*TExternalServiceEntry) GetServiceType

func (p *TExternalServiceEntry) GetServiceType() int8

func (*TExternalServiceEntry) GetState

func (p *TExternalServiceEntry) GetState() int8

func (*TExternalServiceEntry) Read

func (*TExternalServiceEntry) ReadField1

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

func (*TExternalServiceEntry) ReadField2

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

func (*TExternalServiceEntry) ReadField3

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

func (*TExternalServiceEntry) ReadField4

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

func (*TExternalServiceEntry) ReadField5

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

func (*TExternalServiceEntry) String

func (p *TExternalServiceEntry) String() string

func (*TExternalServiceEntry) Write

type TExternalServiceListResp

type TExternalServiceListResp struct {
	Status               *TSStatus                `thrift:"status,1,required" db:"status" json:"status"`
	ExternalServiceInfos []*TExternalServiceEntry `thrift:"externalServiceInfos,2,required" db:"externalServiceInfos" json:"externalServiceInfos"`
}

Attributes:

  • Status
  • ExternalServiceInfos

func NewTExternalServiceListResp

func NewTExternalServiceListResp() *TExternalServiceListResp

func (*TExternalServiceListResp) Equals

func (*TExternalServiceListResp) GetExternalServiceInfos

func (p *TExternalServiceListResp) GetExternalServiceInfos() []*TExternalServiceEntry

func (*TExternalServiceListResp) GetStatus

func (p *TExternalServiceListResp) GetStatus() *TSStatus

func (*TExternalServiceListResp) IsSetStatus

func (p *TExternalServiceListResp) IsSetStatus() bool

func (*TExternalServiceListResp) Read

func (*TExternalServiceListResp) ReadField1

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

func (*TExternalServiceListResp) ReadField2

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

func (*TExternalServiceListResp) String

func (p *TExternalServiceListResp) String() string

func (*TExternalServiceListResp) Write

type TFile

type TFile struct {
	FileName string `thrift:"fileName,1,required" db:"fileName" json:"fileName"`
	File     []byte `thrift:"file,2,required" db:"file" json:"file"`
}

Attributes:

  • FileName
  • File

func NewTFile

func NewTFile() *TFile

func (*TFile) Equals

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

func (*TFile) GetFile

func (p *TFile) GetFile() []byte

func (*TFile) GetFileName

func (p *TFile) GetFileName() string

func (*TFile) Read

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

func (*TFile) ReadField1

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

func (*TFile) ReadField2

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

func (*TFile) String

func (p *TFile) String() string

func (*TFile) Write

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

type TFilesResp

type TFilesResp struct {
	Status *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
	Files  []*TFile  `thrift:"files,2,required" db:"files" json:"files"`
}

Attributes:

  • Status
  • Files

func NewTFilesResp

func NewTFilesResp() *TFilesResp

func (*TFilesResp) Equals

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

func (*TFilesResp) GetFiles

func (p *TFilesResp) GetFiles() []*TFile

func (*TFilesResp) GetStatus

func (p *TFilesResp) GetStatus() *TSStatus

func (*TFilesResp) IsSetStatus

func (p *TFilesResp) IsSetStatus() bool

func (*TFilesResp) Read

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

func (*TFilesResp) ReadField1

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

func (*TFilesResp) ReadField2

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

func (*TFilesResp) String

func (p *TFilesResp) String() string

func (*TFilesResp) Write

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

type TFlushReq

type TFlushReq struct {
	IsSeq         *string  `thrift:"isSeq,1" db:"isSeq" json:"isSeq,omitempty"`
	StorageGroups []string `thrift:"storageGroups,2" db:"storageGroups" json:"storageGroups,omitempty"`
	RegionIds     []string `thrift:"regionIds,3" db:"regionIds" json:"regionIds,omitempty"`
}

Attributes:

  • IsSeq
  • StorageGroups
  • RegionIds

func NewTFlushReq

func NewTFlushReq() *TFlushReq

func (*TFlushReq) Equals

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

func (*TFlushReq) GetIsSeq

func (p *TFlushReq) GetIsSeq() string

func (*TFlushReq) GetRegionIds

func (p *TFlushReq) GetRegionIds() []string

func (*TFlushReq) GetStorageGroups

func (p *TFlushReq) GetStorageGroups() []string

func (*TFlushReq) IsSetIsSeq

func (p *TFlushReq) IsSetIsSeq() bool

func (*TFlushReq) IsSetRegionIds

func (p *TFlushReq) IsSetRegionIds() bool

func (*TFlushReq) IsSetStorageGroups

func (p *TFlushReq) IsSetStorageGroups() bool

func (*TFlushReq) Read

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

func (*TFlushReq) ReadField1

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

func (*TFlushReq) ReadField2

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

func (*TFlushReq) ReadField3

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

func (*TFlushReq) String

func (p *TFlushReq) String() string

func (*TFlushReq) Write

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

type TLicense

type TLicense struct {
	LicenseIssueTimestamp int64 `thrift:"licenseIssueTimestamp,1,required" db:"licenseIssueTimestamp" json:"licenseIssueTimestamp"`
	ExpireTimestamp       int64 `thrift:"expireTimestamp,2,required" db:"expireTimestamp" json:"expireTimestamp"`
	// unused field # 3
	DataNodeNumLimit                     int16 `thrift:"dataNodeNumLimit,4,required" db:"dataNodeNumLimit" json:"dataNodeNumLimit"`
	CpuCoreNumLimit                      int32 `thrift:"cpuCoreNumLimit,5,required" db:"cpuCoreNumLimit" json:"cpuCoreNumLimit"`
	DeviceNumLimit                       int64 `thrift:"deviceNumLimit,6,required" db:"deviceNumLimit" json:"deviceNumLimit"`
	SensorNumLimit                       int64 `thrift:"sensorNumLimit,7,required" db:"sensorNumLimit" json:"sensorNumLimit"`
	DisconnectionFromActiveNodeTimeLimit int64 `` /* 142-byte string literal not displayed */
	MlNodeNumLimit                       int16 `thrift:"mlNodeNumLimit,9,required" db:"mlNodeNumLimit" json:"mlNodeNumLimit"`
}

Attributes:

  • LicenseIssueTimestamp
  • ExpireTimestamp
  • DataNodeNumLimit
  • CpuCoreNumLimit
  • DeviceNumLimit
  • SensorNumLimit
  • DisconnectionFromActiveNodeTimeLimit
  • MlNodeNumLimit

func NewTLicense

func NewTLicense() *TLicense

func (*TLicense) Equals

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

func (*TLicense) GetCpuCoreNumLimit

func (p *TLicense) GetCpuCoreNumLimit() int32

func (*TLicense) GetDataNodeNumLimit

func (p *TLicense) GetDataNodeNumLimit() int16

func (*TLicense) GetDeviceNumLimit

func (p *TLicense) GetDeviceNumLimit() int64

func (*TLicense) GetDisconnectionFromActiveNodeTimeLimit

func (p *TLicense) GetDisconnectionFromActiveNodeTimeLimit() int64

func (*TLicense) GetExpireTimestamp

func (p *TLicense) GetExpireTimestamp() int64

func (*TLicense) GetLicenseIssueTimestamp

func (p *TLicense) GetLicenseIssueTimestamp() int64

func (*TLicense) GetMlNodeNumLimit

func (p *TLicense) GetMlNodeNumLimit() int16

func (*TLicense) GetSensorNumLimit

func (p *TLicense) GetSensorNumLimit() int64

func (*TLicense) Read

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

func (*TLicense) ReadField1

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

func (*TLicense) ReadField2

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

func (*TLicense) ReadField4

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

func (*TLicense) ReadField5

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

func (*TLicense) ReadField6

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

func (*TLicense) ReadField7

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

func (*TLicense) ReadField8

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

func (*TLicense) ReadField9

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

func (*TLicense) String

func (p *TLicense) String() string

func (*TLicense) Write

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

type TLoadSample

type TLoadSample struct {
	CpuUsageRate    float64 `thrift:"cpuUsageRate,1,required" db:"cpuUsageRate" json:"cpuUsageRate"`
	MemoryUsageRate float64 `thrift:"memoryUsageRate,2,required" db:"memoryUsageRate" json:"memoryUsageRate"`
	DiskUsageRate   float64 `thrift:"diskUsageRate,3,required" db:"diskUsageRate" json:"diskUsageRate"`
	FreeDiskSpace   float64 `thrift:"freeDiskSpace,4,required" db:"freeDiskSpace" json:"freeDiskSpace"`
}

Attributes:

  • CpuUsageRate
  • MemoryUsageRate
  • DiskUsageRate
  • FreeDiskSpace

func NewTLoadSample

func NewTLoadSample() *TLoadSample

func (*TLoadSample) Equals

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

func (*TLoadSample) GetCpuUsageRate

func (p *TLoadSample) GetCpuUsageRate() float64

func (*TLoadSample) GetDiskUsageRate

func (p *TLoadSample) GetDiskUsageRate() float64

func (*TLoadSample) GetFreeDiskSpace

func (p *TLoadSample) GetFreeDiskSpace() float64

func (*TLoadSample) GetMemoryUsageRate

func (p *TLoadSample) GetMemoryUsageRate() float64

func (*TLoadSample) Read

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

func (*TLoadSample) ReadField1

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

func (*TLoadSample) ReadField2

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

func (*TLoadSample) ReadField3

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

func (*TLoadSample) ReadField4

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

func (*TLoadSample) String

func (p *TLoadSample) String() string

func (*TLoadSample) Write

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

type TNodeLocations

type TNodeLocations struct {
	ConfigNodeLocations []*TConfigNodeLocation `thrift:"configNodeLocations,1" db:"configNodeLocations" json:"configNodeLocations,omitempty"`
	DataNodeLocations   []*TDataNodeLocation   `thrift:"dataNodeLocations,2" db:"dataNodeLocations" json:"dataNodeLocations,omitempty"`
}

Attributes:

  • ConfigNodeLocations
  • DataNodeLocations

func NewTNodeLocations

func NewTNodeLocations() *TNodeLocations

func (*TNodeLocations) Equals

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

func (*TNodeLocations) GetConfigNodeLocations

func (p *TNodeLocations) GetConfigNodeLocations() []*TConfigNodeLocation

func (*TNodeLocations) GetDataNodeLocations

func (p *TNodeLocations) GetDataNodeLocations() []*TDataNodeLocation

func (*TNodeLocations) IsSetConfigNodeLocations

func (p *TNodeLocations) IsSetConfigNodeLocations() bool

func (*TNodeLocations) IsSetDataNodeLocations

func (p *TNodeLocations) IsSetDataNodeLocations() bool

func (*TNodeLocations) Read

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

func (*TNodeLocations) ReadField1

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

func (*TNodeLocations) ReadField2

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

func (*TNodeLocations) String

func (p *TNodeLocations) String() string

func (*TNodeLocations) Write

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

type TNodeResource

type TNodeResource struct {
	CpuCoreNum int32 `thrift:"cpuCoreNum,1,required" db:"cpuCoreNum" json:"cpuCoreNum"`
	MaxMemory  int64 `thrift:"maxMemory,2,required" db:"maxMemory" json:"maxMemory"`
}

Attributes:

  • CpuCoreNum
  • MaxMemory
var TAINodeConfiguration_Resource_DEFAULT *TNodeResource
var TDataNodeConfiguration_Resource_DEFAULT *TNodeResource

func NewTNodeResource

func NewTNodeResource() *TNodeResource

func (*TNodeResource) Equals

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

func (*TNodeResource) GetCpuCoreNum

func (p *TNodeResource) GetCpuCoreNum() int32

func (*TNodeResource) GetMaxMemory

func (p *TNodeResource) GetMaxMemory() int64

func (*TNodeResource) Read

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

func (*TNodeResource) ReadField1

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

func (*TNodeResource) ReadField2

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

func (*TNodeResource) String

func (p *TNodeResource) String() string

func (*TNodeResource) Write

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

type TPipeHeartbeatResp

type TPipeHeartbeatResp struct {
	PipeMetaList                [][]byte  `thrift:"pipeMetaList,1,required" db:"pipeMetaList" json:"pipeMetaList"`
	PipeCompletedList           []bool    `thrift:"pipeCompletedList,2" db:"pipeCompletedList" json:"pipeCompletedList,omitempty"`
	PipeRemainingEventCountList []int64   `thrift:"pipeRemainingEventCountList,3" db:"pipeRemainingEventCountList" json:"pipeRemainingEventCountList,omitempty"`
	PipeRemainingTimeList       []float64 `thrift:"pipeRemainingTimeList,4" db:"pipeRemainingTimeList" json:"pipeRemainingTimeList,omitempty"`
}

Attributes:

  • PipeMetaList
  • PipeCompletedList
  • PipeRemainingEventCountList
  • PipeRemainingTimeList

func NewTPipeHeartbeatResp

func NewTPipeHeartbeatResp() *TPipeHeartbeatResp

func (*TPipeHeartbeatResp) Equals

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

func (*TPipeHeartbeatResp) GetPipeCompletedList

func (p *TPipeHeartbeatResp) GetPipeCompletedList() []bool

func (*TPipeHeartbeatResp) GetPipeMetaList

func (p *TPipeHeartbeatResp) GetPipeMetaList() [][]byte

func (*TPipeHeartbeatResp) GetPipeRemainingEventCountList

func (p *TPipeHeartbeatResp) GetPipeRemainingEventCountList() []int64

func (*TPipeHeartbeatResp) GetPipeRemainingTimeList

func (p *TPipeHeartbeatResp) GetPipeRemainingTimeList() []float64

func (*TPipeHeartbeatResp) IsSetPipeCompletedList

func (p *TPipeHeartbeatResp) IsSetPipeCompletedList() bool

func (*TPipeHeartbeatResp) IsSetPipeRemainingEventCountList

func (p *TPipeHeartbeatResp) IsSetPipeRemainingEventCountList() bool

func (*TPipeHeartbeatResp) IsSetPipeRemainingTimeList

func (p *TPipeHeartbeatResp) IsSetPipeRemainingTimeList() bool

func (*TPipeHeartbeatResp) Read

func (*TPipeHeartbeatResp) ReadField1

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

func (*TPipeHeartbeatResp) ReadField2

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

func (*TPipeHeartbeatResp) ReadField3

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

func (*TPipeHeartbeatResp) ReadField4

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

func (*TPipeHeartbeatResp) String

func (p *TPipeHeartbeatResp) String() string

func (*TPipeHeartbeatResp) Write

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

type TRegionMaintainTaskStatus

type TRegionMaintainTaskStatus int64
const (
	TRegionMaintainTaskStatus_TASK_NOT_EXIST TRegionMaintainTaskStatus = 0
	TRegionMaintainTaskStatus_PROCESSING     TRegionMaintainTaskStatus = 1
	TRegionMaintainTaskStatus_SUCCESS        TRegionMaintainTaskStatus = 2
	TRegionMaintainTaskStatus_FAIL           TRegionMaintainTaskStatus = 3
)

func TRegionMaintainTaskStatusFromString

func TRegionMaintainTaskStatusFromString(s string) (TRegionMaintainTaskStatus, error)

func (TRegionMaintainTaskStatus) MarshalText

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

func (*TRegionMaintainTaskStatus) Scan

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

func (TRegionMaintainTaskStatus) String

func (p TRegionMaintainTaskStatus) String() string

func (*TRegionMaintainTaskStatus) UnmarshalText

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

func (*TRegionMaintainTaskStatus) Value

type TRegionMigrateFailedType

type TRegionMigrateFailedType int64
const (
	TRegionMigrateFailedType_AddPeerFailed              TRegionMigrateFailedType = 0
	TRegionMigrateFailedType_RemovePeerFailed           TRegionMigrateFailedType = 1
	TRegionMigrateFailedType_RemoveConsensusGroupFailed TRegionMigrateFailedType = 2
	TRegionMigrateFailedType_DeleteRegionFailed         TRegionMigrateFailedType = 3
	TRegionMigrateFailedType_CreateRegionFailed         TRegionMigrateFailedType = 4
	TRegionMigrateFailedType_Disconnect                 TRegionMigrateFailedType = 5
)

func TRegionMigrateFailedTypeFromString

func TRegionMigrateFailedTypeFromString(s string) (TRegionMigrateFailedType, error)

func (TRegionMigrateFailedType) MarshalText

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

func (*TRegionMigrateFailedType) Scan

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

func (TRegionMigrateFailedType) String

func (p TRegionMigrateFailedType) String() string

func (*TRegionMigrateFailedType) UnmarshalText

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

func (*TRegionMigrateFailedType) Value

type TRegionReplicaSet

type TRegionReplicaSet struct {
	RegionId          *TConsensusGroupId   `thrift:"regionId,1,required" db:"regionId" json:"regionId"`
	DataNodeLocations []*TDataNodeLocation `thrift:"dataNodeLocations,2,required" db:"dataNodeLocations" json:"dataNodeLocations"`
}

Attributes:

  • RegionId
  • DataNodeLocations

func NewTRegionReplicaSet

func NewTRegionReplicaSet() *TRegionReplicaSet

func (*TRegionReplicaSet) Equals

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

func (*TRegionReplicaSet) GetDataNodeLocations

func (p *TRegionReplicaSet) GetDataNodeLocations() []*TDataNodeLocation

func (*TRegionReplicaSet) GetRegionId

func (p *TRegionReplicaSet) GetRegionId() *TConsensusGroupId

func (*TRegionReplicaSet) IsSetRegionId

func (p *TRegionReplicaSet) IsSetRegionId() bool

func (*TRegionReplicaSet) Read

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

func (*TRegionReplicaSet) ReadField1

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

func (*TRegionReplicaSet) ReadField2

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

func (*TRegionReplicaSet) String

func (p *TRegionReplicaSet) String() string

func (*TRegionReplicaSet) Write

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

type TSStatus

type TSStatus struct {
	Code         int32       `thrift:"code,1,required" db:"code" json:"code"`
	Message      *string     `thrift:"message,2" db:"message" json:"message,omitempty"`
	SubStatus    []*TSStatus `thrift:"subStatus,3" db:"subStatus" json:"subStatus,omitempty"`
	RedirectNode *TEndPoint  `thrift:"redirectNode,4" db:"redirectNode" json:"redirectNode,omitempty"`
	NeedRetry    *bool       `thrift:"needRetry,5" db:"needRetry" json:"needRetry,omitempty"`
}

Attributes:

  • Code
  • Message
  • SubStatus
  • RedirectNode
  • NeedRetry
var TExternalServiceListResp_Status_DEFAULT *TSStatus
var TFilesResp_Status_DEFAULT *TSStatus
var TShowAppliedConfigurationsResp_Status_DEFAULT *TSStatus
var TShowConfigurationResp_Status_DEFAULT *TSStatus
var TShowConfigurationTemplateResp_Status_DEFAULT *TSStatus
var TTestConnectionResp_Status_DEFAULT *TSStatus

func NewTSStatus

func NewTSStatus() *TSStatus

func (*TSStatus) Equals

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

func (*TSStatus) GetCode

func (p *TSStatus) GetCode() int32

func (*TSStatus) GetMessage

func (p *TSStatus) GetMessage() string

func (*TSStatus) GetNeedRetry

func (p *TSStatus) GetNeedRetry() bool

func (*TSStatus) GetRedirectNode

func (p *TSStatus) GetRedirectNode() *TEndPoint

func (*TSStatus) GetSubStatus

func (p *TSStatus) GetSubStatus() []*TSStatus

func (*TSStatus) IsSetMessage

func (p *TSStatus) IsSetMessage() bool

func (*TSStatus) IsSetNeedRetry

func (p *TSStatus) IsSetNeedRetry() bool

func (*TSStatus) IsSetRedirectNode

func (p *TSStatus) IsSetRedirectNode() bool

func (*TSStatus) IsSetSubStatus

func (p *TSStatus) IsSetSubStatus() bool

func (*TSStatus) Read

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

func (*TSStatus) ReadField1

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

func (*TSStatus) ReadField2

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

func (*TSStatus) ReadField3

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

func (*TSStatus) ReadField4

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

func (*TSStatus) ReadField5

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

func (*TSStatus) String

func (p *TSStatus) String() string

func (*TSStatus) Write

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

type TSchemaNode

type TSchemaNode struct {
	NodeName string `thrift:"nodeName,1,required" db:"nodeName" json:"nodeName"`
	NodeType int8   `thrift:"nodeType,2,required" db:"nodeType" json:"nodeType"`
}

Attributes:

  • NodeName
  • NodeType

func NewTSchemaNode

func NewTSchemaNode() *TSchemaNode

func (*TSchemaNode) Equals

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

func (*TSchemaNode) GetNodeName

func (p *TSchemaNode) GetNodeName() string

func (*TSchemaNode) GetNodeType

func (p *TSchemaNode) GetNodeType() int8

func (*TSchemaNode) Read

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

func (*TSchemaNode) ReadField1

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

func (*TSchemaNode) ReadField2

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

func (*TSchemaNode) String

func (p *TSchemaNode) String() string

func (*TSchemaNode) Write

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

type TSender

type TSender struct {
	DataNodeLocation   *TDataNodeLocation   `thrift:"dataNodeLocation,1" db:"dataNodeLocation" json:"dataNodeLocation,omitempty"`
	ConfigNodeLocation *TConfigNodeLocation `thrift:"configNodeLocation,2" db:"configNodeLocation" json:"configNodeLocation,omitempty"`
}

Attributes:

  • DataNodeLocation
  • ConfigNodeLocation
var TTestConnectionResult__Sender_DEFAULT *TSender

func NewTSender

func NewTSender() *TSender

func (*TSender) Equals

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

func (*TSender) GetConfigNodeLocation

func (p *TSender) GetConfigNodeLocation() *TConfigNodeLocation

func (*TSender) GetDataNodeLocation

func (p *TSender) GetDataNodeLocation() *TDataNodeLocation

func (*TSender) IsSetConfigNodeLocation

func (p *TSender) IsSetConfigNodeLocation() bool

func (*TSender) IsSetDataNodeLocation

func (p *TSender) IsSetDataNodeLocation() bool

func (*TSender) Read

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

func (*TSender) ReadField1

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

func (*TSender) ReadField2

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

func (*TSender) String

func (p *TSender) String() string

func (*TSender) Write

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

type TSeriesPartitionSlot

type TSeriesPartitionSlot struct {
	SlotId int32 `thrift:"slotId,1,required" db:"slotId" json:"slotId"`
}

Attributes:

  • SlotId

func NewTSeriesPartitionSlot

func NewTSeriesPartitionSlot() *TSeriesPartitionSlot

func (*TSeriesPartitionSlot) Equals

func (*TSeriesPartitionSlot) GetSlotId

func (p *TSeriesPartitionSlot) GetSlotId() int32

func (*TSeriesPartitionSlot) Read

func (*TSeriesPartitionSlot) ReadField1

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

func (*TSeriesPartitionSlot) String

func (p *TSeriesPartitionSlot) String() string

func (*TSeriesPartitionSlot) Write

type TServiceProvider

type TServiceProvider struct {
	EndPoint    *TEndPoint   `thrift:"endPoint,1,required" db:"endPoint" json:"endPoint"`
	ServiceType TServiceType `thrift:"serviceType,2,required" db:"serviceType" json:"serviceType"`
	NodeId      int32        `thrift:"nodeId,3,required" db:"nodeId" json:"nodeId"`
}

Attributes:

  • EndPoint
  • ServiceType
  • NodeId
var TTestConnectionResult__ServiceProvider_DEFAULT *TServiceProvider

func NewTServiceProvider

func NewTServiceProvider() *TServiceProvider

func (*TServiceProvider) Equals

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

func (*TServiceProvider) GetEndPoint

func (p *TServiceProvider) GetEndPoint() *TEndPoint

func (*TServiceProvider) GetNodeId

func (p *TServiceProvider) GetNodeId() int32

func (*TServiceProvider) GetServiceType

func (p *TServiceProvider) GetServiceType() TServiceType

func (*TServiceProvider) IsSetEndPoint

func (p *TServiceProvider) IsSetEndPoint() bool

func (*TServiceProvider) Read

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

func (*TServiceProvider) ReadField1

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

func (*TServiceProvider) ReadField2

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

func (*TServiceProvider) ReadField3

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

func (*TServiceProvider) String

func (p *TServiceProvider) String() string

func (*TServiceProvider) Write

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

type TServiceType

type TServiceType int64
const (
	TServiceType_ConfigNodeInternalService TServiceType = 0
	TServiceType_DataNodeInternalService   TServiceType = 1
	TServiceType_DataNodeMPPService        TServiceType = 2
	TServiceType_DataNodeExternalService   TServiceType = 3
)

func TServiceTypeFromString

func TServiceTypeFromString(s string) (TServiceType, error)

func TServiceTypePtr

func TServiceTypePtr(v TServiceType) *TServiceType

func (TServiceType) MarshalText

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

func (*TServiceType) Scan

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

func (TServiceType) String

func (p TServiceType) String() string

func (*TServiceType) UnmarshalText

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

func (*TServiceType) Value

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

type TSetConfigurationReq

type TSetConfigurationReq struct {
	Configs map[string]string `thrift:"configs,1,required" db:"configs" json:"configs"`
	NodeId  int32             `thrift:"nodeId,2,required" db:"nodeId" json:"nodeId"`
}

Attributes:

  • Configs
  • NodeId

func NewTSetConfigurationReq

func NewTSetConfigurationReq() *TSetConfigurationReq

func (*TSetConfigurationReq) Equals

func (*TSetConfigurationReq) GetConfigs

func (p *TSetConfigurationReq) GetConfigs() map[string]string

func (*TSetConfigurationReq) GetNodeId

func (p *TSetConfigurationReq) GetNodeId() int32

func (*TSetConfigurationReq) Read

func (*TSetConfigurationReq) ReadField1

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

func (*TSetConfigurationReq) ReadField2

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

func (*TSetConfigurationReq) String

func (p *TSetConfigurationReq) String() string

func (*TSetConfigurationReq) Write

type TSetSpaceQuotaReq

type TSetSpaceQuotaReq struct {
	Database   []string     `thrift:"database,1,required" db:"database" json:"database"`
	SpaceLimit *TSpaceQuota `thrift:"spaceLimit,2,required" db:"spaceLimit" json:"spaceLimit"`
}

Attributes:

  • Database
  • SpaceLimit

func NewTSetSpaceQuotaReq

func NewTSetSpaceQuotaReq() *TSetSpaceQuotaReq

func (*TSetSpaceQuotaReq) Equals

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

func (*TSetSpaceQuotaReq) GetDatabase

func (p *TSetSpaceQuotaReq) GetDatabase() []string

func (*TSetSpaceQuotaReq) GetSpaceLimit

func (p *TSetSpaceQuotaReq) GetSpaceLimit() *TSpaceQuota

func (*TSetSpaceQuotaReq) IsSetSpaceLimit

func (p *TSetSpaceQuotaReq) IsSetSpaceLimit() bool

func (*TSetSpaceQuotaReq) Read

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

func (*TSetSpaceQuotaReq) ReadField1

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

func (*TSetSpaceQuotaReq) ReadField2

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

func (*TSetSpaceQuotaReq) String

func (p *TSetSpaceQuotaReq) String() string

func (*TSetSpaceQuotaReq) Write

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

type TSetTTLReq

type TSetTTLReq struct {
	PathPattern []string `thrift:"pathPattern,1,required" db:"pathPattern" json:"pathPattern"`
	TTL         int64    `thrift:"TTL,2,required" db:"TTL" json:"TTL"`
	IsDataBase  bool     `thrift:"isDataBase,3,required" db:"isDataBase" json:"isDataBase"`
}

Attributes:

  • PathPattern
  • TTL
  • IsDataBase

func NewTSetTTLReq

func NewTSetTTLReq() *TSetTTLReq

func (*TSetTTLReq) Equals

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

func (*TSetTTLReq) GetIsDataBase

func (p *TSetTTLReq) GetIsDataBase() bool

func (*TSetTTLReq) GetPathPattern

func (p *TSetTTLReq) GetPathPattern() []string

func (*TSetTTLReq) GetTTL

func (p *TSetTTLReq) GetTTL() int64

func (*TSetTTLReq) Read

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

func (*TSetTTLReq) ReadField1

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

func (*TSetTTLReq) ReadField2

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

func (*TSetTTLReq) ReadField3

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

func (*TSetTTLReq) String

func (p *TSetTTLReq) String() string

func (*TSetTTLReq) Write

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

type TSetThrottleQuotaReq

type TSetThrottleQuotaReq struct {
	UserName      string          `thrift:"userName,1,required" db:"userName" json:"userName"`
	ThrottleQuota *TThrottleQuota `thrift:"throttleQuota,2,required" db:"throttleQuota" json:"throttleQuota"`
}

Attributes:

  • UserName
  • ThrottleQuota

func NewTSetThrottleQuotaReq

func NewTSetThrottleQuotaReq() *TSetThrottleQuotaReq

func (*TSetThrottleQuotaReq) Equals

func (*TSetThrottleQuotaReq) GetThrottleQuota

func (p *TSetThrottleQuotaReq) GetThrottleQuota() *TThrottleQuota

func (*TSetThrottleQuotaReq) GetUserName

func (p *TSetThrottleQuotaReq) GetUserName() string

func (*TSetThrottleQuotaReq) IsSetThrottleQuota

func (p *TSetThrottleQuotaReq) IsSetThrottleQuota() bool

func (*TSetThrottleQuotaReq) Read

func (*TSetThrottleQuotaReq) ReadField1

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

func (*TSetThrottleQuotaReq) ReadField2

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

func (*TSetThrottleQuotaReq) String

func (p *TSetThrottleQuotaReq) String() string

func (*TSetThrottleQuotaReq) Write

type TSettleReq

type TSettleReq struct {
	Paths []string `thrift:"paths,1,required" db:"paths" json:"paths"`
}

Attributes:

  • Paths

func NewTSettleReq

func NewTSettleReq() *TSettleReq

func (*TSettleReq) Equals

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

func (*TSettleReq) GetPaths

func (p *TSettleReq) GetPaths() []string

func (*TSettleReq) Read

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

func (*TSettleReq) ReadField1

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

func (*TSettleReq) String

func (p *TSettleReq) String() string

func (*TSettleReq) Write

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

type TShowAppliedConfigurationsResp

type TShowAppliedConfigurationsResp struct {
	Status *TSStatus         `thrift:"status,1,required" db:"status" json:"status"`
	Data   map[string]string `thrift:"data,2" db:"data" json:"data,omitempty"`
}

Attributes:

  • Status
  • Data

func NewTShowAppliedConfigurationsResp

func NewTShowAppliedConfigurationsResp() *TShowAppliedConfigurationsResp

func (*TShowAppliedConfigurationsResp) Equals

func (*TShowAppliedConfigurationsResp) GetData

func (p *TShowAppliedConfigurationsResp) GetData() map[string]string

func (*TShowAppliedConfigurationsResp) GetStatus

func (p *TShowAppliedConfigurationsResp) GetStatus() *TSStatus

func (*TShowAppliedConfigurationsResp) IsSetData

func (p *TShowAppliedConfigurationsResp) IsSetData() bool

func (*TShowAppliedConfigurationsResp) IsSetStatus

func (p *TShowAppliedConfigurationsResp) IsSetStatus() bool

func (*TShowAppliedConfigurationsResp) Read

func (*TShowAppliedConfigurationsResp) ReadField1

func (*TShowAppliedConfigurationsResp) ReadField2

func (*TShowAppliedConfigurationsResp) String

func (*TShowAppliedConfigurationsResp) Write

type TShowConfigurationResp

type TShowConfigurationResp struct {
	Status  *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
	Content string    `thrift:"content,2,required" db:"content" json:"content"`
}

Attributes:

  • Status
  • Content

func NewTShowConfigurationResp

func NewTShowConfigurationResp() *TShowConfigurationResp

func (*TShowConfigurationResp) Equals

func (*TShowConfigurationResp) GetContent

func (p *TShowConfigurationResp) GetContent() string

func (*TShowConfigurationResp) GetStatus

func (p *TShowConfigurationResp) GetStatus() *TSStatus

func (*TShowConfigurationResp) IsSetStatus

func (p *TShowConfigurationResp) IsSetStatus() bool

func (*TShowConfigurationResp) Read

func (*TShowConfigurationResp) ReadField1

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

func (*TShowConfigurationResp) ReadField2

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

func (*TShowConfigurationResp) String

func (p *TShowConfigurationResp) String() string

func (*TShowConfigurationResp) Write

type TShowConfigurationTemplateResp

type TShowConfigurationTemplateResp struct {
	Status  *TSStatus `thrift:"status,1,required" db:"status" json:"status"`
	Content string    `thrift:"content,2,required" db:"content" json:"content"`
}

Attributes:

  • Status
  • Content

func NewTShowConfigurationTemplateResp

func NewTShowConfigurationTemplateResp() *TShowConfigurationTemplateResp

func (*TShowConfigurationTemplateResp) Equals

func (*TShowConfigurationTemplateResp) GetContent

func (p *TShowConfigurationTemplateResp) GetContent() string

func (*TShowConfigurationTemplateResp) GetStatus

func (p *TShowConfigurationTemplateResp) GetStatus() *TSStatus

func (*TShowConfigurationTemplateResp) IsSetStatus

func (p *TShowConfigurationTemplateResp) IsSetStatus() bool

func (*TShowConfigurationTemplateResp) Read

func (*TShowConfigurationTemplateResp) ReadField1

func (*TShowConfigurationTemplateResp) ReadField2

func (*TShowConfigurationTemplateResp) String

func (*TShowConfigurationTemplateResp) Write

type TShowTTLReq

type TShowTTLReq struct {
	PathPattern []string `thrift:"pathPattern,1,required" db:"pathPattern" json:"pathPattern"`
}

Attributes:

  • PathPattern

func NewTShowTTLReq

func NewTShowTTLReq() *TShowTTLReq

func (*TShowTTLReq) Equals

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

func (*TShowTTLReq) GetPathPattern

func (p *TShowTTLReq) GetPathPattern() []string

func (*TShowTTLReq) Read

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

func (*TShowTTLReq) ReadField1

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

func (*TShowTTLReq) String

func (p *TShowTTLReq) String() string

func (*TShowTTLReq) Write

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

type TSpaceQuota

type TSpaceQuota struct {
	DiskSize     *int64 `thrift:"diskSize,1" db:"diskSize" json:"diskSize,omitempty"`
	DeviceNum    *int64 `thrift:"deviceNum,2" db:"deviceNum" json:"deviceNum,omitempty"`
	TimeserieNum *int64 `thrift:"timeserieNum,3" db:"timeserieNum" json:"timeserieNum,omitempty"`
}

Attributes:

  • DiskSize
  • DeviceNum
  • TimeserieNum
var TSetSpaceQuotaReq_SpaceLimit_DEFAULT *TSpaceQuota

func NewTSpaceQuota

func NewTSpaceQuota() *TSpaceQuota

func (*TSpaceQuota) Equals

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

func (*TSpaceQuota) GetDeviceNum

func (p *TSpaceQuota) GetDeviceNum() int64

func (*TSpaceQuota) GetDiskSize

func (p *TSpaceQuota) GetDiskSize() int64

func (*TSpaceQuota) GetTimeserieNum

func (p *TSpaceQuota) GetTimeserieNum() int64

func (*TSpaceQuota) IsSetDeviceNum

func (p *TSpaceQuota) IsSetDeviceNum() bool

func (*TSpaceQuota) IsSetDiskSize

func (p *TSpaceQuota) IsSetDiskSize() bool

func (*TSpaceQuota) IsSetTimeserieNum

func (p *TSpaceQuota) IsSetTimeserieNum() bool

func (*TSpaceQuota) Read

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

func (*TSpaceQuota) ReadField1

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

func (*TSpaceQuota) ReadField2

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

func (*TSpaceQuota) ReadField3

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

func (*TSpaceQuota) String

func (p *TSpaceQuota) String() string

func (*TSpaceQuota) Write

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

type TTestConnectionResp

type TTestConnectionResp struct {
	Status     *TSStatus                 `thrift:"status,1,required" db:"status" json:"status"`
	ResultList []*TTestConnectionResult_ `thrift:"resultList,2,required" db:"resultList" json:"resultList"`
}

Attributes:

  • Status
  • ResultList

func NewTTestConnectionResp

func NewTTestConnectionResp() *TTestConnectionResp

func (*TTestConnectionResp) Equals

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

func (*TTestConnectionResp) GetResultList

func (p *TTestConnectionResp) GetResultList() []*TTestConnectionResult_

func (*TTestConnectionResp) GetStatus

func (p *TTestConnectionResp) GetStatus() *TSStatus

func (*TTestConnectionResp) IsSetStatus

func (p *TTestConnectionResp) IsSetStatus() bool

func (*TTestConnectionResp) Read

func (*TTestConnectionResp) ReadField1

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

func (*TTestConnectionResp) ReadField2

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

func (*TTestConnectionResp) String

func (p *TTestConnectionResp) String() string

func (*TTestConnectionResp) Write

type TTestConnectionResult_

type TTestConnectionResult_ struct {
	ServiceProvider *TServiceProvider `thrift:"serviceProvider,1,required" db:"serviceProvider" json:"serviceProvider"`
	Sender          *TSender          `thrift:"sender,2,required" db:"sender" json:"sender"`
	Success         bool              `thrift:"success,3,required" db:"success" json:"success"`
	Reason          *string           `thrift:"reason,4" db:"reason" json:"reason,omitempty"`
}

Attributes:

  • ServiceProvider
  • Sender
  • Success
  • Reason

func NewTTestConnectionResult_

func NewTTestConnectionResult_() *TTestConnectionResult_

func (*TTestConnectionResult_) Equals

func (*TTestConnectionResult_) GetReason

func (p *TTestConnectionResult_) GetReason() string

func (*TTestConnectionResult_) GetSender

func (p *TTestConnectionResult_) GetSender() *TSender

func (*TTestConnectionResult_) GetServiceProvider

func (p *TTestConnectionResult_) GetServiceProvider() *TServiceProvider

func (*TTestConnectionResult_) GetSuccess

func (p *TTestConnectionResult_) GetSuccess() bool

func (*TTestConnectionResult_) IsSetReason

func (p *TTestConnectionResult_) IsSetReason() bool

func (*TTestConnectionResult_) IsSetSender

func (p *TTestConnectionResult_) IsSetSender() bool

func (*TTestConnectionResult_) IsSetServiceProvider

func (p *TTestConnectionResult_) IsSetServiceProvider() bool

func (*TTestConnectionResult_) Read

func (*TTestConnectionResult_) ReadField1

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

func (*TTestConnectionResult_) ReadField2

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

func (*TTestConnectionResult_) ReadField3

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

func (*TTestConnectionResult_) ReadField4

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

func (*TTestConnectionResult_) String

func (p *TTestConnectionResult_) String() string

func (*TTestConnectionResult_) Write

type TThrottleQuota

type TThrottleQuota struct {
	ThrottleLimit map[ThrottleType]*TTimedQuota `thrift:"throttleLimit,1" db:"throttleLimit" json:"throttleLimit,omitempty"`
	MemLimit      *int64                        `thrift:"memLimit,2" db:"memLimit" json:"memLimit,omitempty"`
	CpuLimit      *int32                        `thrift:"cpuLimit,3" db:"cpuLimit" json:"cpuLimit,omitempty"`
}

Attributes:

  • ThrottleLimit
  • MemLimit
  • CpuLimit
var TSetThrottleQuotaReq_ThrottleQuota_DEFAULT *TThrottleQuota

func NewTThrottleQuota

func NewTThrottleQuota() *TThrottleQuota

func (*TThrottleQuota) Equals

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

func (*TThrottleQuota) GetCpuLimit

func (p *TThrottleQuota) GetCpuLimit() int32

func (*TThrottleQuota) GetMemLimit

func (p *TThrottleQuota) GetMemLimit() int64

func (*TThrottleQuota) GetThrottleLimit

func (p *TThrottleQuota) GetThrottleLimit() map[ThrottleType]*TTimedQuota

func (*TThrottleQuota) IsSetCpuLimit

func (p *TThrottleQuota) IsSetCpuLimit() bool

func (*TThrottleQuota) IsSetMemLimit

func (p *TThrottleQuota) IsSetMemLimit() bool

func (*TThrottleQuota) IsSetThrottleLimit

func (p *TThrottleQuota) IsSetThrottleLimit() bool

func (*TThrottleQuota) Read

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

func (*TThrottleQuota) ReadField1

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

func (*TThrottleQuota) ReadField2

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

func (*TThrottleQuota) ReadField3

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

func (*TThrottleQuota) String

func (p *TThrottleQuota) String() string

func (*TThrottleQuota) Write

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

type TTimePartitionSlot

type TTimePartitionSlot struct {
	StartTime int64 `thrift:"startTime,1,required" db:"startTime" json:"startTime"`
}

Attributes:

  • StartTime

func NewTTimePartitionSlot

func NewTTimePartitionSlot() *TTimePartitionSlot

func (*TTimePartitionSlot) Equals

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

func (*TTimePartitionSlot) GetStartTime

func (p *TTimePartitionSlot) GetStartTime() int64

func (*TTimePartitionSlot) Read

func (*TTimePartitionSlot) ReadField1

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

func (*TTimePartitionSlot) String

func (p *TTimePartitionSlot) String() string

func (*TTimePartitionSlot) Write

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

type TTimedQuota

type TTimedQuota struct {
	TimeUnit  int64 `thrift:"timeUnit,1,required" db:"timeUnit" json:"timeUnit"`
	SoftLimit int64 `thrift:"softLimit,2,required" db:"softLimit" json:"softLimit"`
}

Attributes:

  • TimeUnit
  • SoftLimit

func NewTTimedQuota

func NewTTimedQuota() *TTimedQuota

func (*TTimedQuota) Equals

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

func (*TTimedQuota) GetSoftLimit

func (p *TTimedQuota) GetSoftLimit() int64

func (*TTimedQuota) GetTimeUnit

func (p *TTimedQuota) GetTimeUnit() int64

func (*TTimedQuota) Read

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

func (*TTimedQuota) ReadField1

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

func (*TTimedQuota) ReadField2

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

func (*TTimedQuota) String

func (p *TTimedQuota) String() string

func (*TTimedQuota) Write

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

type ThrottleType

type ThrottleType int64
const (
	ThrottleType_REQUEST_NUMBER ThrottleType = 0
	ThrottleType_REQUEST_SIZE   ThrottleType = 1
	ThrottleType_WRITE_NUMBER   ThrottleType = 2
	ThrottleType_WRITE_SIZE     ThrottleType = 3
	ThrottleType_READ_NUMBER    ThrottleType = 4
	ThrottleType_READ_SIZE      ThrottleType = 5
)

func ThrottleTypeFromString

func ThrottleTypeFromString(s string) (ThrottleType, error)

func ThrottleTypePtr

func ThrottleTypePtr(v ThrottleType) *ThrottleType

func (ThrottleType) MarshalText

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

func (*ThrottleType) Scan

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

func (ThrottleType) String

func (p ThrottleType) String() string

func (*ThrottleType) UnmarshalText

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

func (*ThrottleType) Value

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

type TrainingState

type TrainingState int64
const (
	TrainingState_PENDING  TrainingState = 0
	TrainingState_RUNNING  TrainingState = 1
	TrainingState_FINISHED TrainingState = 2
	TrainingState_FAILED   TrainingState = 3
	TrainingState_DROPPING TrainingState = 4
)

func TrainingStateFromString

func TrainingStateFromString(s string) (TrainingState, error)

func TrainingStatePtr

func TrainingStatePtr(v TrainingState) *TrainingState

func (TrainingState) MarshalText

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

func (*TrainingState) Scan

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

func (TrainingState) String

func (p TrainingState) String() string

func (*TrainingState) UnmarshalText

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

func (*TrainingState) Value

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

Jump to

Keyboard shortcuts

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