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
- Variables
- func Auth(s string) (_ok bool)
- type Ack
- func (p *Ack) Equals(other *Ack) bool
- func (p *Ack) GetErrCode() int64
- func (p *Ack) GetErrorDesc() string
- func (p *Ack) GetOk() bool
- func (p *Ack) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Ack) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Ack) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Ack) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Ack) String() string
- func (p *Ack) Validate() error
- func (p *Ack) Write(ctx context.Context, oprot thrift.TProtocol) error
- type AckBean
- func (p *AckBean) Equals(other *AckBean) bool
- func (p *AckBean) GetAck() *Ack
- func (p *AckBean) GetSeq() int64
- func (p *AckBean) IsSetAck() bool
- func (p *AckBean) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AckBean) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AckBean) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AckBean) String() string
- func (p *AckBean) Validate() error
- func (p *AckBean) Write(ctx context.Context, oprot thrift.TProtocol) error
- type DataBean
- func (p *DataBean) Equals(other *DataBean) bool
- func (p *DataBean) GetID() int64
- func (p *DataBean) GetTBean() map[string][]byte
- func (p *DataBean) IsSetTBean() bool
- func (p *DataBean) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *DataBean) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *DataBean) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *DataBean) String() string
- func (p *DataBean) Validate() error
- func (p *DataBean) Write(ctx context.Context, oprot thrift.TProtocol) error
- type Icli
- type IcliAlterArgs
- func (p *IcliAlterArgs) GetTb() *TableBean
- func (p *IcliAlterArgs) IsSetTb() bool
- func (p *IcliAlterArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAlterArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAlterArgs) String() string
- func (p *IcliAlterArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliAlterResult
- func (p *IcliAlterResult) GetSuccess() *Ack
- func (p *IcliAlterResult) IsSetSuccess() bool
- func (p *IcliAlterResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAlterResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAlterResult) String() string
- func (p *IcliAlterResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliAuthArgs
- func (p *IcliAuthArgs) GetS() string
- func (p *IcliAuthArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAuthArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAuthArgs) String() string
- func (p *IcliAuthArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliAuthResult
- func (p *IcliAuthResult) GetSuccess() *Ack
- func (p *IcliAuthResult) IsSetSuccess() bool
- func (p *IcliAuthResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAuthResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliAuthResult) String() string
- func (p *IcliAuthResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliClient
- func (p *IcliClient) Alter(ctx context.Context, tb *TableBean) (_r *Ack, _err error)
- func (p *IcliClient) Auth(ctx context.Context, s string) (_r *Ack, _err error)
- func (p *IcliClient) Client_() thrift.TClient
- func (p *IcliClient) Create(ctx context.Context, tb *TableBean) (_r *Ack, _err error)
- func (p *IcliClient) Delete(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)
- func (p *IcliClient) DeleteBatch(ctx context.Context, name string, ids []int64) (_r *AckBean, _err error)
- func (p *IcliClient) Drop(ctx context.Context, name string) (_r *Ack, _err error)
- func (p *IcliClient) Insert(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)
- func (p *IcliClient) LastResponseMeta_() thrift.ResponseMeta
- func (p *IcliClient) Ping(ctx context.Context, i int64) (_r *Ack, _err error)
- func (p *IcliClient) SelectAllByIdx(ctx context.Context, name string, column string, value []byte) (_r []*DataBean, _err error)
- func (p *IcliClient) SelectById(ctx context.Context, name string, id int64) (_r *DataBean, _err error)
- func (p *IcliClient) SelectByIdx(ctx context.Context, name string, column string, value []byte) (_r *DataBean, _err error)
- func (p *IcliClient) SelectByIdxAscLimit(ctx context.Context, name string, column string, value []byte, startId int64, ...) (_r []*DataBean, _err error)
- func (p *IcliClient) SelectByIdxDescLimit(ctx context.Context, name string, column string, value []byte, startId int64, ...) (_r []*DataBean, _err error)
- func (p *IcliClient) SelectByIdxLimit(ctx context.Context, name string, column string, value [][]byte, startId int64, ...) (_r []*DataBean, _err error)
- func (p *IcliClient) SelectId(ctx context.Context, name string) (_r int64, _err error)
- func (p *IcliClient) SelectIdByIdx(ctx context.Context, name string, column string, value []byte) (_r int64, _err error)
- func (p *IcliClient) SelectIdByIdxSeq(ctx context.Context, name string, column string, value []byte, seq int64) (_r int64, _err error)
- func (p *IcliClient) SelectsByIdLimit(ctx context.Context, name string, startId int64, limit int64) (_r []*DataBean, _err error)
- func (p *IcliClient) SetLastResponseMeta_(meta thrift.ResponseMeta)
- func (p *IcliClient) ShowAllTables(ctx context.Context) (_r []*TableBean, _err error)
- func (p *IcliClient) ShowTable(ctx context.Context, name string) (_r *TableBean, _err error)
- func (p *IcliClient) Update(ctx context.Context, tb *TableBean) (_r *AckBean, _err error)
- type IcliCreateArgs
- func (p *IcliCreateArgs) GetTb() *TableBean
- func (p *IcliCreateArgs) IsSetTb() bool
- func (p *IcliCreateArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliCreateArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliCreateArgs) String() string
- func (p *IcliCreateArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliCreateResult
- func (p *IcliCreateResult) GetSuccess() *Ack
- func (p *IcliCreateResult) IsSetSuccess() bool
- func (p *IcliCreateResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliCreateResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliCreateResult) String() string
- func (p *IcliCreateResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliDeleteArgs
- func (p *IcliDeleteArgs) GetTb() *TableBean
- func (p *IcliDeleteArgs) IsSetTb() bool
- func (p *IcliDeleteArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteArgs) String() string
- func (p *IcliDeleteArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliDeleteBatchArgs
- func (p *IcliDeleteBatchArgs) GetIds() []int64
- func (p *IcliDeleteBatchArgs) GetName() string
- func (p *IcliDeleteBatchArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteBatchArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteBatchArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteBatchArgs) String() string
- func (p *IcliDeleteBatchArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliDeleteBatchResult
- func (p *IcliDeleteBatchResult) GetSuccess() *AckBean
- func (p *IcliDeleteBatchResult) IsSetSuccess() bool
- func (p *IcliDeleteBatchResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteBatchResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteBatchResult) String() string
- func (p *IcliDeleteBatchResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliDeleteResult
- func (p *IcliDeleteResult) GetSuccess() *AckBean
- func (p *IcliDeleteResult) IsSetSuccess() bool
- func (p *IcliDeleteResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDeleteResult) String() string
- func (p *IcliDeleteResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliDropArgs
- func (p *IcliDropArgs) GetName() string
- func (p *IcliDropArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDropArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDropArgs) String() string
- func (p *IcliDropArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliDropResult
- func (p *IcliDropResult) GetSuccess() *Ack
- func (p *IcliDropResult) IsSetSuccess() bool
- func (p *IcliDropResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDropResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliDropResult) String() string
- func (p *IcliDropResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliInsertArgs
- func (p *IcliInsertArgs) GetTb() *TableBean
- func (p *IcliInsertArgs) IsSetTb() bool
- func (p *IcliInsertArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliInsertArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliInsertArgs) String() string
- func (p *IcliInsertArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliInsertResult
- func (p *IcliInsertResult) GetSuccess() *AckBean
- func (p *IcliInsertResult) IsSetSuccess() bool
- func (p *IcliInsertResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliInsertResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliInsertResult) String() string
- func (p *IcliInsertResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliPingArgs
- func (p *IcliPingArgs) GetI() int64
- func (p *IcliPingArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliPingArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliPingArgs) String() string
- func (p *IcliPingArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliPingResult
- func (p *IcliPingResult) GetSuccess() *Ack
- func (p *IcliPingResult) IsSetSuccess() bool
- func (p *IcliPingResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliPingResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliPingResult) String() string
- func (p *IcliPingResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliProcessor
- func (p *IcliProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *IcliProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *IcliProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *IcliProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type IcliSelectAllByIdxArgs
- func (p *IcliSelectAllByIdxArgs) GetColumn() string
- func (p *IcliSelectAllByIdxArgs) GetName() string
- func (p *IcliSelectAllByIdxArgs) GetValue() []byte
- func (p *IcliSelectAllByIdxArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectAllByIdxArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectAllByIdxArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectAllByIdxArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectAllByIdxArgs) String() string
- func (p *IcliSelectAllByIdxArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectAllByIdxResult
- func (p *IcliSelectAllByIdxResult) GetSuccess() []*DataBean
- func (p *IcliSelectAllByIdxResult) IsSetSuccess() bool
- func (p *IcliSelectAllByIdxResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectAllByIdxResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectAllByIdxResult) String() string
- func (p *IcliSelectAllByIdxResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdArgs
- func (p *IcliSelectByIdArgs) GetID() int64
- func (p *IcliSelectByIdArgs) GetName() string
- func (p *IcliSelectByIdArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdArgs) String() string
- func (p *IcliSelectByIdArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdResult
- func (p *IcliSelectByIdResult) GetSuccess() *DataBean
- func (p *IcliSelectByIdResult) IsSetSuccess() bool
- func (p *IcliSelectByIdResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdResult) String() string
- func (p *IcliSelectByIdResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxArgs
- func (p *IcliSelectByIdxArgs) GetColumn() string
- func (p *IcliSelectByIdxArgs) GetName() string
- func (p *IcliSelectByIdxArgs) GetValue() []byte
- func (p *IcliSelectByIdxArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxArgs) String() string
- func (p *IcliSelectByIdxArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxAscLimitArgs
- func (p *IcliSelectByIdxAscLimitArgs) GetColumn() string
- func (p *IcliSelectByIdxAscLimitArgs) GetLimit() int64
- func (p *IcliSelectByIdxAscLimitArgs) GetName() string
- func (p *IcliSelectByIdxAscLimitArgs) GetStartId() int64
- func (p *IcliSelectByIdxAscLimitArgs) GetValue() []byte
- func (p *IcliSelectByIdxAscLimitArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitArgs) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitArgs) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitArgs) String() string
- func (p *IcliSelectByIdxAscLimitArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxAscLimitResult
- func (p *IcliSelectByIdxAscLimitResult) GetSuccess() []*DataBean
- func (p *IcliSelectByIdxAscLimitResult) IsSetSuccess() bool
- func (p *IcliSelectByIdxAscLimitResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxAscLimitResult) String() string
- func (p *IcliSelectByIdxAscLimitResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxDescLimitArgs
- func (p *IcliSelectByIdxDescLimitArgs) GetColumn() string
- func (p *IcliSelectByIdxDescLimitArgs) GetLimit() int64
- func (p *IcliSelectByIdxDescLimitArgs) GetName() string
- func (p *IcliSelectByIdxDescLimitArgs) GetStartId() int64
- func (p *IcliSelectByIdxDescLimitArgs) GetValue() []byte
- func (p *IcliSelectByIdxDescLimitArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitArgs) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitArgs) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitArgs) String() string
- func (p *IcliSelectByIdxDescLimitArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxDescLimitResult
- func (p *IcliSelectByIdxDescLimitResult) GetSuccess() []*DataBean
- func (p *IcliSelectByIdxDescLimitResult) IsSetSuccess() bool
- func (p *IcliSelectByIdxDescLimitResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxDescLimitResult) String() string
- func (p *IcliSelectByIdxDescLimitResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxLimitArgs
- func (p *IcliSelectByIdxLimitArgs) GetColumn() string
- func (p *IcliSelectByIdxLimitArgs) GetLimit() int64
- func (p *IcliSelectByIdxLimitArgs) GetName() string
- func (p *IcliSelectByIdxLimitArgs) GetStartId() int64
- func (p *IcliSelectByIdxLimitArgs) GetValue() [][]byte
- func (p *IcliSelectByIdxLimitArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitArgs) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitArgs) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitArgs) String() string
- func (p *IcliSelectByIdxLimitArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxLimitResult
- func (p *IcliSelectByIdxLimitResult) GetSuccess() []*DataBean
- func (p *IcliSelectByIdxLimitResult) IsSetSuccess() bool
- func (p *IcliSelectByIdxLimitResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxLimitResult) String() string
- func (p *IcliSelectByIdxLimitResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectByIdxResult
- func (p *IcliSelectByIdxResult) GetSuccess() *DataBean
- func (p *IcliSelectByIdxResult) IsSetSuccess() bool
- func (p *IcliSelectByIdxResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectByIdxResult) String() string
- func (p *IcliSelectByIdxResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectIdArgs
- func (p *IcliSelectIdArgs) GetName() string
- func (p *IcliSelectIdArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdArgs) String() string
- func (p *IcliSelectIdArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectIdByIdxArgs
- func (p *IcliSelectIdByIdxArgs) GetColumn() string
- func (p *IcliSelectIdByIdxArgs) GetName() string
- func (p *IcliSelectIdByIdxArgs) GetValue() []byte
- func (p *IcliSelectIdByIdxArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxArgs) String() string
- func (p *IcliSelectIdByIdxArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectIdByIdxResult
- func (p *IcliSelectIdByIdxResult) GetSuccess() int64
- func (p *IcliSelectIdByIdxResult) IsSetSuccess() bool
- func (p *IcliSelectIdByIdxResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxResult) String() string
- func (p *IcliSelectIdByIdxResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectIdByIdxSeqArgs
- func (p *IcliSelectIdByIdxSeqArgs) GetColumn() string
- func (p *IcliSelectIdByIdxSeqArgs) GetName() string
- func (p *IcliSelectIdByIdxSeqArgs) GetSeq() int64
- func (p *IcliSelectIdByIdxSeqArgs) GetValue() []byte
- func (p *IcliSelectIdByIdxSeqArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqArgs) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqArgs) String() string
- func (p *IcliSelectIdByIdxSeqArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectIdByIdxSeqResult
- func (p *IcliSelectIdByIdxSeqResult) GetSuccess() int64
- func (p *IcliSelectIdByIdxSeqResult) IsSetSuccess() bool
- func (p *IcliSelectIdByIdxSeqResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdByIdxSeqResult) String() string
- func (p *IcliSelectIdByIdxSeqResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectIdResult
- func (p *IcliSelectIdResult) GetSuccess() int64
- func (p *IcliSelectIdResult) IsSetSuccess() bool
- func (p *IcliSelectIdResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectIdResult) String() string
- func (p *IcliSelectIdResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectsByIdLimitArgs
- func (p *IcliSelectsByIdLimitArgs) GetLimit() int64
- func (p *IcliSelectsByIdLimitArgs) GetName() string
- func (p *IcliSelectsByIdLimitArgs) GetStartId() int64
- func (p *IcliSelectsByIdLimitArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectsByIdLimitArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectsByIdLimitArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectsByIdLimitArgs) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectsByIdLimitArgs) String() string
- func (p *IcliSelectsByIdLimitArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliSelectsByIdLimitResult
- func (p *IcliSelectsByIdLimitResult) GetSuccess() []*DataBean
- func (p *IcliSelectsByIdLimitResult) IsSetSuccess() bool
- func (p *IcliSelectsByIdLimitResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectsByIdLimitResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliSelectsByIdLimitResult) String() string
- func (p *IcliSelectsByIdLimitResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliShowAllTablesArgs
- type IcliShowAllTablesResult
- func (p *IcliShowAllTablesResult) GetSuccess() []*TableBean
- func (p *IcliShowAllTablesResult) IsSetSuccess() bool
- func (p *IcliShowAllTablesResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliShowAllTablesResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliShowAllTablesResult) String() string
- func (p *IcliShowAllTablesResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliShowTableArgs
- func (p *IcliShowTableArgs) GetName() string
- func (p *IcliShowTableArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliShowTableArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliShowTableArgs) String() string
- func (p *IcliShowTableArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliShowTableResult
- func (p *IcliShowTableResult) GetSuccess() *TableBean
- func (p *IcliShowTableResult) IsSetSuccess() bool
- func (p *IcliShowTableResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliShowTableResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliShowTableResult) String() string
- func (p *IcliShowTableResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliUpdateArgs
- func (p *IcliUpdateArgs) GetTb() *TableBean
- func (p *IcliUpdateArgs) IsSetTb() bool
- func (p *IcliUpdateArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliUpdateArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliUpdateArgs) String() string
- func (p *IcliUpdateArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type IcliUpdateResult
- func (p *IcliUpdateResult) GetSuccess() *AckBean
- func (p *IcliUpdateResult) IsSetSuccess() bool
- func (p *IcliUpdateResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliUpdateResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *IcliUpdateResult) String() string
- func (p *IcliUpdateResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TableBean
- func (p *TableBean) Equals(other *TableBean) bool
- func (p *TableBean) GetColumns() map[string][]byte
- func (p *TableBean) GetID() int64
- func (p *TableBean) GetIdx() map[string]int8
- func (p *TableBean) GetName() string
- func (p *TableBean) IsSetColumns() bool
- func (p *TableBean) IsSetID() bool
- func (p *TableBean) IsSetIdx() bool
- func (p *TableBean) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TableBean) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TableBean) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TableBean) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TableBean) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TableBean) String() string
- func (p *TableBean) Validate() error
- func (p *TableBean) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
const ERR_AUTH_NOPASS = 1301
const ERR_COLUMN_NOEXIST = 412
const ERR_DATA_NOEXIST = 410
const ERR_IDX_NOEXIST = 413
const ERR_NO_MATCH_PARAM = 401
const ERR_TABLE_EXIST = 409
const ERR_TABLE_NOEXIST = 411
const ERR_TIMEOUT = 506
const ERR_UNDEFINED = 1300
Variables ¶
var DataBean_TBean_DEFAULT map[string][]byte
var IcliSelectAllByIdxResult_Success_DEFAULT []*DataBean
var IcliSelectByIdxAscLimitResult_Success_DEFAULT []*DataBean
var IcliSelectByIdxDescLimitResult_Success_DEFAULT []*DataBean
var IcliSelectByIdxLimitResult_Success_DEFAULT []*DataBean
var IcliSelectIdByIdxResult_Success_DEFAULT int64
var IcliSelectIdByIdxSeqResult_Success_DEFAULT int64
var IcliSelectIdResult_Success_DEFAULT int64
var IcliSelectsByIdLimitResult_Success_DEFAULT []*DataBean
var IcliShowAllTablesResult_Success_DEFAULT []*TableBean
var TableBean_Columns_DEFAULT map[string][]byte
var TableBean_ID_DEFAULT int64
var TableBean_Idx_DEFAULT map[string]int8
Functions ¶
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 (*Ack) GetErrCode ¶
func (*Ack) GetErrorDesc ¶
func (*Ack) ReadField1 ¶
func (*Ack) ReadField2 ¶
func (*Ack) ReadField3 ¶
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) ReadField1 ¶
func (*AckBean) ReadField2 ¶
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) IsSetTBean ¶
func (*DataBean) ReadField1 ¶
func (*DataBean) ReadField2 ¶
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) ReadField1 ¶
func (*IcliAlterArgs) String ¶
func (p *IcliAlterArgs) String() string
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) ReadField0 ¶
func (*IcliAlterResult) String ¶
func (p *IcliAlterResult) String() string
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) ReadField1 ¶
func (*IcliAuthArgs) String ¶
func (p *IcliAuthArgs) String() string
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) ReadField0 ¶
func (*IcliAuthResult) String ¶
func (p *IcliAuthResult) String() string
type IcliClient ¶
type IcliClient struct {
// contains filtered or unexported fields
}
func NewIcliClient ¶
func NewIcliClient(c thrift.TClient) *IcliClient
func NewIcliClientFactory ¶
func NewIcliClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *IcliClient
func NewIcliClientProtocol ¶
func NewIcliClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *IcliClient
func (*IcliClient) Client_ ¶
func (p *IcliClient) Client_() thrift.TClient
func (*IcliClient) DeleteBatch ¶
func (p *IcliClient) DeleteBatch(ctx context.Context, name string, ids []int64) (_r *AckBean, _err error)
Parameters:
- Name
- Ids
func (*IcliClient) LastResponseMeta_ ¶
func (p *IcliClient) LastResponseMeta_() thrift.ResponseMeta
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) 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)
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) ReadField1 ¶
func (*IcliCreateArgs) String ¶
func (p *IcliCreateArgs) String() string
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) ReadField0 ¶
func (*IcliCreateResult) String ¶
func (p *IcliCreateResult) String() string
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) ReadField1 ¶
func (*IcliDeleteArgs) String ¶
func (p *IcliDeleteArgs) String() string
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) ReadField1 ¶
func (*IcliDeleteBatchArgs) ReadField2 ¶
func (*IcliDeleteBatchArgs) String ¶
func (p *IcliDeleteBatchArgs) String() string
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) ReadField0 ¶
func (*IcliDeleteBatchResult) String ¶
func (p *IcliDeleteBatchResult) String() string
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) ReadField0 ¶
func (*IcliDeleteResult) String ¶
func (p *IcliDeleteResult) String() string
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) ReadField1 ¶
func (*IcliDropArgs) String ¶
func (p *IcliDropArgs) String() string
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) ReadField0 ¶
func (*IcliDropResult) String ¶
func (p *IcliDropResult) String() string
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) ReadField1 ¶
func (*IcliInsertArgs) String ¶
func (p *IcliInsertArgs) String() string
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) ReadField0 ¶
func (*IcliInsertResult) String ¶
func (p *IcliInsertResult) String() string
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) ReadField1 ¶
func (*IcliPingArgs) String ¶
func (p *IcliPingArgs) String() string
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) ReadField0 ¶
func (*IcliPingResult) String ¶
func (p *IcliPingResult) String() string
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) ReadField1 ¶
func (*IcliSelectAllByIdxArgs) ReadField2 ¶
func (*IcliSelectAllByIdxArgs) ReadField3 ¶
func (*IcliSelectAllByIdxArgs) String ¶
func (p *IcliSelectAllByIdxArgs) String() string
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) ReadField0 ¶
func (*IcliSelectAllByIdxResult) String ¶
func (p *IcliSelectAllByIdxResult) String() string
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) ReadField1 ¶
func (*IcliSelectByIdArgs) ReadField2 ¶
func (*IcliSelectByIdArgs) String ¶
func (p *IcliSelectByIdArgs) String() string
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) ReadField0 ¶
func (*IcliSelectByIdResult) String ¶
func (p *IcliSelectByIdResult) String() string
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) ReadField1 ¶
func (*IcliSelectByIdxArgs) ReadField2 ¶
func (*IcliSelectByIdxArgs) ReadField3 ¶
func (*IcliSelectByIdxArgs) String ¶
func (p *IcliSelectByIdxArgs) String() string
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) ReadField1 ¶
func (*IcliSelectByIdxAscLimitArgs) ReadField2 ¶
func (*IcliSelectByIdxAscLimitArgs) ReadField3 ¶
func (*IcliSelectByIdxAscLimitArgs) ReadField4 ¶
func (*IcliSelectByIdxAscLimitArgs) ReadField5 ¶
func (*IcliSelectByIdxAscLimitArgs) String ¶
func (p *IcliSelectByIdxAscLimitArgs) String() string
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) ReadField0 ¶
func (*IcliSelectByIdxAscLimitResult) String ¶
func (p *IcliSelectByIdxAscLimitResult) String() string
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) ReadField1 ¶
func (*IcliSelectByIdxDescLimitArgs) ReadField2 ¶
func (*IcliSelectByIdxDescLimitArgs) ReadField3 ¶
func (*IcliSelectByIdxDescLimitArgs) ReadField4 ¶
func (*IcliSelectByIdxDescLimitArgs) ReadField5 ¶
func (*IcliSelectByIdxDescLimitArgs) String ¶
func (p *IcliSelectByIdxDescLimitArgs) String() string
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) ReadField0 ¶
func (*IcliSelectByIdxDescLimitResult) String ¶
func (p *IcliSelectByIdxDescLimitResult) String() string
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) ReadField1 ¶
func (*IcliSelectByIdxLimitArgs) ReadField2 ¶
func (*IcliSelectByIdxLimitArgs) ReadField3 ¶
func (*IcliSelectByIdxLimitArgs) ReadField4 ¶
func (*IcliSelectByIdxLimitArgs) ReadField5 ¶
func (*IcliSelectByIdxLimitArgs) String ¶
func (p *IcliSelectByIdxLimitArgs) String() string
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) ReadField0 ¶
func (*IcliSelectByIdxLimitResult) String ¶
func (p *IcliSelectByIdxLimitResult) String() string
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) ReadField0 ¶
func (*IcliSelectByIdxResult) String ¶
func (p *IcliSelectByIdxResult) String() string
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) ReadField1 ¶
func (*IcliSelectIdArgs) String ¶
func (p *IcliSelectIdArgs) String() string
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) ReadField1 ¶
func (*IcliSelectIdByIdxArgs) ReadField2 ¶
func (*IcliSelectIdByIdxArgs) ReadField3 ¶
func (*IcliSelectIdByIdxArgs) String ¶
func (p *IcliSelectIdByIdxArgs) String() string
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) ReadField0 ¶
func (*IcliSelectIdByIdxResult) String ¶
func (p *IcliSelectIdByIdxResult) String() string
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) ReadField1 ¶
func (*IcliSelectIdByIdxSeqArgs) ReadField2 ¶
func (*IcliSelectIdByIdxSeqArgs) ReadField3 ¶
func (*IcliSelectIdByIdxSeqArgs) ReadField4 ¶
func (*IcliSelectIdByIdxSeqArgs) String ¶
func (p *IcliSelectIdByIdxSeqArgs) String() string
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) ReadField0 ¶
func (*IcliSelectIdByIdxSeqResult) String ¶
func (p *IcliSelectIdByIdxSeqResult) String() string
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) ReadField0 ¶
func (*IcliSelectIdResult) String ¶
func (p *IcliSelectIdResult) String() string
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) ReadField1 ¶
func (*IcliSelectsByIdLimitArgs) ReadField2 ¶
func (*IcliSelectsByIdLimitArgs) ReadField3 ¶
func (*IcliSelectsByIdLimitArgs) String ¶
func (p *IcliSelectsByIdLimitArgs) String() string
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) ReadField0 ¶
func (*IcliSelectsByIdLimitResult) String ¶
func (p *IcliSelectsByIdLimitResult) String() string
type IcliShowAllTablesArgs ¶
type IcliShowAllTablesArgs struct { }
func NewIcliShowAllTablesArgs ¶
func NewIcliShowAllTablesArgs() *IcliShowAllTablesArgs
func (*IcliShowAllTablesArgs) String ¶
func (p *IcliShowAllTablesArgs) String() string
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) ReadField0 ¶
func (*IcliShowAllTablesResult) String ¶
func (p *IcliShowAllTablesResult) String() string
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) ReadField1 ¶
func (*IcliShowTableArgs) String ¶
func (p *IcliShowTableArgs) String() string
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) ReadField0 ¶
func (*IcliShowTableResult) String ¶
func (p *IcliShowTableResult) String() string
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) ReadField1 ¶
func (*IcliUpdateArgs) String ¶
func (p *IcliUpdateArgs) String() string
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) ReadField0 ¶
func (*IcliUpdateResult) String ¶
func (p *IcliUpdateResult) String() string
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