proto

package
v0.0.0-...-b185596 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDDLServiceServer

func RegisterDDLServiceServer(s *grpc.Server, srv DDLServiceServer)

func RegisterDSLServiceServer

func RegisterDSLServiceServer(s *grpc.Server, srv DSLServiceServer)

Types

type AddReq

type AddReq struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Fields               []*Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddReq) Descriptor

func (*AddReq) Descriptor() ([]byte, []int)

func (*AddReq) GetFields

func (m *AddReq) GetFields() []*Field

func (*AddReq) GetTableName

func (m *AddReq) GetTableName() string

func (*AddReq) ProtoMessage

func (*AddReq) ProtoMessage()

func (*AddReq) Reset

func (m *AddReq) Reset()

func (*AddReq) String

func (m *AddReq) String() string

func (*AddReq) XXX_DiscardUnknown

func (m *AddReq) XXX_DiscardUnknown()

func (*AddReq) XXX_Marshal

func (m *AddReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddReq) XXX_Merge

func (m *AddReq) XXX_Merge(src proto.Message)

func (*AddReq) XXX_Size

func (m *AddReq) XXX_Size() int

func (*AddReq) XXX_Unmarshal

func (m *AddReq) XXX_Unmarshal(b []byte) error

type AddResp

type AddResp struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddResp) Descriptor

func (*AddResp) Descriptor() ([]byte, []int)

func (*AddResp) GetTableName

func (m *AddResp) GetTableName() string

func (*AddResp) ProtoMessage

func (*AddResp) ProtoMessage()

func (*AddResp) Reset

func (m *AddResp) Reset()

func (*AddResp) String

func (m *AddResp) String() string

func (*AddResp) XXX_DiscardUnknown

func (m *AddResp) XXX_DiscardUnknown()

func (*AddResp) XXX_Marshal

func (m *AddResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddResp) XXX_Merge

func (m *AddResp) XXX_Merge(src proto.Message)

func (*AddResp) XXX_Size

func (m *AddResp) XXX_Size() int

func (*AddResp) XXX_Unmarshal

func (m *AddResp) XXX_Unmarshal(b []byte) error

type CountReq

type CountReq struct {
	TableName            string     `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Dsl                  *anypb.Any `protobuf:"bytes,2,opt,name=dsl,proto3" json:"dsl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CountReq) Descriptor

func (*CountReq) Descriptor() ([]byte, []int)

func (*CountReq) GetDsl

func (m *CountReq) GetDsl() *anypb.Any

func (*CountReq) GetTableName

func (m *CountReq) GetTableName() string

func (*CountReq) ProtoMessage

func (*CountReq) ProtoMessage()

func (*CountReq) Reset

func (m *CountReq) Reset()

func (*CountReq) String

func (m *CountReq) String() string

func (*CountReq) XXX_DiscardUnknown

func (m *CountReq) XXX_DiscardUnknown()

func (*CountReq) XXX_Marshal

func (m *CountReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CountReq) XXX_Merge

func (m *CountReq) XXX_Merge(src proto.Message)

func (*CountReq) XXX_Size

func (m *CountReq) XXX_Size() int

func (*CountReq) XXX_Unmarshal

func (m *CountReq) XXX_Unmarshal(b []byte) error

type CountResp

type CountResp struct {
	Data                 int64    `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CountResp) Descriptor

func (*CountResp) Descriptor() ([]byte, []int)

func (*CountResp) GetData

func (m *CountResp) GetData() int64

func (*CountResp) ProtoMessage

func (*CountResp) ProtoMessage()

func (*CountResp) Reset

func (m *CountResp) Reset()

func (*CountResp) String

func (m *CountResp) String() string

func (*CountResp) XXX_DiscardUnknown

func (m *CountResp) XXX_DiscardUnknown()

func (*CountResp) XXX_Marshal

func (m *CountResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CountResp) XXX_Merge

func (m *CountResp) XXX_Merge(src proto.Message)

func (*CountResp) XXX_Size

func (m *CountResp) XXX_Size() int

func (*CountResp) XXX_Unmarshal

func (m *CountResp) XXX_Unmarshal(b []byte) error

type CreateReq

type CreateReq struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Fields               []*Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateReq) Descriptor

func (*CreateReq) Descriptor() ([]byte, []int)

func (*CreateReq) GetFields

func (m *CreateReq) GetFields() []*Field

func (*CreateReq) GetTableName

func (m *CreateReq) GetTableName() string

func (*CreateReq) ProtoMessage

func (*CreateReq) ProtoMessage()

func (*CreateReq) Reset

func (m *CreateReq) Reset()

func (*CreateReq) String

func (m *CreateReq) String() string

func (*CreateReq) XXX_DiscardUnknown

func (m *CreateReq) XXX_DiscardUnknown()

func (*CreateReq) XXX_Marshal

func (m *CreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateReq) XXX_Merge

func (m *CreateReq) XXX_Merge(src proto.Message)

func (*CreateReq) XXX_Size

func (m *CreateReq) XXX_Size() int

func (*CreateReq) XXX_Unmarshal

func (m *CreateReq) XXX_Unmarshal(b []byte) error

type CreateResp

type CreateResp struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateResp) Descriptor

func (*CreateResp) Descriptor() ([]byte, []int)

func (*CreateResp) GetTableName

func (m *CreateResp) GetTableName() string

func (*CreateResp) ProtoMessage

func (*CreateResp) ProtoMessage()

func (*CreateResp) Reset

func (m *CreateResp) Reset()

func (*CreateResp) String

func (m *CreateResp) String() string

func (*CreateResp) XXX_DiscardUnknown

func (m *CreateResp) XXX_DiscardUnknown()

func (*CreateResp) XXX_Marshal

func (m *CreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateResp) XXX_Merge

func (m *CreateResp) XXX_Merge(src proto.Message)

func (*CreateResp) XXX_Size

func (m *CreateResp) XXX_Size() int

func (*CreateResp) XXX_Unmarshal

func (m *CreateResp) XXX_Unmarshal(b []byte) error

type DDLServiceClient

type DDLServiceClient interface {
	Create(ctx context.Context, in *CreateReq, opts ...grpc.CallOption) (*CreateResp, error)
	Add(ctx context.Context, in *AddReq, opts ...grpc.CallOption) (*AddResp, error)
	Modify(ctx context.Context, in *ModifyReq, opts ...grpc.CallOption) (*ModifyResp, error)
	Index(ctx context.Context, in *IndexReq, opts ...grpc.CallOption) (*IndexResp, error)
	Unique(ctx context.Context, in *UniqueReq, opts ...grpc.CallOption) (*UniqueResp, error)
	DropIndex(ctx context.Context, in *DropIndexReq, opts ...grpc.CallOption) (*DropIndexResp, error)
}

DDLServiceClient is the client API for DDLService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDDLServiceClient

func NewDDLServiceClient(cc *grpc.ClientConn) DDLServiceClient

type DDLServiceServer

DDLServiceServer is the server API for DDLService service.

type DSLServiceClient

type DSLServiceClient interface {
	FindOne(ctx context.Context, in *FindOneReq, opts ...grpc.CallOption) (*FindOneResp, error)
	Find(ctx context.Context, in *FindReq, opts ...grpc.CallOption) (*FindResp, error)
	Count(ctx context.Context, in *CountReq, opts ...grpc.CallOption) (*CountResp, error)
	Insert(ctx context.Context, in *InsertReq, opts ...grpc.CallOption) (*InsertResp, error)
	Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
	Delete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*DeleteResp, error)
}

DSLServiceClient is the client API for DSLService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDSLServiceClient

func NewDSLServiceClient(cc *grpc.ClientConn) DSLServiceClient

type DSLServiceServer

DSLServiceServer is the server API for DSLService service.

type DeleteReq

type DeleteReq struct {
	TableName            string     `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Dsl                  *anypb.Any `protobuf:"bytes,2,opt,name=dsl,proto3" json:"dsl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*DeleteReq) Descriptor

func (*DeleteReq) Descriptor() ([]byte, []int)

func (*DeleteReq) GetDsl

func (m *DeleteReq) GetDsl() *anypb.Any

func (*DeleteReq) GetTableName

func (m *DeleteReq) GetTableName() string

func (*DeleteReq) ProtoMessage

func (*DeleteReq) ProtoMessage()

func (*DeleteReq) Reset

func (m *DeleteReq) Reset()

func (*DeleteReq) String

func (m *DeleteReq) String() string

func (*DeleteReq) XXX_DiscardUnknown

func (m *DeleteReq) XXX_DiscardUnknown()

func (*DeleteReq) XXX_Marshal

func (m *DeleteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteReq) XXX_Merge

func (m *DeleteReq) XXX_Merge(src proto.Message)

func (*DeleteReq) XXX_Size

func (m *DeleteReq) XXX_Size() int

func (*DeleteReq) XXX_Unmarshal

func (m *DeleteReq) XXX_Unmarshal(b []byte) error

type DeleteResp

type DeleteResp struct {
	Count                int64    `protobuf:"zigzag64,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteResp) Descriptor

func (*DeleteResp) Descriptor() ([]byte, []int)

func (*DeleteResp) GetCount

func (m *DeleteResp) GetCount() int64

func (*DeleteResp) ProtoMessage

func (*DeleteResp) ProtoMessage()

func (*DeleteResp) Reset

func (m *DeleteResp) Reset()

func (*DeleteResp) String

func (m *DeleteResp) String() string

func (*DeleteResp) XXX_DiscardUnknown

func (m *DeleteResp) XXX_DiscardUnknown()

func (*DeleteResp) XXX_Marshal

func (m *DeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResp) XXX_Merge

func (m *DeleteResp) XXX_Merge(src proto.Message)

func (*DeleteResp) XXX_Size

func (m *DeleteResp) XXX_Size() int

func (*DeleteResp) XXX_Unmarshal

func (m *DeleteResp) XXX_Unmarshal(b []byte) error

type DropIndexReq

type DropIndexReq struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	IndexName            string   `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DropIndexReq) Descriptor

func (*DropIndexReq) Descriptor() ([]byte, []int)

func (*DropIndexReq) GetIndexName

func (m *DropIndexReq) GetIndexName() string

func (*DropIndexReq) GetTableName

func (m *DropIndexReq) GetTableName() string

func (*DropIndexReq) ProtoMessage

func (*DropIndexReq) ProtoMessage()

func (*DropIndexReq) Reset

func (m *DropIndexReq) Reset()

func (*DropIndexReq) String

func (m *DropIndexReq) String() string

func (*DropIndexReq) XXX_DiscardUnknown

func (m *DropIndexReq) XXX_DiscardUnknown()

func (*DropIndexReq) XXX_Marshal

func (m *DropIndexReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DropIndexReq) XXX_Merge

func (m *DropIndexReq) XXX_Merge(src proto.Message)

func (*DropIndexReq) XXX_Size

func (m *DropIndexReq) XXX_Size() int

func (*DropIndexReq) XXX_Unmarshal

func (m *DropIndexReq) XXX_Unmarshal(b []byte) error

type DropIndexResp

type DropIndexResp struct {
	IndexName            string   `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DropIndexResp) Descriptor

func (*DropIndexResp) Descriptor() ([]byte, []int)

func (*DropIndexResp) GetIndexName

func (m *DropIndexResp) GetIndexName() string

func (*DropIndexResp) ProtoMessage

func (*DropIndexResp) ProtoMessage()

func (*DropIndexResp) Reset

func (m *DropIndexResp) Reset()

func (*DropIndexResp) String

func (m *DropIndexResp) String() string

func (*DropIndexResp) XXX_DiscardUnknown

func (m *DropIndexResp) XXX_DiscardUnknown()

func (*DropIndexResp) XXX_Marshal

func (m *DropIndexResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DropIndexResp) XXX_Merge

func (m *DropIndexResp) XXX_Merge(src proto.Message)

func (*DropIndexResp) XXX_Size

func (m *DropIndexResp) XXX_Size() int

func (*DropIndexResp) XXX_Unmarshal

func (m *DropIndexResp) XXX_Unmarshal(b []byte) error

type Field

type Field struct {
	Title                string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Max                  int64    `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	Comment              string   `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	NotNull              bool     `protobuf:"varint,5,opt,name=notNull,proto3" json:"notNull,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Field) Descriptor

func (*Field) Descriptor() ([]byte, []int)

func (*Field) GetComment

func (m *Field) GetComment() string

func (*Field) GetMax

func (m *Field) GetMax() int64

func (*Field) GetNotNull

func (m *Field) GetNotNull() bool

func (*Field) GetTitle

func (m *Field) GetTitle() string

func (*Field) GetType

func (m *Field) GetType() string

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) String

func (m *Field) String() string

func (*Field) XXX_DiscardUnknown

func (m *Field) XXX_DiscardUnknown()

func (*Field) XXX_Marshal

func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Field) XXX_Merge

func (m *Field) XXX_Merge(src proto.Message)

func (*Field) XXX_Size

func (m *Field) XXX_Size() int

func (*Field) XXX_Unmarshal

func (m *Field) XXX_Unmarshal(b []byte) error

type FindOneReq

type FindOneReq struct {
	TableName            string     `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Dsl                  *anypb.Any `protobuf:"bytes,2,opt,name=dsl,proto3" json:"dsl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*FindOneReq) Descriptor

func (*FindOneReq) Descriptor() ([]byte, []int)

func (*FindOneReq) GetDsl

func (m *FindOneReq) GetDsl() *anypb.Any

func (*FindOneReq) GetTableName

func (m *FindOneReq) GetTableName() string

func (*FindOneReq) ProtoMessage

func (*FindOneReq) ProtoMessage()

func (*FindOneReq) Reset

func (m *FindOneReq) Reset()

func (*FindOneReq) String

func (m *FindOneReq) String() string

func (*FindOneReq) XXX_DiscardUnknown

func (m *FindOneReq) XXX_DiscardUnknown()

func (*FindOneReq) XXX_Marshal

func (m *FindOneReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindOneReq) XXX_Merge

func (m *FindOneReq) XXX_Merge(src proto.Message)

func (*FindOneReq) XXX_Size

func (m *FindOneReq) XXX_Size() int

func (*FindOneReq) XXX_Unmarshal

func (m *FindOneReq) XXX_Unmarshal(b []byte) error

type FindOneResp

type FindOneResp struct {
	Data                 *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*FindOneResp) Descriptor

func (*FindOneResp) Descriptor() ([]byte, []int)

func (*FindOneResp) GetData

func (m *FindOneResp) GetData() *anypb.Any

func (*FindOneResp) ProtoMessage

func (*FindOneResp) ProtoMessage()

func (*FindOneResp) Reset

func (m *FindOneResp) Reset()

func (*FindOneResp) String

func (m *FindOneResp) String() string

func (*FindOneResp) XXX_DiscardUnknown

func (m *FindOneResp) XXX_DiscardUnknown()

func (*FindOneResp) XXX_Marshal

func (m *FindOneResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindOneResp) XXX_Merge

func (m *FindOneResp) XXX_Merge(src proto.Message)

func (*FindOneResp) XXX_Size

func (m *FindOneResp) XXX_Size() int

func (*FindOneResp) XXX_Unmarshal

func (m *FindOneResp) XXX_Unmarshal(b []byte) error

type FindReq

type FindReq struct {
	TableName            string     `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Page                 int64      `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int64      `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Sort                 []string   `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`
	Dsl                  *anypb.Any `protobuf:"bytes,5,opt,name=dsl,proto3" json:"dsl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*FindReq) Descriptor

func (*FindReq) Descriptor() ([]byte, []int)

func (*FindReq) GetDsl

func (m *FindReq) GetDsl() *anypb.Any

func (*FindReq) GetPage

func (m *FindReq) GetPage() int64

func (*FindReq) GetSize

func (m *FindReq) GetSize() int64

func (*FindReq) GetSort

func (m *FindReq) GetSort() []string

func (*FindReq) GetTableName

func (m *FindReq) GetTableName() string

func (*FindReq) ProtoMessage

func (*FindReq) ProtoMessage()

func (*FindReq) Reset

func (m *FindReq) Reset()

func (*FindReq) String

func (m *FindReq) String() string

func (*FindReq) XXX_DiscardUnknown

func (m *FindReq) XXX_DiscardUnknown()

func (*FindReq) XXX_Marshal

func (m *FindReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindReq) XXX_Merge

func (m *FindReq) XXX_Merge(src proto.Message)

func (*FindReq) XXX_Size

func (m *FindReq) XXX_Size() int

func (*FindReq) XXX_Unmarshal

func (m *FindReq) XXX_Unmarshal(b []byte) error

type FindResp

type FindResp struct {
	Data                 *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Count                int64      `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*FindResp) Descriptor

func (*FindResp) Descriptor() ([]byte, []int)

func (*FindResp) GetCount

func (m *FindResp) GetCount() int64

func (*FindResp) GetData

func (m *FindResp) GetData() *anypb.Any

func (*FindResp) ProtoMessage

func (*FindResp) ProtoMessage()

func (*FindResp) Reset

func (m *FindResp) Reset()

func (*FindResp) String

func (m *FindResp) String() string

func (*FindResp) XXX_DiscardUnknown

func (m *FindResp) XXX_DiscardUnknown()

func (*FindResp) XXX_Marshal

func (m *FindResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindResp) XXX_Merge

func (m *FindResp) XXX_Merge(src proto.Message)

func (*FindResp) XXX_Size

func (m *FindResp) XXX_Size() int

func (*FindResp) XXX_Unmarshal

func (m *FindResp) XXX_Unmarshal(b []byte) error

type IndexReq

type IndexReq struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	IndexName            string   `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"`
	Titles               []string `protobuf:"bytes,3,rep,name=titles,proto3" json:"titles,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IndexReq) Descriptor

func (*IndexReq) Descriptor() ([]byte, []int)

func (*IndexReq) GetIndexName

func (m *IndexReq) GetIndexName() string

func (*IndexReq) GetTableName

func (m *IndexReq) GetTableName() string

func (*IndexReq) GetTitles

func (m *IndexReq) GetTitles() []string

func (*IndexReq) ProtoMessage

func (*IndexReq) ProtoMessage()

func (*IndexReq) Reset

func (m *IndexReq) Reset()

func (*IndexReq) String

func (m *IndexReq) String() string

func (*IndexReq) XXX_DiscardUnknown

func (m *IndexReq) XXX_DiscardUnknown()

func (*IndexReq) XXX_Marshal

func (m *IndexReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexReq) XXX_Merge

func (m *IndexReq) XXX_Merge(src proto.Message)

func (*IndexReq) XXX_Size

func (m *IndexReq) XXX_Size() int

func (*IndexReq) XXX_Unmarshal

func (m *IndexReq) XXX_Unmarshal(b []byte) error

type IndexResp

type IndexResp struct {
	IndexName            string   `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IndexResp) Descriptor

func (*IndexResp) Descriptor() ([]byte, []int)

func (*IndexResp) GetIndexName

func (m *IndexResp) GetIndexName() string

func (*IndexResp) ProtoMessage

func (*IndexResp) ProtoMessage()

func (*IndexResp) Reset

func (m *IndexResp) Reset()

func (*IndexResp) String

func (m *IndexResp) String() string

func (*IndexResp) XXX_DiscardUnknown

func (m *IndexResp) XXX_DiscardUnknown()

func (*IndexResp) XXX_Marshal

func (m *IndexResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexResp) XXX_Merge

func (m *IndexResp) XXX_Merge(src proto.Message)

func (*IndexResp) XXX_Size

func (m *IndexResp) XXX_Size() int

func (*IndexResp) XXX_Unmarshal

func (m *IndexResp) XXX_Unmarshal(b []byte) error

type InsertReq

type InsertReq struct {
	TableName            string       `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Entities             []*anypb.Any `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*InsertReq) Descriptor

func (*InsertReq) Descriptor() ([]byte, []int)

func (*InsertReq) GetEntities

func (m *InsertReq) GetEntities() []*anypb.Any

func (*InsertReq) GetTableName

func (m *InsertReq) GetTableName() string

func (*InsertReq) ProtoMessage

func (*InsertReq) ProtoMessage()

func (*InsertReq) Reset

func (m *InsertReq) Reset()

func (*InsertReq) String

func (m *InsertReq) String() string

func (*InsertReq) XXX_DiscardUnknown

func (m *InsertReq) XXX_DiscardUnknown()

func (*InsertReq) XXX_Marshal

func (m *InsertReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertReq) XXX_Merge

func (m *InsertReq) XXX_Merge(src proto.Message)

func (*InsertReq) XXX_Size

func (m *InsertReq) XXX_Size() int

func (*InsertReq) XXX_Unmarshal

func (m *InsertReq) XXX_Unmarshal(b []byte) error

type InsertResp

type InsertResp struct {
	Count                int64    `protobuf:"zigzag64,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InsertResp) Descriptor

func (*InsertResp) Descriptor() ([]byte, []int)

func (*InsertResp) GetCount

func (m *InsertResp) GetCount() int64

func (*InsertResp) ProtoMessage

func (*InsertResp) ProtoMessage()

func (*InsertResp) Reset

func (m *InsertResp) Reset()

func (*InsertResp) String

func (m *InsertResp) String() string

func (*InsertResp) XXX_DiscardUnknown

func (m *InsertResp) XXX_DiscardUnknown()

func (*InsertResp) XXX_Marshal

func (m *InsertResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertResp) XXX_Merge

func (m *InsertResp) XXX_Merge(src proto.Message)

func (*InsertResp) XXX_Size

func (m *InsertResp) XXX_Size() int

func (*InsertResp) XXX_Unmarshal

func (m *InsertResp) XXX_Unmarshal(b []byte) error

type ModifyReq

type ModifyReq struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Fields               []*Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ModifyReq) Descriptor

func (*ModifyReq) Descriptor() ([]byte, []int)

func (*ModifyReq) GetFields

func (m *ModifyReq) GetFields() []*Field

func (*ModifyReq) GetTableName

func (m *ModifyReq) GetTableName() string

func (*ModifyReq) ProtoMessage

func (*ModifyReq) ProtoMessage()

func (*ModifyReq) Reset

func (m *ModifyReq) Reset()

func (*ModifyReq) String

func (m *ModifyReq) String() string

func (*ModifyReq) XXX_DiscardUnknown

func (m *ModifyReq) XXX_DiscardUnknown()

func (*ModifyReq) XXX_Marshal

func (m *ModifyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyReq) XXX_Merge

func (m *ModifyReq) XXX_Merge(src proto.Message)

func (*ModifyReq) XXX_Size

func (m *ModifyReq) XXX_Size() int

func (*ModifyReq) XXX_Unmarshal

func (m *ModifyReq) XXX_Unmarshal(b []byte) error

type ModifyResp

type ModifyResp struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ModifyResp) Descriptor

func (*ModifyResp) Descriptor() ([]byte, []int)

func (*ModifyResp) GetTableName

func (m *ModifyResp) GetTableName() string

func (*ModifyResp) ProtoMessage

func (*ModifyResp) ProtoMessage()

func (*ModifyResp) Reset

func (m *ModifyResp) Reset()

func (*ModifyResp) String

func (m *ModifyResp) String() string

func (*ModifyResp) XXX_DiscardUnknown

func (m *ModifyResp) XXX_DiscardUnknown()

func (*ModifyResp) XXX_Marshal

func (m *ModifyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyResp) XXX_Merge

func (m *ModifyResp) XXX_Merge(src proto.Message)

func (*ModifyResp) XXX_Size

func (m *ModifyResp) XXX_Size() int

func (*ModifyResp) XXX_Unmarshal

func (m *ModifyResp) XXX_Unmarshal(b []byte) error

type UnimplementedDDLServiceServer

type UnimplementedDDLServiceServer struct {
}

UnimplementedDDLServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDDLServiceServer) Add

func (*UnimplementedDDLServiceServer) Create

func (*UnimplementedDDLServiceServer) DropIndex

func (*UnimplementedDDLServiceServer) Index

func (*UnimplementedDDLServiceServer) Modify

func (*UnimplementedDDLServiceServer) Unique

type UnimplementedDSLServiceServer

type UnimplementedDSLServiceServer struct {
}

UnimplementedDSLServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDSLServiceServer) Count

func (*UnimplementedDSLServiceServer) Delete

func (*UnimplementedDSLServiceServer) Find

func (*UnimplementedDSLServiceServer) FindOne

func (*UnimplementedDSLServiceServer) Insert

func (*UnimplementedDSLServiceServer) Update

type UniqueReq

type UniqueReq struct {
	TableName            string   `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	IndexName            string   `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"`
	Titles               []string `protobuf:"bytes,3,rep,name=titles,proto3" json:"titles,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UniqueReq) Descriptor

func (*UniqueReq) Descriptor() ([]byte, []int)

func (*UniqueReq) GetIndexName

func (m *UniqueReq) GetIndexName() string

func (*UniqueReq) GetTableName

func (m *UniqueReq) GetTableName() string

func (*UniqueReq) GetTitles

func (m *UniqueReq) GetTitles() []string

func (*UniqueReq) ProtoMessage

func (*UniqueReq) ProtoMessage()

func (*UniqueReq) Reset

func (m *UniqueReq) Reset()

func (*UniqueReq) String

func (m *UniqueReq) String() string

func (*UniqueReq) XXX_DiscardUnknown

func (m *UniqueReq) XXX_DiscardUnknown()

func (*UniqueReq) XXX_Marshal

func (m *UniqueReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UniqueReq) XXX_Merge

func (m *UniqueReq) XXX_Merge(src proto.Message)

func (*UniqueReq) XXX_Size

func (m *UniqueReq) XXX_Size() int

func (*UniqueReq) XXX_Unmarshal

func (m *UniqueReq) XXX_Unmarshal(b []byte) error

type UniqueResp

type UniqueResp struct {
	IndexName            string   `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UniqueResp) Descriptor

func (*UniqueResp) Descriptor() ([]byte, []int)

func (*UniqueResp) GetIndexName

func (m *UniqueResp) GetIndexName() string

func (*UniqueResp) ProtoMessage

func (*UniqueResp) ProtoMessage()

func (*UniqueResp) Reset

func (m *UniqueResp) Reset()

func (*UniqueResp) String

func (m *UniqueResp) String() string

func (*UniqueResp) XXX_DiscardUnknown

func (m *UniqueResp) XXX_DiscardUnknown()

func (*UniqueResp) XXX_Marshal

func (m *UniqueResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UniqueResp) XXX_Merge

func (m *UniqueResp) XXX_Merge(src proto.Message)

func (*UniqueResp) XXX_Size

func (m *UniqueResp) XXX_Size() int

func (*UniqueResp) XXX_Unmarshal

func (m *UniqueResp) XXX_Unmarshal(b []byte) error

type UpdateReq

type UpdateReq struct {
	TableName            string     `protobuf:"bytes,1,opt,name=tableName,proto3" json:"tableName,omitempty"`
	Dsl                  *anypb.Any `protobuf:"bytes,2,opt,name=dsl,proto3" json:"dsl,omitempty"`
	Entity               *anypb.Any `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UpdateReq) Descriptor

func (*UpdateReq) Descriptor() ([]byte, []int)

func (*UpdateReq) GetDsl

func (m *UpdateReq) GetDsl() *anypb.Any

func (*UpdateReq) GetEntity

func (m *UpdateReq) GetEntity() *anypb.Any

func (*UpdateReq) GetTableName

func (m *UpdateReq) GetTableName() string

func (*UpdateReq) ProtoMessage

func (*UpdateReq) ProtoMessage()

func (*UpdateReq) Reset

func (m *UpdateReq) Reset()

func (*UpdateReq) String

func (m *UpdateReq) String() string

func (*UpdateReq) XXX_DiscardUnknown

func (m *UpdateReq) XXX_DiscardUnknown()

func (*UpdateReq) XXX_Marshal

func (m *UpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateReq) XXX_Merge

func (m *UpdateReq) XXX_Merge(src proto.Message)

func (*UpdateReq) XXX_Size

func (m *UpdateReq) XXX_Size() int

func (*UpdateReq) XXX_Unmarshal

func (m *UpdateReq) XXX_Unmarshal(b []byte) error

type UpdateResp

type UpdateResp struct {
	Count                int64    `protobuf:"zigzag64,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateResp) Descriptor

func (*UpdateResp) Descriptor() ([]byte, []int)

func (*UpdateResp) GetCount

func (m *UpdateResp) GetCount() int64

func (*UpdateResp) ProtoMessage

func (*UpdateResp) ProtoMessage()

func (*UpdateResp) Reset

func (m *UpdateResp) Reset()

func (*UpdateResp) String

func (m *UpdateResp) String() string

func (*UpdateResp) XXX_DiscardUnknown

func (m *UpdateResp) XXX_DiscardUnknown()

func (*UpdateResp) XXX_Marshal

func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateResp) XXX_Merge

func (m *UpdateResp) XXX_Merge(src proto.Message)

func (*UpdateResp) XXX_Size

func (m *UpdateResp) XXX_Size() int

func (*UpdateResp) XXX_Unmarshal

func (m *UpdateResp) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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