Documentation ¶
Overview ¶
Package internal is a generated protocol buffer package.
It is generated from these files:
internal/data.proto
It has these top-level messages:
WriteShardRequest Field Tag Point WriteShardResponse MapShardRequest MapShardResponse
Index ¶
- type Field
- func (m *Field) GetBool() bool
- func (m *Field) GetBytes() []byte
- func (m *Field) GetFloat64() float64
- func (m *Field) GetInt32() int32
- func (m *Field) GetInt64() int64
- func (m *Field) GetName() string
- func (m *Field) GetString_() string
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- type MapShardRequest
- type MapShardResponse
- func (m *MapShardResponse) GetCode() int32
- func (m *MapShardResponse) GetData() []byte
- func (m *MapShardResponse) GetFields() []string
- func (m *MapShardResponse) GetMessage() string
- func (m *MapShardResponse) GetTagSets() []string
- func (*MapShardResponse) ProtoMessage()
- func (m *MapShardResponse) Reset()
- func (m *MapShardResponse) String() string
- type Point
- type Tag
- type WriteShardRequest
- type WriteShardResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Name *string `protobuf:"bytes,1,req" json:"Name,omitempty"` Int32 *int32 `protobuf:"varint,2,opt" json:"Int32,omitempty"` Int64 *int64 `protobuf:"varint,3,opt" json:"Int64,omitempty"` Float64 *float64 `protobuf:"fixed64,4,opt" json:"Float64,omitempty"` Bool *bool `protobuf:"varint,5,opt" json:"Bool,omitempty"` String_ *string `protobuf:"bytes,6,opt" json:"String,omitempty"` Bytes []byte `protobuf:"bytes,7,opt" json:"Bytes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Field) GetFloat64 ¶
func (*Field) GetString_ ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
type MapShardRequest ¶ added in v0.9.3
type MapShardRequest struct { ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"` Query *string `protobuf:"bytes,2,req" json:"Query,omitempty"` ChunkSize *int32 `protobuf:"varint,3,req" json:"ChunkSize,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapShardRequest) GetChunkSize ¶ added in v0.9.3
func (m *MapShardRequest) GetChunkSize() int32
func (*MapShardRequest) GetQuery ¶ added in v0.9.3
func (m *MapShardRequest) GetQuery() string
func (*MapShardRequest) GetShardID ¶ added in v0.9.3
func (m *MapShardRequest) GetShardID() uint64
func (*MapShardRequest) ProtoMessage ¶ added in v0.9.3
func (*MapShardRequest) ProtoMessage()
func (*MapShardRequest) Reset ¶ added in v0.9.3
func (m *MapShardRequest) Reset()
func (*MapShardRequest) String ¶ added in v0.9.3
func (m *MapShardRequest) String() string
type MapShardResponse ¶ added in v0.9.3
type MapShardResponse struct { Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"` Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"` Data []byte `protobuf:"bytes,3,opt" json:"Data,omitempty"` TagSets []string `protobuf:"bytes,4,rep" json:"TagSets,omitempty"` Fields []string `protobuf:"bytes,5,rep" json:"Fields,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapShardResponse) GetCode ¶ added in v0.9.3
func (m *MapShardResponse) GetCode() int32
func (*MapShardResponse) GetData ¶ added in v0.9.3
func (m *MapShardResponse) GetData() []byte
func (*MapShardResponse) GetFields ¶ added in v0.9.3
func (m *MapShardResponse) GetFields() []string
func (*MapShardResponse) GetMessage ¶ added in v0.9.3
func (m *MapShardResponse) GetMessage() string
func (*MapShardResponse) GetTagSets ¶ added in v0.9.3
func (m *MapShardResponse) GetTagSets() []string
func (*MapShardResponse) ProtoMessage ¶ added in v0.9.3
func (*MapShardResponse) ProtoMessage()
func (*MapShardResponse) Reset ¶ added in v0.9.3
func (m *MapShardResponse) Reset()
func (*MapShardResponse) String ¶ added in v0.9.3
func (m *MapShardResponse) String() string
type Point ¶
type Point struct { Name *string `protobuf:"bytes,1,req" json:"Name,omitempty"` Time *int64 `protobuf:"varint,2,req" json:"Time,omitempty"` Fields []*Field `protobuf:"bytes,3,rep" json:"Fields,omitempty"` Tags []*Tag `protobuf:"bytes,4,rep" json:"Tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
type Tag ¶
type Tag struct { Key *string `protobuf:"bytes,1,req" json:"Key,omitempty"` Value *string `protobuf:"bytes,2,req" json:"Value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
type WriteShardRequest ¶
type WriteShardRequest struct { ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"` Points []*Point `protobuf:"bytes,2,rep" json:"Points,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WriteShardRequest) GetPoints ¶
func (m *WriteShardRequest) GetPoints() []*Point
func (*WriteShardRequest) GetShardID ¶
func (m *WriteShardRequest) GetShardID() uint64
func (*WriteShardRequest) ProtoMessage ¶
func (*WriteShardRequest) ProtoMessage()
func (*WriteShardRequest) Reset ¶
func (m *WriteShardRequest) Reset()
func (*WriteShardRequest) String ¶
func (m *WriteShardRequest) String() string
type WriteShardResponse ¶
type WriteShardResponse struct { Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"` Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WriteShardResponse) GetCode ¶
func (m *WriteShardResponse) GetCode() int32
func (*WriteShardResponse) GetMessage ¶
func (m *WriteShardResponse) GetMessage() string
func (*WriteShardResponse) ProtoMessage ¶
func (*WriteShardResponse) ProtoMessage()
func (*WriteShardResponse) Reset ¶
func (m *WriteShardResponse) Reset()
func (*WriteShardResponse) String ¶
func (m *WriteShardResponse) String() string
Click to show internal directories.
Click to hide internal directories.