bytegraph

package
v0.0.0-...-326cea8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GremlinQueryRequest_Base_DEFAULT *base.Base
View Source
var GremlinQueryResponse_BaseResp_DEFAULT *base.BaseResp
View Source
var GremlinQueryResponse_Costs_DEFAULT []int64
View Source
var GremlinQueryResponse_TxnId_DEFAULT string
View Source
var GremlinQueryResponse_TxnIds_DEFAULT []string
View Source
var GremlinQueryResponse_TxnTs_DEFAULT int64
View Source
var GremlinQueryResponse_TxnTss_DEFAULT []int64
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var Value_BoolValue_DEFAULT bool
View Source
var Value_DoubleValue_DEFAULT float64
View Source
var Value_FloatValue_DEFAULT float64
View Source
var Value_Int64Value_DEFAULT int64
View Source
var Value_IntValue_DEFAULT int32
View Source
var Value_StringValue_DEFAULT []byte

Functions

This section is empty.

Types

type ByteGraphService

type ByteGraphService interface {
	GremlinQuery(ctx context.Context, req *GremlinQueryRequest) (r *GremlinQueryResponse, err error)
}

type ByteGraphServiceClient

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

func NewByteGraphServiceClient

func NewByteGraphServiceClient(c thrift.TClient) *ByteGraphServiceClient

func NewByteGraphServiceClientProtocol

func NewByteGraphServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ByteGraphServiceClient

func (*ByteGraphServiceClient) Client_

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

func (*ByteGraphServiceClient) GremlinQuery

type ByteGraphServiceGremlinQueryArgs

type ByteGraphServiceGremlinQueryArgs struct {
	Req *GremlinQueryRequest `thrift:"req,1" json:"req"`
}

func NewByteGraphServiceGremlinQueryArgs

func NewByteGraphServiceGremlinQueryArgs() *ByteGraphServiceGremlinQueryArgs

func (*ByteGraphServiceGremlinQueryArgs) BLength

func (*ByteGraphServiceGremlinQueryArgs) DeepEqual

func (*ByteGraphServiceGremlinQueryArgs) FastRead

func (p *ByteGraphServiceGremlinQueryArgs) FastRead(buf []byte) (int, error)

func (*ByteGraphServiceGremlinQueryArgs) FastReadField1

func (p *ByteGraphServiceGremlinQueryArgs) FastReadField1(buf []byte) (int, error)

func (*ByteGraphServiceGremlinQueryArgs) FastWrite

func (p *ByteGraphServiceGremlinQueryArgs) FastWrite(buf []byte) int

for compatibility

func (*ByteGraphServiceGremlinQueryArgs) FastWriteNocopy

func (p *ByteGraphServiceGremlinQueryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ByteGraphServiceGremlinQueryArgs) Field1DeepEqual

func (*ByteGraphServiceGremlinQueryArgs) GetFirstArgument

func (p *ByteGraphServiceGremlinQueryArgs) GetFirstArgument() interface{}

func (*ByteGraphServiceGremlinQueryArgs) GetReq

func (*ByteGraphServiceGremlinQueryArgs) IsSetReq

func (p *ByteGraphServiceGremlinQueryArgs) IsSetReq() bool

func (*ByteGraphServiceGremlinQueryArgs) Read

func (*ByteGraphServiceGremlinQueryArgs) ReadField1

func (*ByteGraphServiceGremlinQueryArgs) SetReq

func (*ByteGraphServiceGremlinQueryArgs) String

func (*ByteGraphServiceGremlinQueryArgs) Write

type ByteGraphServiceGremlinQueryResult

type ByteGraphServiceGremlinQueryResult struct {
	Success *GremlinQueryResponse `thrift:"success,0,optional" json:"success,omitempty"`
}

func NewByteGraphServiceGremlinQueryResult

func NewByteGraphServiceGremlinQueryResult() *ByteGraphServiceGremlinQueryResult

func (*ByteGraphServiceGremlinQueryResult) BLength

func (*ByteGraphServiceGremlinQueryResult) DeepEqual

func (*ByteGraphServiceGremlinQueryResult) FastRead

func (p *ByteGraphServiceGremlinQueryResult) FastRead(buf []byte) (int, error)

func (*ByteGraphServiceGremlinQueryResult) FastReadField0

func (p *ByteGraphServiceGremlinQueryResult) FastReadField0(buf []byte) (int, error)

func (*ByteGraphServiceGremlinQueryResult) FastWrite

func (p *ByteGraphServiceGremlinQueryResult) FastWrite(buf []byte) int

for compatibility

func (*ByteGraphServiceGremlinQueryResult) FastWriteNocopy

func (p *ByteGraphServiceGremlinQueryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ByteGraphServiceGremlinQueryResult) Field0DeepEqual

func (*ByteGraphServiceGremlinQueryResult) GetResult

func (p *ByteGraphServiceGremlinQueryResult) GetResult() interface{}

func (*ByteGraphServiceGremlinQueryResult) GetSuccess

func (*ByteGraphServiceGremlinQueryResult) IsSetSuccess

func (p *ByteGraphServiceGremlinQueryResult) IsSetSuccess() bool

func (*ByteGraphServiceGremlinQueryResult) Read

func (*ByteGraphServiceGremlinQueryResult) ReadField0

func (*ByteGraphServiceGremlinQueryResult) SetSuccess

func (p *ByteGraphServiceGremlinQueryResult) SetSuccess(x interface{})

func (*ByteGraphServiceGremlinQueryResult) String

func (*ByteGraphServiceGremlinQueryResult) Write

type ByteGraphServiceProcessor

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

func NewByteGraphServiceProcessor

func NewByteGraphServiceProcessor(handler ByteGraphService) *ByteGraphServiceProcessor

func (*ByteGraphServiceProcessor) AddToProcessorMap

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

func (*ByteGraphServiceProcessor) GetProcessorFunction

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

func (*ByteGraphServiceProcessor) Process

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

func (*ByteGraphServiceProcessor) ProcessorMap

type ClientProtocol

type ClientProtocol int64
const (
	ClientProtocol_Binary     ClientProtocol = 0
	ClientProtocol_ColumnarV1 ClientProtocol = 1
)

func ClientProtocolFromString

func ClientProtocolFromString(s string) (ClientProtocol, error)

func ClientProtocolPtr

func ClientProtocolPtr(v ClientProtocol) *ClientProtocol

func (*ClientProtocol) Scan

func (p *ClientProtocol) Scan(value interface{}) (err error)

func (ClientProtocol) String

func (p ClientProtocol) String() string

func (*ClientProtocol) Value

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

type DirectionType

type DirectionType int64
const (
	DirectionType_Forward DirectionType = 1
	DirectionType_Reverse DirectionType = 2
	DirectionType_Double  DirectionType = 3
)

func DirectionTypeFromString

func DirectionTypeFromString(s string) (DirectionType, error)

func DirectionTypePtr

func DirectionTypePtr(v DirectionType) *DirectionType

func (*DirectionType) Scan

func (p *DirectionType) Scan(value interface{}) (err error)

func (DirectionType) String

func (p DirectionType) String() string

func (*DirectionType) Value

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

type ErrorCode

type ErrorCode int64
const (
	ErrorCode_SUCCESS                 ErrorCode = 0
	ErrorCode_SYSTEM_ERROR            ErrorCode = 1
	ErrorCode_UNKNOWN_ERROR           ErrorCode = 2
	ErrorCode_POINT_NOT_EXIST         ErrorCode = 3
	ErrorCode_EDGE_NOT_EXIST          ErrorCode = 4
	ErrorCode_RETRY                   ErrorCode = 5
	ErrorCode_TABLE_NOT_EXIST         ErrorCode = 6
	ErrorCode_INVALID_REQUEST         ErrorCode = 7
	ErrorCode_EDGE_ALREADY_EXIST      ErrorCode = 8
	ErrorCode_NOT_IMPLEMENTED         ErrorCode = 9
	ErrorCode_IO_TIMEOUT              ErrorCode = 10
	ErrorCode_UDF_NOT_FOUND           ErrorCode = 11
	ErrorCode_INDEX_OUT_OF_RANGE      ErrorCode = 12
	ErrorCode_SERVICE_OVERLOAD        ErrorCode = 13
	ErrorCode_EDGE_OVER_QUOTA         ErrorCode = 14
	ErrorCode_PART_OVER_QUOTA         ErrorCode = 15
	ErrorCode_SLAVE_WRITE_NOT_ALLOWED ErrorCode = 16
	ErrorCode_COMMIT_FAILED           ErrorCode = 17
	ErrorCode_KEY_IN_BLACKLIST        ErrorCode = 18
	ErrorCode_PSM_OVER_QUOTA          ErrorCode = 19
	ErrorCode_PROPERTY_VALUE_INVALID  ErrorCode = 20
	ErrorCode_PROPERTY_NOT_FOUND      ErrorCode = 21
	ErrorCode_GREMLIN_INVALID_QUERY   ErrorCode = 22
	ErrorCode_ELEM_NOT_EXIST          ErrorCode = 23
	ErrorCode_WRITE_STALL             ErrorCode = 24
	ErrorCode_TXN_CONFLICT            ErrorCode = 25
	ErrorCode_REJECTED_BY_HLC         ErrorCode = 26
	ErrorCode_AUTH_FAILED             ErrorCode = 27
	ErrorCode_NOT_SETED               ErrorCode = 255
)

func ErrorCodeFromString

func ErrorCodeFromString(s string) (ErrorCode, error)

func ErrorCodePtr

func ErrorCodePtr(v ErrorCode) *ErrorCode

func (*ErrorCode) Scan

func (p *ErrorCode) Scan(value interface{}) (err error)

func (ErrorCode) String

func (p ErrorCode) String() string

func (*ErrorCode) Value

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

type GremlinQueryRequest

type GremlinQueryRequest struct {
	Table            string              `thrift:"table,1" json:"table"`
	Query            string              `thrift:"query,2" json:"query"`
	Queries          []string            `thrift:"queries,3" json:"queries"`
	Templates        []string            `thrift:"templates,4" json:"templates"`
	Parameters       []map[string]*Value `thrift:"parameters,5" json:"parameters"`
	BinaryParameters []map[string][]byte `thrift:"binary_parameters,6" json:"binary_parameters"`
	UseBinary        bool                `thrift:"useBinary,7" json:"useBinary"`
	Compression      bool                `thrift:"compression,8" json:"compression"`
	ExpectProtocol   ClientProtocol      `thrift:"expect_protocol,9" json:"expect_protocol"`
	Base             *base.Base          `thrift:"Base,255,optional" json:"Base,omitempty"`
}
var ByteGraphServiceGremlinQueryArgs_Req_DEFAULT *GremlinQueryRequest

func NewGremlinQueryRequest

func NewGremlinQueryRequest() *GremlinQueryRequest

func (*GremlinQueryRequest) BLength

func (p *GremlinQueryRequest) BLength() int

func (*GremlinQueryRequest) DeepEqual

func (p *GremlinQueryRequest) DeepEqual(ano *GremlinQueryRequest) bool

func (*GremlinQueryRequest) FastRead

func (p *GremlinQueryRequest) FastRead(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField1

func (p *GremlinQueryRequest) FastReadField1(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField2

func (p *GremlinQueryRequest) FastReadField2(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField255

func (p *GremlinQueryRequest) FastReadField255(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField3

func (p *GremlinQueryRequest) FastReadField3(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField4

func (p *GremlinQueryRequest) FastReadField4(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField5

func (p *GremlinQueryRequest) FastReadField5(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField6

func (p *GremlinQueryRequest) FastReadField6(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField7

func (p *GremlinQueryRequest) FastReadField7(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField8

func (p *GremlinQueryRequest) FastReadField8(buf []byte) (int, error)

func (*GremlinQueryRequest) FastReadField9

func (p *GremlinQueryRequest) FastReadField9(buf []byte) (int, error)

func (*GremlinQueryRequest) FastWrite

func (p *GremlinQueryRequest) FastWrite(buf []byte) int

for compatibility

func (*GremlinQueryRequest) FastWriteNocopy

func (p *GremlinQueryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GremlinQueryRequest) Field1DeepEqual

func (p *GremlinQueryRequest) Field1DeepEqual(src string) bool

func (*GremlinQueryRequest) Field255DeepEqual

func (p *GremlinQueryRequest) Field255DeepEqual(src *base.Base) bool

func (*GremlinQueryRequest) Field2DeepEqual

func (p *GremlinQueryRequest) Field2DeepEqual(src string) bool

func (*GremlinQueryRequest) Field3DeepEqual

func (p *GremlinQueryRequest) Field3DeepEqual(src []string) bool

func (*GremlinQueryRequest) Field4DeepEqual

func (p *GremlinQueryRequest) Field4DeepEqual(src []string) bool

func (*GremlinQueryRequest) Field5DeepEqual

func (p *GremlinQueryRequest) Field5DeepEqual(src []map[string]*Value) bool

func (*GremlinQueryRequest) Field6DeepEqual

func (p *GremlinQueryRequest) Field6DeepEqual(src []map[string][]byte) bool

func (*GremlinQueryRequest) Field7DeepEqual

func (p *GremlinQueryRequest) Field7DeepEqual(src bool) bool

func (*GremlinQueryRequest) Field8DeepEqual

func (p *GremlinQueryRequest) Field8DeepEqual(src bool) bool

func (*GremlinQueryRequest) Field9DeepEqual

func (p *GremlinQueryRequest) Field9DeepEqual(src ClientProtocol) bool

func (*GremlinQueryRequest) GetBase

func (p *GremlinQueryRequest) GetBase() (v *base.Base)

func (*GremlinQueryRequest) GetBinaryParameters

func (p *GremlinQueryRequest) GetBinaryParameters() (v []map[string][]byte)

func (*GremlinQueryRequest) GetCompression

func (p *GremlinQueryRequest) GetCompression() (v bool)

func (*GremlinQueryRequest) GetExpectProtocol

func (p *GremlinQueryRequest) GetExpectProtocol() (v ClientProtocol)

func (*GremlinQueryRequest) GetOrSetBase

func (p *GremlinQueryRequest) GetOrSetBase() interface{}

func (*GremlinQueryRequest) GetParameters

func (p *GremlinQueryRequest) GetParameters() (v []map[string]*Value)

func (*GremlinQueryRequest) GetQueries

func (p *GremlinQueryRequest) GetQueries() (v []string)

func (*GremlinQueryRequest) GetQuery

func (p *GremlinQueryRequest) GetQuery() (v string)

func (*GremlinQueryRequest) GetTable

func (p *GremlinQueryRequest) GetTable() (v string)

func (*GremlinQueryRequest) GetTemplates

func (p *GremlinQueryRequest) GetTemplates() (v []string)

func (*GremlinQueryRequest) GetUseBinary

func (p *GremlinQueryRequest) GetUseBinary() (v bool)

func (*GremlinQueryRequest) IsSetBase

func (p *GremlinQueryRequest) IsSetBase() bool

func (*GremlinQueryRequest) Read

func (p *GremlinQueryRequest) Read(iprot thrift.TProtocol) (err error)

func (*GremlinQueryRequest) ReadField1

func (p *GremlinQueryRequest) ReadField1(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField2

func (p *GremlinQueryRequest) ReadField2(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField255

func (p *GremlinQueryRequest) ReadField255(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField3

func (p *GremlinQueryRequest) ReadField3(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField4

func (p *GremlinQueryRequest) ReadField4(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField5

func (p *GremlinQueryRequest) ReadField5(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField6

func (p *GremlinQueryRequest) ReadField6(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField7

func (p *GremlinQueryRequest) ReadField7(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField8

func (p *GremlinQueryRequest) ReadField8(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) ReadField9

func (p *GremlinQueryRequest) ReadField9(iprot thrift.TProtocol) error

func (*GremlinQueryRequest) SetBase

func (p *GremlinQueryRequest) SetBase(val *base.Base)

func (*GremlinQueryRequest) SetBinaryParameters

func (p *GremlinQueryRequest) SetBinaryParameters(val []map[string][]byte)

func (*GremlinQueryRequest) SetCompression

func (p *GremlinQueryRequest) SetCompression(val bool)

func (*GremlinQueryRequest) SetExpectProtocol

func (p *GremlinQueryRequest) SetExpectProtocol(val ClientProtocol)

func (*GremlinQueryRequest) SetParameters

func (p *GremlinQueryRequest) SetParameters(val []map[string]*Value)

func (*GremlinQueryRequest) SetQueries

func (p *GremlinQueryRequest) SetQueries(val []string)

func (*GremlinQueryRequest) SetQuery

func (p *GremlinQueryRequest) SetQuery(val string)

func (*GremlinQueryRequest) SetTable

func (p *GremlinQueryRequest) SetTable(val string)

func (*GremlinQueryRequest) SetTemplates

func (p *GremlinQueryRequest) SetTemplates(val []string)

func (*GremlinQueryRequest) SetUseBinary

func (p *GremlinQueryRequest) SetUseBinary(val bool)

func (*GremlinQueryRequest) String

func (p *GremlinQueryRequest) String() string

func (*GremlinQueryRequest) Write

func (p *GremlinQueryRequest) Write(oprot thrift.TProtocol) (err error)

type GremlinQueryResponse

type GremlinQueryResponse struct {
	ErrCode        ErrorCode      `thrift:"errCode,1" json:"errCode"`
	Desc           string         `thrift:"desc,2" json:"desc"`
	RetPB          []byte         `thrift:"retPB,3" json:"retPB"`
	BatchRet       [][]byte       `thrift:"batchRet,4" json:"batchRet"`
	BatchDesc      []string       `thrift:"batchDesc,5" json:"batchDesc"`
	BatchErrCode   []ErrorCode    `thrift:"batchErrCode,6" json:"batchErrCode"`
	BatchBinaryRet [][]byte       `thrift:"batchBinaryRet,7" json:"batchBinaryRet"`
	TxnIds         []string       `thrift:"txnIds,8,optional" json:"txnIds,omitempty"`
	TxnTss         []int64        `thrift:"txnTss,9,optional" json:"txnTss,omitempty"`
	TxnId          *string        `thrift:"txnId,10,optional" json:"txnId,omitempty"`
	TxnTs          *int64         `thrift:"txnTs,11,optional" json:"txnTs,omitempty"`
	Costs          []int64        `thrift:"costs,12,optional" json:"costs,omitempty"`
	BaseResp       *base.BaseResp `thrift:"BaseResp,255,optional" json:"BaseResp,omitempty"`
}
var ByteGraphServiceGremlinQueryResult_Success_DEFAULT *GremlinQueryResponse

func NewGremlinQueryResponse

func NewGremlinQueryResponse() *GremlinQueryResponse

func (*GremlinQueryResponse) BLength

func (p *GremlinQueryResponse) BLength() int

func (*GremlinQueryResponse) DeepEqual

func (p *GremlinQueryResponse) DeepEqual(ano *GremlinQueryResponse) bool

func (*GremlinQueryResponse) FastRead

func (p *GremlinQueryResponse) FastRead(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField1

func (p *GremlinQueryResponse) FastReadField1(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField10

func (p *GremlinQueryResponse) FastReadField10(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField11

func (p *GremlinQueryResponse) FastReadField11(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField12

func (p *GremlinQueryResponse) FastReadField12(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField2

func (p *GremlinQueryResponse) FastReadField2(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField255

func (p *GremlinQueryResponse) FastReadField255(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField3

func (p *GremlinQueryResponse) FastReadField3(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField4

func (p *GremlinQueryResponse) FastReadField4(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField5

func (p *GremlinQueryResponse) FastReadField5(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField6

func (p *GremlinQueryResponse) FastReadField6(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField7

func (p *GremlinQueryResponse) FastReadField7(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField8

func (p *GremlinQueryResponse) FastReadField8(buf []byte) (int, error)

func (*GremlinQueryResponse) FastReadField9

func (p *GremlinQueryResponse) FastReadField9(buf []byte) (int, error)

func (*GremlinQueryResponse) FastWrite

func (p *GremlinQueryResponse) FastWrite(buf []byte) int

for compatibility

func (*GremlinQueryResponse) FastWriteNocopy

func (p *GremlinQueryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GremlinQueryResponse) Field10DeepEqual

func (p *GremlinQueryResponse) Field10DeepEqual(src *string) bool

func (*GremlinQueryResponse) Field11DeepEqual

func (p *GremlinQueryResponse) Field11DeepEqual(src *int64) bool

func (*GremlinQueryResponse) Field12DeepEqual

func (p *GremlinQueryResponse) Field12DeepEqual(src []int64) bool

func (*GremlinQueryResponse) Field1DeepEqual

func (p *GremlinQueryResponse) Field1DeepEqual(src ErrorCode) bool

func (*GremlinQueryResponse) Field255DeepEqual

func (p *GremlinQueryResponse) Field255DeepEqual(src *base.BaseResp) bool

func (*GremlinQueryResponse) Field2DeepEqual

func (p *GremlinQueryResponse) Field2DeepEqual(src string) bool

func (*GremlinQueryResponse) Field3DeepEqual

func (p *GremlinQueryResponse) Field3DeepEqual(src []byte) bool

func (*GremlinQueryResponse) Field4DeepEqual

func (p *GremlinQueryResponse) Field4DeepEqual(src [][]byte) bool

func (*GremlinQueryResponse) Field5DeepEqual

func (p *GremlinQueryResponse) Field5DeepEqual(src []string) bool

func (*GremlinQueryResponse) Field6DeepEqual

func (p *GremlinQueryResponse) Field6DeepEqual(src []ErrorCode) bool

func (*GremlinQueryResponse) Field7DeepEqual

func (p *GremlinQueryResponse) Field7DeepEqual(src [][]byte) bool

func (*GremlinQueryResponse) Field8DeepEqual

func (p *GremlinQueryResponse) Field8DeepEqual(src []string) bool

func (*GremlinQueryResponse) Field9DeepEqual

func (p *GremlinQueryResponse) Field9DeepEqual(src []int64) bool

func (*GremlinQueryResponse) GetBaseResp

func (p *GremlinQueryResponse) GetBaseResp() (v *base.BaseResp)

func (*GremlinQueryResponse) GetBatchBinaryRet

func (p *GremlinQueryResponse) GetBatchBinaryRet() (v [][]byte)

func (*GremlinQueryResponse) GetBatchDesc

func (p *GremlinQueryResponse) GetBatchDesc() (v []string)

func (*GremlinQueryResponse) GetBatchErrCode

func (p *GremlinQueryResponse) GetBatchErrCode() (v []ErrorCode)

func (*GremlinQueryResponse) GetBatchRet

func (p *GremlinQueryResponse) GetBatchRet() (v [][]byte)

func (*GremlinQueryResponse) GetCosts

func (p *GremlinQueryResponse) GetCosts() (v []int64)

func (*GremlinQueryResponse) GetDesc

func (p *GremlinQueryResponse) GetDesc() (v string)

func (*GremlinQueryResponse) GetErrCode

func (p *GremlinQueryResponse) GetErrCode() (v ErrorCode)

func (*GremlinQueryResponse) GetOrSetBaseResp

func (p *GremlinQueryResponse) GetOrSetBaseResp() interface{}

func (*GremlinQueryResponse) GetRetPB

func (p *GremlinQueryResponse) GetRetPB() (v []byte)

func (*GremlinQueryResponse) GetTxnId

func (p *GremlinQueryResponse) GetTxnId() (v string)

func (*GremlinQueryResponse) GetTxnIds

func (p *GremlinQueryResponse) GetTxnIds() (v []string)

func (*GremlinQueryResponse) GetTxnTs

func (p *GremlinQueryResponse) GetTxnTs() (v int64)

func (*GremlinQueryResponse) GetTxnTss

func (p *GremlinQueryResponse) GetTxnTss() (v []int64)

func (*GremlinQueryResponse) IsSetBaseResp

func (p *GremlinQueryResponse) IsSetBaseResp() bool

func (*GremlinQueryResponse) IsSetCosts

func (p *GremlinQueryResponse) IsSetCosts() bool

func (*GremlinQueryResponse) IsSetTxnId

func (p *GremlinQueryResponse) IsSetTxnId() bool

func (*GremlinQueryResponse) IsSetTxnIds

func (p *GremlinQueryResponse) IsSetTxnIds() bool

func (*GremlinQueryResponse) IsSetTxnTs

func (p *GremlinQueryResponse) IsSetTxnTs() bool

func (*GremlinQueryResponse) IsSetTxnTss

func (p *GremlinQueryResponse) IsSetTxnTss() bool

func (*GremlinQueryResponse) Read

func (p *GremlinQueryResponse) Read(iprot thrift.TProtocol) (err error)

func (*GremlinQueryResponse) ReadField1

func (p *GremlinQueryResponse) ReadField1(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField10

func (p *GremlinQueryResponse) ReadField10(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField11

func (p *GremlinQueryResponse) ReadField11(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField12

func (p *GremlinQueryResponse) ReadField12(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField2

func (p *GremlinQueryResponse) ReadField2(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField255

func (p *GremlinQueryResponse) ReadField255(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField3

func (p *GremlinQueryResponse) ReadField3(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField4

func (p *GremlinQueryResponse) ReadField4(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField5

func (p *GremlinQueryResponse) ReadField5(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField6

func (p *GremlinQueryResponse) ReadField6(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField7

func (p *GremlinQueryResponse) ReadField7(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField8

func (p *GremlinQueryResponse) ReadField8(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) ReadField9

func (p *GremlinQueryResponse) ReadField9(iprot thrift.TProtocol) error

func (*GremlinQueryResponse) SetBaseResp

func (p *GremlinQueryResponse) SetBaseResp(val *base.BaseResp)

func (*GremlinQueryResponse) SetBatchBinaryRet

func (p *GremlinQueryResponse) SetBatchBinaryRet(val [][]byte)

func (*GremlinQueryResponse) SetBatchDesc

func (p *GremlinQueryResponse) SetBatchDesc(val []string)

func (*GremlinQueryResponse) SetBatchErrCode

func (p *GremlinQueryResponse) SetBatchErrCode(val []ErrorCode)

func (*GremlinQueryResponse) SetBatchRet

func (p *GremlinQueryResponse) SetBatchRet(val [][]byte)

func (*GremlinQueryResponse) SetCosts

func (p *GremlinQueryResponse) SetCosts(val []int64)

func (*GremlinQueryResponse) SetDesc

func (p *GremlinQueryResponse) SetDesc(val string)

func (*GremlinQueryResponse) SetErrCode

func (p *GremlinQueryResponse) SetErrCode(val ErrorCode)

func (*GremlinQueryResponse) SetRetPB

func (p *GremlinQueryResponse) SetRetPB(val []byte)

func (*GremlinQueryResponse) SetTxnId

func (p *GremlinQueryResponse) SetTxnId(val *string)

func (*GremlinQueryResponse) SetTxnIds

func (p *GremlinQueryResponse) SetTxnIds(val []string)

func (*GremlinQueryResponse) SetTxnTs

func (p *GremlinQueryResponse) SetTxnTs(val *int64)

func (*GremlinQueryResponse) SetTxnTss

func (p *GremlinQueryResponse) SetTxnTss(val []int64)

func (*GremlinQueryResponse) String

func (p *GremlinQueryResponse) String() string

func (*GremlinQueryResponse) Write

func (p *GremlinQueryResponse) Write(oprot thrift.TProtocol) (err error)

type Value

type Value struct {
	BoolValue   *bool    `thrift:"bool_value,1,optional" json:"bool_value,omitempty"`
	IntValue    *int32   `thrift:"int_value,2,optional" json:"int_value,omitempty"`
	Int64Value  *int64   `thrift:"int64_value,3,optional" json:"int64_value,omitempty"`
	FloatValue  *float64 `thrift:"float_value,4,optional" json:"float_value,omitempty"`
	DoubleValue *float64 `thrift:"double_value,5,optional" json:"double_value,omitempty"`
	StringValue []byte   `thrift:"string_value,6,optional" json:"string_value,omitempty"`
}

func NewValue

func NewValue() *Value

func (*Value) BLength

func (p *Value) BLength() int

func (*Value) DeepEqual

func (p *Value) DeepEqual(ano *Value) bool

func (*Value) FastRead

func (p *Value) FastRead(buf []byte) (int, error)

func (*Value) FastReadField1

func (p *Value) FastReadField1(buf []byte) (int, error)

func (*Value) FastReadField2

func (p *Value) FastReadField2(buf []byte) (int, error)

func (*Value) FastReadField3

func (p *Value) FastReadField3(buf []byte) (int, error)

func (*Value) FastReadField4

func (p *Value) FastReadField4(buf []byte) (int, error)

func (*Value) FastReadField5

func (p *Value) FastReadField5(buf []byte) (int, error)

func (*Value) FastReadField6

func (p *Value) FastReadField6(buf []byte) (int, error)

func (*Value) FastWrite

func (p *Value) FastWrite(buf []byte) int

for compatibility

func (*Value) FastWriteNocopy

func (p *Value) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Value) Field1DeepEqual

func (p *Value) Field1DeepEqual(src *bool) bool

func (*Value) Field2DeepEqual

func (p *Value) Field2DeepEqual(src *int32) bool

func (*Value) Field3DeepEqual

func (p *Value) Field3DeepEqual(src *int64) bool

func (*Value) Field4DeepEqual

func (p *Value) Field4DeepEqual(src *float64) bool

func (*Value) Field5DeepEqual

func (p *Value) Field5DeepEqual(src *float64) bool

func (*Value) Field6DeepEqual

func (p *Value) Field6DeepEqual(src []byte) bool

func (*Value) GetBoolValue

func (p *Value) GetBoolValue() (v bool)

func (*Value) GetDoubleValue

func (p *Value) GetDoubleValue() (v float64)

func (*Value) GetFloatValue

func (p *Value) GetFloatValue() (v float64)

func (*Value) GetInt64Value

func (p *Value) GetInt64Value() (v int64)

func (*Value) GetIntValue

func (p *Value) GetIntValue() (v int32)

func (*Value) GetStringValue

func (p *Value) GetStringValue() (v []byte)

func (*Value) IsSetBoolValue

func (p *Value) IsSetBoolValue() bool

func (*Value) IsSetDoubleValue

func (p *Value) IsSetDoubleValue() bool

func (*Value) IsSetFloatValue

func (p *Value) IsSetFloatValue() bool

func (*Value) IsSetInt64Value

func (p *Value) IsSetInt64Value() bool

func (*Value) IsSetIntValue

func (p *Value) IsSetIntValue() bool

func (*Value) IsSetStringValue

func (p *Value) IsSetStringValue() bool

func (*Value) Read

func (p *Value) Read(iprot thrift.TProtocol) (err error)

func (*Value) ReadField1

func (p *Value) ReadField1(iprot thrift.TProtocol) error

func (*Value) ReadField2

func (p *Value) ReadField2(iprot thrift.TProtocol) error

func (*Value) ReadField3

func (p *Value) ReadField3(iprot thrift.TProtocol) error

func (*Value) ReadField4

func (p *Value) ReadField4(iprot thrift.TProtocol) error

func (*Value) ReadField5

func (p *Value) ReadField5(iprot thrift.TProtocol) error

func (*Value) ReadField6

func (p *Value) ReadField6(iprot thrift.TProtocol) error

func (*Value) SetBoolValue

func (p *Value) SetBoolValue(val *bool)

func (*Value) SetDoubleValue

func (p *Value) SetDoubleValue(val *float64)

func (*Value) SetFloatValue

func (p *Value) SetFloatValue(val *float64)

func (*Value) SetInt64Value

func (p *Value) SetInt64Value(val *int64)

func (*Value) SetIntValue

func (p *Value) SetIntValue(val *int32)

func (*Value) SetStringValue

func (p *Value) SetStringValue(val []byte)

func (*Value) String

func (p *Value) String() string

func (*Value) Write

func (p *Value) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.3.4.
Code generated by Kitex v0.3.4.

Jump to

Keyboard shortcuts

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