Documentation ¶
Index ¶
- Variables
- func WritePacket(p Packet, encoder *ch_encoding.Encoder, compress bool, revision uint64) (err error)
- type AggregateQueryPlanPacket
- type DataPacket
- type EndOfStreamPacket
- type ExceptionPacket
- type ExtremesPacket
- type HelloPacket
- type LogPacket
- type Packet
- type PongPacket
- type ProfilePacket
- type ProgressPacket
- type QueryMetadataPacket
- type QueryPlanPacket
- type TableColumnsPacket
- type TotalsPacket
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTableStatusNotSupported = errors.ErrorfWithCaller("table status packet unsupported")
Functions ¶
func WritePacket ¶
Types ¶
type AggregateQueryPlanPacket ¶
type AggregateQueryPlanPacket struct {
Plans []string
}
func (*AggregateQueryPlanPacket) Close ¶
func (s *AggregateQueryPlanPacket) Close() error
func (*AggregateQueryPlanPacket) String ¶
func (s *AggregateQueryPlanPacket) String() string
type DataPacket ¶
func (*DataPacket) Close ¶
func (s *DataPacket) Close() error
func (*DataPacket) String ¶
func (s *DataPacket) String() string
type EndOfStreamPacket ¶
type EndOfStreamPacket struct{}
func (*EndOfStreamPacket) Close ¶
func (s *EndOfStreamPacket) Close() error
func (*EndOfStreamPacket) String ¶
func (s *EndOfStreamPacket) String() string
type ExceptionPacket ¶
type ExceptionPacket struct { Code uint32 Name string Message string StackTrace string Nested *ExceptionPacket }
func (*ExceptionPacket) Close ¶
func (s *ExceptionPacket) Close() error
func (*ExceptionPacket) Error ¶
func (s *ExceptionPacket) Error() string
func (*ExceptionPacket) String ¶
func (s *ExceptionPacket) String() string
type ExtremesPacket ¶
func (*ExtremesPacket) Close ¶
func (s *ExtremesPacket) Close() error
func (*ExtremesPacket) String ¶
func (s *ExtremesPacket) String() string
type HelloPacket ¶
type HelloPacket struct{}
func (*HelloPacket) Close ¶
func (s *HelloPacket) Close() error
func (*HelloPacket) String ¶
func (s *HelloPacket) String() string
type PongPacket ¶
type PongPacket struct{}
func (*PongPacket) Close ¶
func (p *PongPacket) Close() error
func (*PongPacket) String ¶
func (p *PongPacket) String() string
type ProfilePacket ¶
type ProfilePacket struct { Rows uint64 Blocks uint64 Bytes uint64 AppliedLimit bool RowsBeforeLimit uint64 CalculatedRowsBeforeLimit bool }
func (*ProfilePacket) Close ¶
func (s *ProfilePacket) Close() error
func (*ProfilePacket) String ¶
func (s *ProfilePacket) String() string
type ProgressPacket ¶
func (*ProgressPacket) Close ¶
func (s *ProgressPacket) Close() error
func (*ProgressPacket) String ¶
func (s *ProgressPacket) String() string
type QueryMetadataPacket ¶
type QueryMetadataPacket struct {
QueryID string
}
func (*QueryMetadataPacket) Close ¶
func (s *QueryMetadataPacket) Close() error
func (*QueryMetadataPacket) String ¶
func (s *QueryMetadataPacket) String() string
type QueryPlanPacket ¶
type QueryPlanPacket struct {
Plans []string
}
func (*QueryPlanPacket) Close ¶
func (s *QueryPlanPacket) Close() error
func (*QueryPlanPacket) String ¶
func (s *QueryPlanPacket) String() string
type TableColumnsPacket ¶
func (*TableColumnsPacket) Close ¶
func (s *TableColumnsPacket) Close() error
func (*TableColumnsPacket) String ¶
func (s *TableColumnsPacket) String() string
type TotalsPacket ¶
func (*TotalsPacket) Close ¶
func (s *TotalsPacket) Close() error
func (*TotalsPacket) String ¶
func (s *TotalsPacket) String() string
Click to show internal directories.
Click to hide internal directories.