tlcli

package
v0.0.0-...-1b3fcde Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/tldb

Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/tldb

Code generated by Thrift Compiler (0.18.1). DO NOT EDIT. Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/tldb

Code generated by Thrift Compiler (0.18.1). DO NOT EDIT. Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/tldb

Index

Constants

View Source
const ERR_AUTH_NOPASS = 1301
View Source
const ERR_COLUMN_NOEXIST = 412
View Source
const ERR_DATA_NOEXIST = 410
View Source
const ERR_IDX_NOEXIST = 413
View Source
const ERR_NO_MATCH_PARAM = 401
View Source
const ERR_TABLE_EXIST = 409
View Source
const ERR_TABLE_NOEXIST = 411
View Source
const ERR_TIMEOUT = 506
View Source
const ERR_UNDEFINED = 1300

Variables

View Source
var DataBean_TBean_DEFAULT map[string][]byte
View Source
var IcliSelectAllByIdxResult_Success_DEFAULT []*DataBean
View Source
var IcliSelectByIdxAscLimitResult_Success_DEFAULT []*DataBean
View Source
var IcliSelectByIdxDescLimitResult_Success_DEFAULT []*DataBean
View Source
var IcliSelectByIdxLimitResult_Success_DEFAULT []*DataBean
View Source
var IcliSelectIdByIdxResult_Success_DEFAULT int64
View Source
var IcliSelectIdByIdxSeqResult_Success_DEFAULT int64
View Source
var IcliSelectIdResult_Success_DEFAULT int64
View Source
var IcliSelectsByIdLimitResult_Success_DEFAULT []*DataBean
View Source
var IcliShowAllTablesResult_Success_DEFAULT []*TableBean
View Source
var TableBean_Columns_DEFAULT map[string][]byte
View Source
var TableBean_ID_DEFAULT int64
View Source
var TableBean_Idx_DEFAULT map[string]int8

Functions

func Auth

func Auth(s string) (_ok bool)

****************************************************************

Types

type Ack

type Ack struct {
	Ok        bool   `thrift:"ok,1,required" db:"ok" json:"ok"`
	ErrCode   int64  `thrift:"errCode,2,required" db:"errCode" json:"errCode"`
	ErrorDesc string `thrift:"errorDesc,3,required" db:"errorDesc" json:"errorDesc"`
}

Attributes:

  • Ok
  • ErrCode
  • ErrorDesc
var AckBean_Ack_DEFAULT *Ack
var IcliAlterResult_Success_DEFAULT *Ack
var IcliAuthResult_Success_DEFAULT *Ack
var IcliCreateResult_Success_DEFAULT *Ack
var IcliDropResult_Success_DEFAULT *Ack
var IcliPingResult_Success_DEFAULT *Ack

func NewAck

func NewAck() *Ack

func (*Ack) Equals

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

func (*Ack) GetErrCode

func (p *Ack) GetErrCode() int64

func (*Ack) GetErrorDesc

func (p *Ack) GetErrorDesc() string

func (*Ack) GetOk

func (p *Ack) GetOk() bool

func (*Ack) Read

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

func (*Ack) ReadField1

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

func (*Ack) ReadField2

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

func (*Ack) ReadField3

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

func (*Ack) String

func (p *Ack) String() string

func (*Ack) Validate

func (p *Ack) Validate() error

func (*Ack) Write

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

type AckBean

type AckBean struct {
	Seq int64 `thrift:"seq,1,required" db:"seq" json:"seq"`
	Ack *Ack  `thrift:"ack,2" db:"ack" json:"ack,omitempty"`
}

Attributes:

  • Seq
  • Ack
var IcliDeleteBatchResult_Success_DEFAULT *AckBean
var IcliDeleteResult_Success_DEFAULT *AckBean
var IcliInsertResult_Success_DEFAULT *AckBean
var IcliUpdateResult_Success_DEFAULT *AckBean

func NewAckBean

func NewAckBean() *AckBean

func (*AckBean) Equals

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

func (*AckBean) GetAck

func (p *AckBean) GetAck() *Ack

func (*AckBean) GetSeq

func (p *AckBean) GetSeq() int64

func (*AckBean) IsSetAck

func (p *AckBean) IsSetAck() bool

func (*AckBean) Read

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

func (*AckBean) ReadField1

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

func (*AckBean) ReadField2

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

func (*AckBean) String

func (p *AckBean) String() string

func (*AckBean) Validate

func (p *AckBean) Validate() error

func (*AckBean) Write

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

type DataBean

type DataBean struct {
	ID    int64             `thrift:"id,1,required" db:"id" json:"id"`
	TBean map[string][]byte `thrift:"tBean,2" db:"tBean" json:"tBean,omitempty"`
}

Attributes:

  • ID
  • TBean
var IcliSelectByIdResult_Success_DEFAULT *DataBean
var IcliSelectByIdxResult_Success_DEFAULT *DataBean

func NewDataBean

func NewDataBean() *DataBean

func (*DataBean) Equals

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

func (*DataBean) GetID

func (p *DataBean) GetID() int64

func (*DataBean) GetTBean

func (p *DataBean) GetTBean() map[string][]byte

func (*DataBean) IsSetTBean

func (p *DataBean) IsSetTBean() bool

func (*DataBean) Read

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

func (*DataBean) ReadField1

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

func (*DataBean) ReadField2

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

func (*DataBean) String

func (p *DataBean) String() string

func (*DataBean) Validate

func (p *DataBean) Validate() error

func (*DataBean) Write

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

type Icli

type Icli interface {
	// Parameters:
	//  - I
	Ping(ctx context.Context, i int64) (_r *Ack, _err error)
	// Parameters:
	//  - S
	Auth(ctx context.Context, s string) (_r *Ack, _err error)
	// Parameters:
	//  - Tb
	Create(ctx context.Context, tb *TableBean) (_r *Ack, _err error)
	// Parameters:
	//  - Tb
	Alter(ctx context.Context, tb *TableBean) (_r *Ack, _err error)
	// Parameters:
	//  - Name
	Drop(ctx context.Context, name string) (_r *Ack, _err error)
	// Parameters:
	//  - Name
	SelectId(ctx context.Context, name string) (_r int64, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	SelectIdByIdx(ctx context.Context, name string, column string, value []byte) (_r int64, _err error)
	// Parameters:
	//  - Name
	//  - ID
	SelectById(ctx context.Context, name string, id int64) (_r *DataBean, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	SelectByIdx(ctx context.Context, name string, column string, value []byte) (_r *DataBean, _err error)
	// Parameters:
	//  - Name
	//  - StartId
	//  - Limit
	SelectsByIdLimit(ctx context.Context, name string, startId int64, limit int64) (_r []*DataBean, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	SelectAllByIdx(ctx context.Context, name string, column string, value []byte) (_r []*DataBean, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	//  - StartId
	//  - Limit
	SelectByIdxLimit(ctx context.Context, name string, column string, value [][]byte, startId int64, limit int64) (_r []*DataBean, _err error)
	// Parameters:
	//  - Tb
	Update(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)
	// Parameters:
	//  - Tb
	Delete(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)
	// Parameters:
	//  - Tb
	Insert(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)
	// Parameters:
	//  - Name
	ShowTable(ctx context.Context, name string) (_r *TableBean, _err error)
	ShowAllTables(ctx context.Context) (_r []*TableBean, _err error)
	// Parameters:
	//  - Name
	//  - Ids
	DeleteBatch(ctx context.Context, name string, ids []int64) (_r *AckBean, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	//  - StartId
	//  - Limit
	SelectByIdxDescLimit(ctx context.Context, name string, column string, value []byte, startId int64, limit int64) (_r []*DataBean, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	//  - StartId
	//  - Limit
	SelectByIdxAscLimit(ctx context.Context, name string, column string, value []byte, startId int64, limit int64) (_r []*DataBean, _err error)
	// Parameters:
	//  - Name
	//  - Column
	//  - Value
	//  - Seq
	SelectIdByIdxSeq(ctx context.Context, name string, column string, value []byte, seq int64) (_r int64, _err error)
}

type IcliAlterArgs

type IcliAlterArgs struct {
	Tb *TableBean `thrift:"tb,1" db:"tb" json:"tb"`
}

Attributes:

  • Tb

func NewIcliAlterArgs

func NewIcliAlterArgs() *IcliAlterArgs

func (*IcliAlterArgs) GetTb

func (p *IcliAlterArgs) GetTb() *TableBean

func (*IcliAlterArgs) IsSetTb

func (p *IcliAlterArgs) IsSetTb() bool

func (*IcliAlterArgs) Read

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

func (*IcliAlterArgs) ReadField1

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

func (*IcliAlterArgs) String

func (p *IcliAlterArgs) String() string

func (*IcliAlterArgs) Write

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

type IcliAlterResult

type IcliAlterResult struct {
	Success *Ack `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliAlterResult

func NewIcliAlterResult() *IcliAlterResult

func (*IcliAlterResult) GetSuccess

func (p *IcliAlterResult) GetSuccess() *Ack

func (*IcliAlterResult) IsSetSuccess

func (p *IcliAlterResult) IsSetSuccess() bool

func (*IcliAlterResult) Read

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

func (*IcliAlterResult) ReadField0

func (p *IcliAlterResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliAlterResult) String

func (p *IcliAlterResult) String() string

func (*IcliAlterResult) Write

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

type IcliAuthArgs

type IcliAuthArgs struct {
	S string `thrift:"s,1" db:"s" json:"s"`
}

Attributes:

  • S

func NewIcliAuthArgs

func NewIcliAuthArgs() *IcliAuthArgs

func (*IcliAuthArgs) GetS

func (p *IcliAuthArgs) GetS() string

func (*IcliAuthArgs) Read

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

func (*IcliAuthArgs) ReadField1

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

func (*IcliAuthArgs) String

func (p *IcliAuthArgs) String() string

func (*IcliAuthArgs) Write

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

type IcliAuthResult

type IcliAuthResult struct {
	Success *Ack `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliAuthResult

func NewIcliAuthResult() *IcliAuthResult

func (*IcliAuthResult) GetSuccess

func (p *IcliAuthResult) GetSuccess() *Ack

func (*IcliAuthResult) IsSetSuccess

func (p *IcliAuthResult) IsSetSuccess() bool

func (*IcliAuthResult) Read

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

func (*IcliAuthResult) ReadField0

func (p *IcliAuthResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliAuthResult) String

func (p *IcliAuthResult) String() string

func (*IcliAuthResult) Write

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

type IcliClient

type IcliClient struct {
	// contains filtered or unexported fields
}

func NewIcliClient

func NewIcliClient(c thrift.TClient) *IcliClient

func NewIcliClientProtocol

func NewIcliClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *IcliClient

func (*IcliClient) Alter

func (p *IcliClient) Alter(ctx context.Context, tb *TableBean) (_r *Ack, _err error)

Parameters:

  • Tb

func (*IcliClient) Auth

func (p *IcliClient) Auth(ctx context.Context, s string) (_r *Ack, _err error)

Parameters:

  • S

func (*IcliClient) Client_

func (p *IcliClient) Client_() thrift.TClient

func (*IcliClient) Create

func (p *IcliClient) Create(ctx context.Context, tb *TableBean) (_r *Ack, _err error)

Parameters:

  • Tb

func (*IcliClient) Delete

func (p *IcliClient) Delete(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)

Parameters:

  • Tb

func (*IcliClient) DeleteBatch

func (p *IcliClient) DeleteBatch(ctx context.Context, name string, ids []int64) (_r *AckBean, _err error)

Parameters:

  • Name
  • Ids

func (*IcliClient) Drop

func (p *IcliClient) Drop(ctx context.Context, name string) (_r *Ack, _err error)

Parameters:

  • Name

func (*IcliClient) Insert

func (p *IcliClient) Insert(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)

Parameters:

  • Tb

func (*IcliClient) LastResponseMeta_

func (p *IcliClient) LastResponseMeta_() thrift.ResponseMeta

func (*IcliClient) Ping

func (p *IcliClient) Ping(ctx context.Context, i int64) (_r *Ack, _err error)

Parameters:

  • I

func (*IcliClient) SelectAllByIdx

func (p *IcliClient) SelectAllByIdx(ctx context.Context, name string, column string, value []byte) (_r []*DataBean, _err error)

Parameters:

  • Name
  • Column
  • Value

func (*IcliClient) SelectById

func (p *IcliClient) SelectById(ctx context.Context, name string, id int64) (_r *DataBean, _err error)

Parameters:

  • Name
  • ID

func (*IcliClient) SelectByIdx

func (p *IcliClient) SelectByIdx(ctx context.Context, name string, column string, value []byte) (_r *DataBean, _err error)

Parameters:

  • Name
  • Column
  • Value

func (*IcliClient) SelectByIdxAscLimit

func (p *IcliClient) SelectByIdxAscLimit(ctx context.Context, name string, column string, value []byte, startId int64, limit int64) (_r []*DataBean, _err error)

Parameters:

  • Name
  • Column
  • Value
  • StartId
  • Limit

func (*IcliClient) SelectByIdxDescLimit

func (p *IcliClient) SelectByIdxDescLimit(ctx context.Context, name string, column string, value []byte, startId int64, limit int64) (_r []*DataBean, _err error)

Parameters:

  • Name
  • Column
  • Value
  • StartId
  • Limit

func (*IcliClient) SelectByIdxLimit

func (p *IcliClient) SelectByIdxLimit(ctx context.Context, name string, column string, value [][]byte, startId int64, limit int64) (_r []*DataBean, _err error)

Parameters:

  • Name
  • Column
  • Value
  • StartId
  • Limit

func (*IcliClient) SelectId

func (p *IcliClient) SelectId(ctx context.Context, name string) (_r int64, _err error)

Parameters:

  • Name

func (*IcliClient) SelectIdByIdx

func (p *IcliClient) SelectIdByIdx(ctx context.Context, name string, column string, value []byte) (_r int64, _err error)

Parameters:

  • Name
  • Column
  • Value

func (*IcliClient) SelectIdByIdxSeq

func (p *IcliClient) SelectIdByIdxSeq(ctx context.Context, name string, column string, value []byte, seq int64) (_r int64, _err error)

Parameters:

  • Name
  • Column
  • Value
  • Seq

func (*IcliClient) SelectsByIdLimit

func (p *IcliClient) SelectsByIdLimit(ctx context.Context, name string, startId int64, limit int64) (_r []*DataBean, _err error)

Parameters:

  • Name
  • StartId
  • Limit

func (*IcliClient) SetLastResponseMeta_

func (p *IcliClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

func (*IcliClient) ShowAllTables

func (p *IcliClient) ShowAllTables(ctx context.Context) (_r []*TableBean, _err error)

func (*IcliClient) ShowTable

func (p *IcliClient) ShowTable(ctx context.Context, name string) (_r *TableBean, _err error)

Parameters:

  • Name

func (*IcliClient) Update

func (p *IcliClient) Update(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)

Parameters:

  • Tb

type IcliCreateArgs

type IcliCreateArgs struct {
	Tb *TableBean `thrift:"tb,1" db:"tb" json:"tb"`
}

Attributes:

  • Tb

func NewIcliCreateArgs

func NewIcliCreateArgs() *IcliCreateArgs

func (*IcliCreateArgs) GetTb

func (p *IcliCreateArgs) GetTb() *TableBean

func (*IcliCreateArgs) IsSetTb

func (p *IcliCreateArgs) IsSetTb() bool

func (*IcliCreateArgs) Read

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

func (*IcliCreateArgs) ReadField1

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

func (*IcliCreateArgs) String

func (p *IcliCreateArgs) String() string

func (*IcliCreateArgs) Write

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

type IcliCreateResult

type IcliCreateResult struct {
	Success *Ack `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliCreateResult

func NewIcliCreateResult() *IcliCreateResult

func (*IcliCreateResult) GetSuccess

func (p *IcliCreateResult) GetSuccess() *Ack

func (*IcliCreateResult) IsSetSuccess

func (p *IcliCreateResult) IsSetSuccess() bool

func (*IcliCreateResult) Read

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

func (*IcliCreateResult) ReadField0

func (p *IcliCreateResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliCreateResult) String

func (p *IcliCreateResult) String() string

func (*IcliCreateResult) Write

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

type IcliDeleteArgs

type IcliDeleteArgs struct {
	Tb *TableBean `thrift:"tb,1" db:"tb" json:"tb"`
}

Attributes:

  • Tb

func NewIcliDeleteArgs

func NewIcliDeleteArgs() *IcliDeleteArgs

func (*IcliDeleteArgs) GetTb

func (p *IcliDeleteArgs) GetTb() *TableBean

func (*IcliDeleteArgs) IsSetTb

func (p *IcliDeleteArgs) IsSetTb() bool

func (*IcliDeleteArgs) Read

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

func (*IcliDeleteArgs) ReadField1

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

func (*IcliDeleteArgs) String

func (p *IcliDeleteArgs) String() string

func (*IcliDeleteArgs) Write

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

type IcliDeleteBatchArgs

type IcliDeleteBatchArgs struct {
	Name string  `thrift:"name,1" db:"name" json:"name"`
	Ids  []int64 `thrift:"ids,2" db:"ids" json:"ids"`
}

Attributes:

  • Name
  • Ids

func NewIcliDeleteBatchArgs

func NewIcliDeleteBatchArgs() *IcliDeleteBatchArgs

func (*IcliDeleteBatchArgs) GetIds

func (p *IcliDeleteBatchArgs) GetIds() []int64

func (*IcliDeleteBatchArgs) GetName

func (p *IcliDeleteBatchArgs) GetName() string

func (*IcliDeleteBatchArgs) Read

func (*IcliDeleteBatchArgs) ReadField1

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

func (*IcliDeleteBatchArgs) ReadField2

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

func (*IcliDeleteBatchArgs) String

func (p *IcliDeleteBatchArgs) String() string

func (*IcliDeleteBatchArgs) Write

type IcliDeleteBatchResult

type IcliDeleteBatchResult struct {
	Success *AckBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliDeleteBatchResult

func NewIcliDeleteBatchResult() *IcliDeleteBatchResult

func (*IcliDeleteBatchResult) GetSuccess

func (p *IcliDeleteBatchResult) GetSuccess() *AckBean

func (*IcliDeleteBatchResult) IsSetSuccess

func (p *IcliDeleteBatchResult) IsSetSuccess() bool

func (*IcliDeleteBatchResult) Read

func (*IcliDeleteBatchResult) ReadField0

func (p *IcliDeleteBatchResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliDeleteBatchResult) String

func (p *IcliDeleteBatchResult) String() string

func (*IcliDeleteBatchResult) Write

type IcliDeleteResult

type IcliDeleteResult struct {
	Success *AckBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliDeleteResult

func NewIcliDeleteResult() *IcliDeleteResult

func (*IcliDeleteResult) GetSuccess

func (p *IcliDeleteResult) GetSuccess() *AckBean

func (*IcliDeleteResult) IsSetSuccess

func (p *IcliDeleteResult) IsSetSuccess() bool

func (*IcliDeleteResult) Read

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

func (*IcliDeleteResult) ReadField0

func (p *IcliDeleteResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliDeleteResult) String

func (p *IcliDeleteResult) String() string

func (*IcliDeleteResult) Write

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

type IcliDropArgs

type IcliDropArgs struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewIcliDropArgs

func NewIcliDropArgs() *IcliDropArgs

func (*IcliDropArgs) GetName

func (p *IcliDropArgs) GetName() string

func (*IcliDropArgs) Read

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

func (*IcliDropArgs) ReadField1

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

func (*IcliDropArgs) String

func (p *IcliDropArgs) String() string

func (*IcliDropArgs) Write

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

type IcliDropResult

type IcliDropResult struct {
	Success *Ack `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliDropResult

func NewIcliDropResult() *IcliDropResult

func (*IcliDropResult) GetSuccess

func (p *IcliDropResult) GetSuccess() *Ack

func (*IcliDropResult) IsSetSuccess

func (p *IcliDropResult) IsSetSuccess() bool

func (*IcliDropResult) Read

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

func (*IcliDropResult) ReadField0

func (p *IcliDropResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliDropResult) String

func (p *IcliDropResult) String() string

func (*IcliDropResult) Write

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

type IcliInsertArgs

type IcliInsertArgs struct {
	Tb *TableBean `thrift:"tb,1" db:"tb" json:"tb"`
}

Attributes:

  • Tb

func NewIcliInsertArgs

func NewIcliInsertArgs() *IcliInsertArgs

func (*IcliInsertArgs) GetTb

func (p *IcliInsertArgs) GetTb() *TableBean

func (*IcliInsertArgs) IsSetTb

func (p *IcliInsertArgs) IsSetTb() bool

func (*IcliInsertArgs) Read

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

func (*IcliInsertArgs) ReadField1

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

func (*IcliInsertArgs) String

func (p *IcliInsertArgs) String() string

func (*IcliInsertArgs) Write

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

type IcliInsertResult

type IcliInsertResult struct {
	Success *AckBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliInsertResult

func NewIcliInsertResult() *IcliInsertResult

func (*IcliInsertResult) GetSuccess

func (p *IcliInsertResult) GetSuccess() *AckBean

func (*IcliInsertResult) IsSetSuccess

func (p *IcliInsertResult) IsSetSuccess() bool

func (*IcliInsertResult) Read

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

func (*IcliInsertResult) ReadField0

func (p *IcliInsertResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliInsertResult) String

func (p *IcliInsertResult) String() string

func (*IcliInsertResult) Write

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

type IcliPingArgs

type IcliPingArgs struct {
	I int64 `thrift:"i,1" db:"i" json:"i"`
}

Attributes:

  • I

func NewIcliPingArgs

func NewIcliPingArgs() *IcliPingArgs

func (*IcliPingArgs) GetI

func (p *IcliPingArgs) GetI() int64

func (*IcliPingArgs) Read

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

func (*IcliPingArgs) ReadField1

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

func (*IcliPingArgs) String

func (p *IcliPingArgs) String() string

func (*IcliPingArgs) Write

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

type IcliPingResult

type IcliPingResult struct {
	Success *Ack `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliPingResult

func NewIcliPingResult() *IcliPingResult

func (*IcliPingResult) GetSuccess

func (p *IcliPingResult) GetSuccess() *Ack

func (*IcliPingResult) IsSetSuccess

func (p *IcliPingResult) IsSetSuccess() bool

func (*IcliPingResult) Read

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

func (*IcliPingResult) ReadField0

func (p *IcliPingResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliPingResult) String

func (p *IcliPingResult) String() string

func (*IcliPingResult) Write

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

type IcliProcessor

type IcliProcessor struct {
	// contains filtered or unexported fields
}

func NewIcliProcessor

func NewIcliProcessor(handler Icli) *IcliProcessor

func (*IcliProcessor) AddToProcessorMap

func (p *IcliProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*IcliProcessor) GetProcessorFunction

func (p *IcliProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*IcliProcessor) Process

func (p *IcliProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*IcliProcessor) ProcessorMap

func (p *IcliProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type IcliSelectAllByIdxArgs

type IcliSelectAllByIdxArgs struct {
	Name   string `thrift:"name,1" db:"name" json:"name"`
	Column string `thrift:"column,2" db:"column" json:"column"`
	Value  []byte `thrift:"value,3" db:"value" json:"value"`
}

Attributes:

  • Name
  • Column
  • Value

func NewIcliSelectAllByIdxArgs

func NewIcliSelectAllByIdxArgs() *IcliSelectAllByIdxArgs

func (*IcliSelectAllByIdxArgs) GetColumn

func (p *IcliSelectAllByIdxArgs) GetColumn() string

func (*IcliSelectAllByIdxArgs) GetName

func (p *IcliSelectAllByIdxArgs) GetName() string

func (*IcliSelectAllByIdxArgs) GetValue

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

func (*IcliSelectAllByIdxArgs) Read

func (*IcliSelectAllByIdxArgs) ReadField1

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

func (*IcliSelectAllByIdxArgs) ReadField2

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

func (*IcliSelectAllByIdxArgs) ReadField3

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

func (*IcliSelectAllByIdxArgs) String

func (p *IcliSelectAllByIdxArgs) String() string

func (*IcliSelectAllByIdxArgs) Write

type IcliSelectAllByIdxResult

type IcliSelectAllByIdxResult struct {
	Success []*DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectAllByIdxResult

func NewIcliSelectAllByIdxResult() *IcliSelectAllByIdxResult

func (*IcliSelectAllByIdxResult) GetSuccess

func (p *IcliSelectAllByIdxResult) GetSuccess() []*DataBean

func (*IcliSelectAllByIdxResult) IsSetSuccess

func (p *IcliSelectAllByIdxResult) IsSetSuccess() bool

func (*IcliSelectAllByIdxResult) Read

func (*IcliSelectAllByIdxResult) ReadField0

func (p *IcliSelectAllByIdxResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectAllByIdxResult) String

func (p *IcliSelectAllByIdxResult) String() string

func (*IcliSelectAllByIdxResult) Write

type IcliSelectByIdArgs

type IcliSelectByIdArgs struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
	ID   int64  `thrift:"id,2" db:"id" json:"id"`
}

Attributes:

  • Name
  • ID

func NewIcliSelectByIdArgs

func NewIcliSelectByIdArgs() *IcliSelectByIdArgs

func (*IcliSelectByIdArgs) GetID

func (p *IcliSelectByIdArgs) GetID() int64

func (*IcliSelectByIdArgs) GetName

func (p *IcliSelectByIdArgs) GetName() string

func (*IcliSelectByIdArgs) Read

func (*IcliSelectByIdArgs) ReadField1

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

func (*IcliSelectByIdArgs) ReadField2

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

func (*IcliSelectByIdArgs) String

func (p *IcliSelectByIdArgs) String() string

func (*IcliSelectByIdArgs) Write

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

type IcliSelectByIdResult

type IcliSelectByIdResult struct {
	Success *DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectByIdResult

func NewIcliSelectByIdResult() *IcliSelectByIdResult

func (*IcliSelectByIdResult) GetSuccess

func (p *IcliSelectByIdResult) GetSuccess() *DataBean

func (*IcliSelectByIdResult) IsSetSuccess

func (p *IcliSelectByIdResult) IsSetSuccess() bool

func (*IcliSelectByIdResult) Read

func (*IcliSelectByIdResult) ReadField0

func (p *IcliSelectByIdResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectByIdResult) String

func (p *IcliSelectByIdResult) String() string

func (*IcliSelectByIdResult) Write

type IcliSelectByIdxArgs

type IcliSelectByIdxArgs struct {
	Name   string `thrift:"name,1" db:"name" json:"name"`
	Column string `thrift:"column,2" db:"column" json:"column"`
	Value  []byte `thrift:"value,3" db:"value" json:"value"`
}

Attributes:

  • Name
  • Column
  • Value

func NewIcliSelectByIdxArgs

func NewIcliSelectByIdxArgs() *IcliSelectByIdxArgs

func (*IcliSelectByIdxArgs) GetColumn

func (p *IcliSelectByIdxArgs) GetColumn() string

func (*IcliSelectByIdxArgs) GetName

func (p *IcliSelectByIdxArgs) GetName() string

func (*IcliSelectByIdxArgs) GetValue

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

func (*IcliSelectByIdxArgs) Read

func (*IcliSelectByIdxArgs) ReadField1

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

func (*IcliSelectByIdxArgs) ReadField2

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

func (*IcliSelectByIdxArgs) ReadField3

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

func (*IcliSelectByIdxArgs) String

func (p *IcliSelectByIdxArgs) String() string

func (*IcliSelectByIdxArgs) Write

type IcliSelectByIdxAscLimitArgs

type IcliSelectByIdxAscLimitArgs struct {
	Name    string `thrift:"name,1" db:"name" json:"name"`
	Column  string `thrift:"column,2" db:"column" json:"column"`
	Value   []byte `thrift:"value,3" db:"value" json:"value"`
	StartId int64  `thrift:"startId,4" db:"startId" json:"startId"`
	Limit   int64  `thrift:"limit,5" db:"limit" json:"limit"`
}

Attributes:

  • Name
  • Column
  • Value
  • StartId
  • Limit

func NewIcliSelectByIdxAscLimitArgs

func NewIcliSelectByIdxAscLimitArgs() *IcliSelectByIdxAscLimitArgs

func (*IcliSelectByIdxAscLimitArgs) GetColumn

func (p *IcliSelectByIdxAscLimitArgs) GetColumn() string

func (*IcliSelectByIdxAscLimitArgs) GetLimit

func (p *IcliSelectByIdxAscLimitArgs) GetLimit() int64

func (*IcliSelectByIdxAscLimitArgs) GetName

func (p *IcliSelectByIdxAscLimitArgs) GetName() string

func (*IcliSelectByIdxAscLimitArgs) GetStartId

func (p *IcliSelectByIdxAscLimitArgs) GetStartId() int64

func (*IcliSelectByIdxAscLimitArgs) GetValue

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

func (*IcliSelectByIdxAscLimitArgs) Read

func (*IcliSelectByIdxAscLimitArgs) ReadField1

func (*IcliSelectByIdxAscLimitArgs) ReadField2

func (*IcliSelectByIdxAscLimitArgs) ReadField3

func (*IcliSelectByIdxAscLimitArgs) ReadField4

func (*IcliSelectByIdxAscLimitArgs) ReadField5

func (*IcliSelectByIdxAscLimitArgs) String

func (p *IcliSelectByIdxAscLimitArgs) String() string

func (*IcliSelectByIdxAscLimitArgs) Write

type IcliSelectByIdxAscLimitResult

type IcliSelectByIdxAscLimitResult struct {
	Success []*DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectByIdxAscLimitResult

func NewIcliSelectByIdxAscLimitResult() *IcliSelectByIdxAscLimitResult

func (*IcliSelectByIdxAscLimitResult) GetSuccess

func (p *IcliSelectByIdxAscLimitResult) GetSuccess() []*DataBean

func (*IcliSelectByIdxAscLimitResult) IsSetSuccess

func (p *IcliSelectByIdxAscLimitResult) IsSetSuccess() bool

func (*IcliSelectByIdxAscLimitResult) Read

func (*IcliSelectByIdxAscLimitResult) ReadField0

func (*IcliSelectByIdxAscLimitResult) String

func (*IcliSelectByIdxAscLimitResult) Write

type IcliSelectByIdxDescLimitArgs

type IcliSelectByIdxDescLimitArgs struct {
	Name    string `thrift:"name,1" db:"name" json:"name"`
	Column  string `thrift:"column,2" db:"column" json:"column"`
	Value   []byte `thrift:"value,3" db:"value" json:"value"`
	StartId int64  `thrift:"startId,4" db:"startId" json:"startId"`
	Limit   int64  `thrift:"limit,5" db:"limit" json:"limit"`
}

Attributes:

  • Name
  • Column
  • Value
  • StartId
  • Limit

func NewIcliSelectByIdxDescLimitArgs

func NewIcliSelectByIdxDescLimitArgs() *IcliSelectByIdxDescLimitArgs

func (*IcliSelectByIdxDescLimitArgs) GetColumn

func (p *IcliSelectByIdxDescLimitArgs) GetColumn() string

func (*IcliSelectByIdxDescLimitArgs) GetLimit

func (p *IcliSelectByIdxDescLimitArgs) GetLimit() int64

func (*IcliSelectByIdxDescLimitArgs) GetName

func (p *IcliSelectByIdxDescLimitArgs) GetName() string

func (*IcliSelectByIdxDescLimitArgs) GetStartId

func (p *IcliSelectByIdxDescLimitArgs) GetStartId() int64

func (*IcliSelectByIdxDescLimitArgs) GetValue

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

func (*IcliSelectByIdxDescLimitArgs) Read

func (*IcliSelectByIdxDescLimitArgs) ReadField1

func (*IcliSelectByIdxDescLimitArgs) ReadField2

func (*IcliSelectByIdxDescLimitArgs) ReadField3

func (*IcliSelectByIdxDescLimitArgs) ReadField4

func (*IcliSelectByIdxDescLimitArgs) ReadField5

func (*IcliSelectByIdxDescLimitArgs) String

func (*IcliSelectByIdxDescLimitArgs) Write

type IcliSelectByIdxDescLimitResult

type IcliSelectByIdxDescLimitResult struct {
	Success []*DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectByIdxDescLimitResult

func NewIcliSelectByIdxDescLimitResult() *IcliSelectByIdxDescLimitResult

func (*IcliSelectByIdxDescLimitResult) GetSuccess

func (p *IcliSelectByIdxDescLimitResult) GetSuccess() []*DataBean

func (*IcliSelectByIdxDescLimitResult) IsSetSuccess

func (p *IcliSelectByIdxDescLimitResult) IsSetSuccess() bool

func (*IcliSelectByIdxDescLimitResult) Read

func (*IcliSelectByIdxDescLimitResult) ReadField0

func (*IcliSelectByIdxDescLimitResult) String

func (*IcliSelectByIdxDescLimitResult) Write

type IcliSelectByIdxLimitArgs

type IcliSelectByIdxLimitArgs struct {
	Name    string   `thrift:"name,1" db:"name" json:"name"`
	Column  string   `thrift:"column,2" db:"column" json:"column"`
	Value   [][]byte `thrift:"value,3" db:"value" json:"value"`
	StartId int64    `thrift:"startId,4" db:"startId" json:"startId"`
	Limit   int64    `thrift:"limit,5" db:"limit" json:"limit"`
}

Attributes:

  • Name
  • Column
  • Value
  • StartId
  • Limit

func NewIcliSelectByIdxLimitArgs

func NewIcliSelectByIdxLimitArgs() *IcliSelectByIdxLimitArgs

func (*IcliSelectByIdxLimitArgs) GetColumn

func (p *IcliSelectByIdxLimitArgs) GetColumn() string

func (*IcliSelectByIdxLimitArgs) GetLimit

func (p *IcliSelectByIdxLimitArgs) GetLimit() int64

func (*IcliSelectByIdxLimitArgs) GetName

func (p *IcliSelectByIdxLimitArgs) GetName() string

func (*IcliSelectByIdxLimitArgs) GetStartId

func (p *IcliSelectByIdxLimitArgs) GetStartId() int64

func (*IcliSelectByIdxLimitArgs) GetValue

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

func (*IcliSelectByIdxLimitArgs) Read

func (*IcliSelectByIdxLimitArgs) ReadField1

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

func (*IcliSelectByIdxLimitArgs) ReadField2

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

func (*IcliSelectByIdxLimitArgs) ReadField3

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

func (*IcliSelectByIdxLimitArgs) ReadField4

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

func (*IcliSelectByIdxLimitArgs) ReadField5

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

func (*IcliSelectByIdxLimitArgs) String

func (p *IcliSelectByIdxLimitArgs) String() string

func (*IcliSelectByIdxLimitArgs) Write

type IcliSelectByIdxLimitResult

type IcliSelectByIdxLimitResult struct {
	Success []*DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectByIdxLimitResult

func NewIcliSelectByIdxLimitResult() *IcliSelectByIdxLimitResult

func (*IcliSelectByIdxLimitResult) GetSuccess

func (p *IcliSelectByIdxLimitResult) GetSuccess() []*DataBean

func (*IcliSelectByIdxLimitResult) IsSetSuccess

func (p *IcliSelectByIdxLimitResult) IsSetSuccess() bool

func (*IcliSelectByIdxLimitResult) Read

func (*IcliSelectByIdxLimitResult) ReadField0

func (p *IcliSelectByIdxLimitResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectByIdxLimitResult) String

func (p *IcliSelectByIdxLimitResult) String() string

func (*IcliSelectByIdxLimitResult) Write

type IcliSelectByIdxResult

type IcliSelectByIdxResult struct {
	Success *DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectByIdxResult

func NewIcliSelectByIdxResult() *IcliSelectByIdxResult

func (*IcliSelectByIdxResult) GetSuccess

func (p *IcliSelectByIdxResult) GetSuccess() *DataBean

func (*IcliSelectByIdxResult) IsSetSuccess

func (p *IcliSelectByIdxResult) IsSetSuccess() bool

func (*IcliSelectByIdxResult) Read

func (*IcliSelectByIdxResult) ReadField0

func (p *IcliSelectByIdxResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectByIdxResult) String

func (p *IcliSelectByIdxResult) String() string

func (*IcliSelectByIdxResult) Write

type IcliSelectIdArgs

type IcliSelectIdArgs struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewIcliSelectIdArgs

func NewIcliSelectIdArgs() *IcliSelectIdArgs

func (*IcliSelectIdArgs) GetName

func (p *IcliSelectIdArgs) GetName() string

func (*IcliSelectIdArgs) Read

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

func (*IcliSelectIdArgs) ReadField1

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

func (*IcliSelectIdArgs) String

func (p *IcliSelectIdArgs) String() string

func (*IcliSelectIdArgs) Write

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

type IcliSelectIdByIdxArgs

type IcliSelectIdByIdxArgs struct {
	Name   string `thrift:"name,1" db:"name" json:"name"`
	Column string `thrift:"column,2" db:"column" json:"column"`
	Value  []byte `thrift:"value,3" db:"value" json:"value"`
}

Attributes:

  • Name
  • Column
  • Value

func NewIcliSelectIdByIdxArgs

func NewIcliSelectIdByIdxArgs() *IcliSelectIdByIdxArgs

func (*IcliSelectIdByIdxArgs) GetColumn

func (p *IcliSelectIdByIdxArgs) GetColumn() string

func (*IcliSelectIdByIdxArgs) GetName

func (p *IcliSelectIdByIdxArgs) GetName() string

func (*IcliSelectIdByIdxArgs) GetValue

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

func (*IcliSelectIdByIdxArgs) Read

func (*IcliSelectIdByIdxArgs) ReadField1

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

func (*IcliSelectIdByIdxArgs) ReadField2

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

func (*IcliSelectIdByIdxArgs) ReadField3

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

func (*IcliSelectIdByIdxArgs) String

func (p *IcliSelectIdByIdxArgs) String() string

func (*IcliSelectIdByIdxArgs) Write

type IcliSelectIdByIdxResult

type IcliSelectIdByIdxResult struct {
	Success *int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectIdByIdxResult

func NewIcliSelectIdByIdxResult() *IcliSelectIdByIdxResult

func (*IcliSelectIdByIdxResult) GetSuccess

func (p *IcliSelectIdByIdxResult) GetSuccess() int64

func (*IcliSelectIdByIdxResult) IsSetSuccess

func (p *IcliSelectIdByIdxResult) IsSetSuccess() bool

func (*IcliSelectIdByIdxResult) Read

func (*IcliSelectIdByIdxResult) ReadField0

func (p *IcliSelectIdByIdxResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectIdByIdxResult) String

func (p *IcliSelectIdByIdxResult) String() string

func (*IcliSelectIdByIdxResult) Write

type IcliSelectIdByIdxSeqArgs

type IcliSelectIdByIdxSeqArgs struct {
	Name   string `thrift:"name,1" db:"name" json:"name"`
	Column string `thrift:"column,2" db:"column" json:"column"`
	Value  []byte `thrift:"value,3" db:"value" json:"value"`
	Seq    int64  `thrift:"seq,4" db:"seq" json:"seq"`
}

Attributes:

  • Name
  • Column
  • Value
  • Seq

func NewIcliSelectIdByIdxSeqArgs

func NewIcliSelectIdByIdxSeqArgs() *IcliSelectIdByIdxSeqArgs

func (*IcliSelectIdByIdxSeqArgs) GetColumn

func (p *IcliSelectIdByIdxSeqArgs) GetColumn() string

func (*IcliSelectIdByIdxSeqArgs) GetName

func (p *IcliSelectIdByIdxSeqArgs) GetName() string

func (*IcliSelectIdByIdxSeqArgs) GetSeq

func (p *IcliSelectIdByIdxSeqArgs) GetSeq() int64

func (*IcliSelectIdByIdxSeqArgs) GetValue

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

func (*IcliSelectIdByIdxSeqArgs) Read

func (*IcliSelectIdByIdxSeqArgs) ReadField1

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

func (*IcliSelectIdByIdxSeqArgs) ReadField2

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

func (*IcliSelectIdByIdxSeqArgs) ReadField3

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

func (*IcliSelectIdByIdxSeqArgs) ReadField4

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

func (*IcliSelectIdByIdxSeqArgs) String

func (p *IcliSelectIdByIdxSeqArgs) String() string

func (*IcliSelectIdByIdxSeqArgs) Write

type IcliSelectIdByIdxSeqResult

type IcliSelectIdByIdxSeqResult struct {
	Success *int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectIdByIdxSeqResult

func NewIcliSelectIdByIdxSeqResult() *IcliSelectIdByIdxSeqResult

func (*IcliSelectIdByIdxSeqResult) GetSuccess

func (p *IcliSelectIdByIdxSeqResult) GetSuccess() int64

func (*IcliSelectIdByIdxSeqResult) IsSetSuccess

func (p *IcliSelectIdByIdxSeqResult) IsSetSuccess() bool

func (*IcliSelectIdByIdxSeqResult) Read

func (*IcliSelectIdByIdxSeqResult) ReadField0

func (p *IcliSelectIdByIdxSeqResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectIdByIdxSeqResult) String

func (p *IcliSelectIdByIdxSeqResult) String() string

func (*IcliSelectIdByIdxSeqResult) Write

type IcliSelectIdResult

type IcliSelectIdResult struct {
	Success *int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectIdResult

func NewIcliSelectIdResult() *IcliSelectIdResult

func (*IcliSelectIdResult) GetSuccess

func (p *IcliSelectIdResult) GetSuccess() int64

func (*IcliSelectIdResult) IsSetSuccess

func (p *IcliSelectIdResult) IsSetSuccess() bool

func (*IcliSelectIdResult) Read

func (*IcliSelectIdResult) ReadField0

func (p *IcliSelectIdResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectIdResult) String

func (p *IcliSelectIdResult) String() string

func (*IcliSelectIdResult) Write

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

type IcliSelectsByIdLimitArgs

type IcliSelectsByIdLimitArgs struct {
	Name    string `thrift:"name,1" db:"name" json:"name"`
	StartId int64  `thrift:"startId,2" db:"startId" json:"startId"`
	Limit   int64  `thrift:"limit,3" db:"limit" json:"limit"`
}

Attributes:

  • Name
  • StartId
  • Limit

func NewIcliSelectsByIdLimitArgs

func NewIcliSelectsByIdLimitArgs() *IcliSelectsByIdLimitArgs

func (*IcliSelectsByIdLimitArgs) GetLimit

func (p *IcliSelectsByIdLimitArgs) GetLimit() int64

func (*IcliSelectsByIdLimitArgs) GetName

func (p *IcliSelectsByIdLimitArgs) GetName() string

func (*IcliSelectsByIdLimitArgs) GetStartId

func (p *IcliSelectsByIdLimitArgs) GetStartId() int64

func (*IcliSelectsByIdLimitArgs) Read

func (*IcliSelectsByIdLimitArgs) ReadField1

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

func (*IcliSelectsByIdLimitArgs) ReadField2

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

func (*IcliSelectsByIdLimitArgs) ReadField3

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

func (*IcliSelectsByIdLimitArgs) String

func (p *IcliSelectsByIdLimitArgs) String() string

func (*IcliSelectsByIdLimitArgs) Write

type IcliSelectsByIdLimitResult

type IcliSelectsByIdLimitResult struct {
	Success []*DataBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliSelectsByIdLimitResult

func NewIcliSelectsByIdLimitResult() *IcliSelectsByIdLimitResult

func (*IcliSelectsByIdLimitResult) GetSuccess

func (p *IcliSelectsByIdLimitResult) GetSuccess() []*DataBean

func (*IcliSelectsByIdLimitResult) IsSetSuccess

func (p *IcliSelectsByIdLimitResult) IsSetSuccess() bool

func (*IcliSelectsByIdLimitResult) Read

func (*IcliSelectsByIdLimitResult) ReadField0

func (p *IcliSelectsByIdLimitResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliSelectsByIdLimitResult) String

func (p *IcliSelectsByIdLimitResult) String() string

func (*IcliSelectsByIdLimitResult) Write

type IcliShowAllTablesArgs

type IcliShowAllTablesArgs struct {
}

func NewIcliShowAllTablesArgs

func NewIcliShowAllTablesArgs() *IcliShowAllTablesArgs

func (*IcliShowAllTablesArgs) Read

func (*IcliShowAllTablesArgs) String

func (p *IcliShowAllTablesArgs) String() string

func (*IcliShowAllTablesArgs) Write

type IcliShowAllTablesResult

type IcliShowAllTablesResult struct {
	Success []*TableBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliShowAllTablesResult

func NewIcliShowAllTablesResult() *IcliShowAllTablesResult

func (*IcliShowAllTablesResult) GetSuccess

func (p *IcliShowAllTablesResult) GetSuccess() []*TableBean

func (*IcliShowAllTablesResult) IsSetSuccess

func (p *IcliShowAllTablesResult) IsSetSuccess() bool

func (*IcliShowAllTablesResult) Read

func (*IcliShowAllTablesResult) ReadField0

func (p *IcliShowAllTablesResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliShowAllTablesResult) String

func (p *IcliShowAllTablesResult) String() string

func (*IcliShowAllTablesResult) Write

type IcliShowTableArgs

type IcliShowTableArgs struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewIcliShowTableArgs

func NewIcliShowTableArgs() *IcliShowTableArgs

func (*IcliShowTableArgs) GetName

func (p *IcliShowTableArgs) GetName() string

func (*IcliShowTableArgs) Read

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

func (*IcliShowTableArgs) ReadField1

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

func (*IcliShowTableArgs) String

func (p *IcliShowTableArgs) String() string

func (*IcliShowTableArgs) Write

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

type IcliShowTableResult

type IcliShowTableResult struct {
	Success *TableBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliShowTableResult

func NewIcliShowTableResult() *IcliShowTableResult

func (*IcliShowTableResult) GetSuccess

func (p *IcliShowTableResult) GetSuccess() *TableBean

func (*IcliShowTableResult) IsSetSuccess

func (p *IcliShowTableResult) IsSetSuccess() bool

func (*IcliShowTableResult) Read

func (*IcliShowTableResult) ReadField0

func (p *IcliShowTableResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliShowTableResult) String

func (p *IcliShowTableResult) String() string

func (*IcliShowTableResult) Write

type IcliUpdateArgs

type IcliUpdateArgs struct {
	Tb *TableBean `thrift:"tb,1" db:"tb" json:"tb"`
}

Attributes:

  • Tb

func NewIcliUpdateArgs

func NewIcliUpdateArgs() *IcliUpdateArgs

func (*IcliUpdateArgs) GetTb

func (p *IcliUpdateArgs) GetTb() *TableBean

func (*IcliUpdateArgs) IsSetTb

func (p *IcliUpdateArgs) IsSetTb() bool

func (*IcliUpdateArgs) Read

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

func (*IcliUpdateArgs) ReadField1

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

func (*IcliUpdateArgs) String

func (p *IcliUpdateArgs) String() string

func (*IcliUpdateArgs) Write

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

type IcliUpdateResult

type IcliUpdateResult struct {
	Success *AckBean `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewIcliUpdateResult

func NewIcliUpdateResult() *IcliUpdateResult

func (*IcliUpdateResult) GetSuccess

func (p *IcliUpdateResult) GetSuccess() *AckBean

func (*IcliUpdateResult) IsSetSuccess

func (p *IcliUpdateResult) IsSetSuccess() bool

func (*IcliUpdateResult) Read

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

func (*IcliUpdateResult) ReadField0

func (p *IcliUpdateResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*IcliUpdateResult) String

func (p *IcliUpdateResult) String() string

func (*IcliUpdateResult) Write

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

type TableBean

type TableBean struct {
	Name    string            `thrift:"name,1,required" db:"name" json:"name"`
	ID      *int64            `thrift:"id,2" db:"id" json:"id,omitempty"`
	Columns map[string][]byte `thrift:"columns,3" db:"columns" json:"columns,omitempty"`
	Idx     map[string]int8   `thrift:"Idx,4" db:"Idx" json:"Idx,omitempty"`
}

Attributes:

  • Name
  • ID
  • Columns
  • Idx
var IcliAlterArgs_Tb_DEFAULT *TableBean
var IcliCreateArgs_Tb_DEFAULT *TableBean
var IcliDeleteArgs_Tb_DEFAULT *TableBean
var IcliInsertArgs_Tb_DEFAULT *TableBean
var IcliShowTableResult_Success_DEFAULT *TableBean
var IcliUpdateArgs_Tb_DEFAULT *TableBean

func NewTableBean

func NewTableBean() *TableBean

func (*TableBean) Equals

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

func (*TableBean) GetColumns

func (p *TableBean) GetColumns() map[string][]byte

func (*TableBean) GetID

func (p *TableBean) GetID() int64

func (*TableBean) GetIdx

func (p *TableBean) GetIdx() map[string]int8

func (*TableBean) GetName

func (p *TableBean) GetName() string

func (*TableBean) IsSetColumns

func (p *TableBean) IsSetColumns() bool

func (*TableBean) IsSetID

func (p *TableBean) IsSetID() bool

func (*TableBean) IsSetIdx

func (p *TableBean) IsSetIdx() bool

func (*TableBean) Read

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

func (*TableBean) ReadField1

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

func (*TableBean) ReadField2

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

func (*TableBean) ReadField3

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

func (*TableBean) ReadField4

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

func (*TableBean) String

func (p *TableBean) String() string

func (*TableBean) Validate

func (p *TableBean) Validate() error

func (*TableBean) Write

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

Jump to

Keyboard shortcuts

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