Платформа ЦРНП "Мирокод" для разработки проектов
https://git.mirocod.ru
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.6 KiB
82 lines
2.6 KiB
// Code generated by protoc-gen-go. |
|
// source: Aggregate.proto |
|
// DO NOT EDIT! |
|
|
|
package proto |
|
|
|
import proto1 "github.com/golang/protobuf/proto" |
|
import math "math" |
|
|
|
// Reference imports to suppress errors if they are not otherwise used. |
|
var _ = proto1.Marshal |
|
var _ = math.Inf |
|
|
|
type AggregateRequest struct { |
|
// * The request passed to the AggregateService consists of three parts |
|
// (1) the (canonical) classname of the ColumnInterpreter implementation |
|
// (2) the Scan query |
|
// (3) any bytes required to construct the ColumnInterpreter object |
|
// properly |
|
InterpreterClassName *string `protobuf:"bytes,1,req,name=interpreter_class_name" json:"interpreter_class_name,omitempty"` |
|
Scan *Scan `protobuf:"bytes,2,req,name=scan" json:"scan,omitempty"` |
|
InterpreterSpecificBytes []byte `protobuf:"bytes,3,opt,name=interpreter_specific_bytes" json:"interpreter_specific_bytes,omitempty"` |
|
XXX_unrecognized []byte `json:"-"` |
|
} |
|
|
|
func (m *AggregateRequest) Reset() { *m = AggregateRequest{} } |
|
func (m *AggregateRequest) String() string { return proto1.CompactTextString(m) } |
|
func (*AggregateRequest) ProtoMessage() {} |
|
|
|
func (m *AggregateRequest) GetInterpreterClassName() string { |
|
if m != nil && m.InterpreterClassName != nil { |
|
return *m.InterpreterClassName |
|
} |
|
return "" |
|
} |
|
|
|
func (m *AggregateRequest) GetScan() *Scan { |
|
if m != nil { |
|
return m.Scan |
|
} |
|
return nil |
|
} |
|
|
|
func (m *AggregateRequest) GetInterpreterSpecificBytes() []byte { |
|
if m != nil { |
|
return m.InterpreterSpecificBytes |
|
} |
|
return nil |
|
} |
|
|
|
type AggregateResponse struct { |
|
// * |
|
// The AggregateService methods all have a response that either is a Pair |
|
// or a simple object. When it is a Pair both first_part and second_part |
|
// have defined values (and the second_part is not present in the response |
|
// when the response is not a pair). Refer to the AggregateImplementation |
|
// class for an overview of the AggregateResponse object constructions. |
|
FirstPart [][]byte `protobuf:"bytes,1,rep,name=first_part" json:"first_part,omitempty"` |
|
SecondPart []byte `protobuf:"bytes,2,opt,name=second_part" json:"second_part,omitempty"` |
|
XXX_unrecognized []byte `json:"-"` |
|
} |
|
|
|
func (m *AggregateResponse) Reset() { *m = AggregateResponse{} } |
|
func (m *AggregateResponse) String() string { return proto1.CompactTextString(m) } |
|
func (*AggregateResponse) ProtoMessage() {} |
|
|
|
func (m *AggregateResponse) GetFirstPart() [][]byte { |
|
if m != nil { |
|
return m.FirstPart |
|
} |
|
return nil |
|
} |
|
|
|
func (m *AggregateResponse) GetSecondPart() []byte { |
|
if m != nil { |
|
return m.SecondPart |
|
} |
|
return nil |
|
} |
|
|
|
func init() { |
|
}
|
|
|