Documentation ¶
Index ¶
- func RegisterQuiverServiceServer(s *grpc.Server, srv QuiverServiceServer)
- type QuiverServiceClient
- type QuiverServiceServer
- type SingleHFileKeyRequest
- func (*SingleHFileKeyRequest) Descriptor() ([]byte, []int)
- func (m *SingleHFileKeyRequest) GetCountOnly() bool
- func (m *SingleHFileKeyRequest) GetHfileName() string
- func (m *SingleHFileKeyRequest) GetPerKeyValueLimit() int32
- func (m *SingleHFileKeyRequest) GetSortedKeys() [][]byte
- func (*SingleHFileKeyRequest) ProtoMessage()
- func (m *SingleHFileKeyRequest) Reset()
- func (m *SingleHFileKeyRequest) String() string
- func (m *SingleHFileKeyRequest) XXX_DiscardUnknown()
- func (m *SingleHFileKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SingleHFileKeyRequest) XXX_Merge(src proto.Message)
- func (m *SingleHFileKeyRequest) XXX_Size() int
- func (m *SingleHFileKeyRequest) XXX_Unmarshal(b []byte) error
- type SingleHFileKeyResponse
- func (*SingleHFileKeyResponse) Descriptor() ([]byte, []int)
- func (m *SingleHFileKeyResponse) GetKeyCount() int32
- func (m *SingleHFileKeyResponse) GetValues() map[int32][]byte
- func (*SingleHFileKeyResponse) ProtoMessage()
- func (m *SingleHFileKeyResponse) Reset()
- func (m *SingleHFileKeyResponse) String() string
- func (m *SingleHFileKeyResponse) XXX_DiscardUnknown()
- func (m *SingleHFileKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SingleHFileKeyResponse) XXX_Merge(src proto.Message)
- func (m *SingleHFileKeyResponse) XXX_Size() int
- func (m *SingleHFileKeyResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterQuiverServiceServer ¶
func RegisterQuiverServiceServer(s *grpc.Server, srv QuiverServiceServer)
Types ¶
type QuiverServiceClient ¶
type QuiverServiceClient interface {
GetValuesSingle(ctx context.Context, in *SingleHFileKeyRequest, opts ...grpc.CallOption) (*SingleHFileKeyResponse, error)
}
QuiverServiceClient is the client API for QuiverService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQuiverServiceClient ¶
func NewQuiverServiceClient(cc *grpc.ClientConn) QuiverServiceClient
type QuiverServiceServer ¶
type QuiverServiceServer interface {
GetValuesSingle(context.Context, *SingleHFileKeyRequest) (*SingleHFileKeyResponse, error)
}
QuiverServiceServer is the server API for QuiverService service.
type SingleHFileKeyRequest ¶
type SingleHFileKeyRequest struct { HfileName string `protobuf:"bytes,1,opt,name=hfile_name,json=hfileName,proto3" json:"hfile_name,omitempty"` // Keys to look up. // Note: For efficiency, keys must be sorted by the client. If they are not, behavior is undefined. SortedKeys [][]byte `protobuf:"bytes,2,rep,name=sorted_keys,json=sortedKeys,proto3" json:"sorted_keys,omitempty"` PerKeyValueLimit int32 `protobuf:"varint,3,opt,name=per_key_value_limit,json=perKeyValueLimit,proto3" json:"per_key_value_limit,omitempty"` CountOnly bool `protobuf:"varint,4,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SingleHFileKeyRequest) Descriptor ¶
func (*SingleHFileKeyRequest) Descriptor() ([]byte, []int)
func (*SingleHFileKeyRequest) GetCountOnly ¶
func (m *SingleHFileKeyRequest) GetCountOnly() bool
func (*SingleHFileKeyRequest) GetHfileName ¶
func (m *SingleHFileKeyRequest) GetHfileName() string
func (*SingleHFileKeyRequest) GetPerKeyValueLimit ¶
func (m *SingleHFileKeyRequest) GetPerKeyValueLimit() int32
func (*SingleHFileKeyRequest) GetSortedKeys ¶
func (m *SingleHFileKeyRequest) GetSortedKeys() [][]byte
func (*SingleHFileKeyRequest) ProtoMessage ¶
func (*SingleHFileKeyRequest) ProtoMessage()
func (*SingleHFileKeyRequest) Reset ¶
func (m *SingleHFileKeyRequest) Reset()
func (*SingleHFileKeyRequest) String ¶
func (m *SingleHFileKeyRequest) String() string
func (*SingleHFileKeyRequest) XXX_DiscardUnknown ¶
func (m *SingleHFileKeyRequest) XXX_DiscardUnknown()
func (*SingleHFileKeyRequest) XXX_Marshal ¶
func (m *SingleHFileKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SingleHFileKeyRequest) XXX_Merge ¶
func (dst *SingleHFileKeyRequest) XXX_Merge(src proto.Message)
func (*SingleHFileKeyRequest) XXX_Size ¶
func (m *SingleHFileKeyRequest) XXX_Size() int
func (*SingleHFileKeyRequest) XXX_Unmarshal ¶
func (m *SingleHFileKeyRequest) XXX_Unmarshal(b []byte) error
type SingleHFileKeyResponse ¶
type SingleHFileKeyResponse struct { Values map[int32][]byte `` /* 154-byte string literal not displayed */ KeyCount int32 `protobuf:"varint,2,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SingleHFileKeyResponse) Descriptor ¶
func (*SingleHFileKeyResponse) Descriptor() ([]byte, []int)
func (*SingleHFileKeyResponse) GetKeyCount ¶
func (m *SingleHFileKeyResponse) GetKeyCount() int32
func (*SingleHFileKeyResponse) GetValues ¶
func (m *SingleHFileKeyResponse) GetValues() map[int32][]byte
func (*SingleHFileKeyResponse) ProtoMessage ¶
func (*SingleHFileKeyResponse) ProtoMessage()
func (*SingleHFileKeyResponse) Reset ¶
func (m *SingleHFileKeyResponse) Reset()
func (*SingleHFileKeyResponse) String ¶
func (m *SingleHFileKeyResponse) String() string
func (*SingleHFileKeyResponse) XXX_DiscardUnknown ¶
func (m *SingleHFileKeyResponse) XXX_DiscardUnknown()
func (*SingleHFileKeyResponse) XXX_Marshal ¶
func (m *SingleHFileKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SingleHFileKeyResponse) XXX_Merge ¶
func (dst *SingleHFileKeyResponse) XXX_Merge(src proto.Message)
func (*SingleHFileKeyResponse) XXX_Size ¶
func (m *SingleHFileKeyResponse) XXX_Size() int
func (*SingleHFileKeyResponse) XXX_Unmarshal ¶
func (m *SingleHFileKeyResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.