mirror of
https://github.com/hanzo-ds/native.git
synced 2026-10-30 20:00:34 +00:00
Module path, package names, and identifiers de-branded to native/proto/compress/ pool/tracing. Server wire-protocol strings preserved. Vendored codec surface used by hanzo-ds/go (proto + compress).
29 lines
556 B
Go
29 lines
556 B
Go
// Code generated by ./cmd/ch-gen-col, DO NOT EDIT.
|
|
|
|
package proto
|
|
|
|
// ColDate represents Date column.
|
|
type ColDate []Date
|
|
|
|
// Compile-time assertions for ColDate.
|
|
var (
|
|
_ ColInput = ColDate{}
|
|
_ ColResult = (*ColDate)(nil)
|
|
_ Column = (*ColDate)(nil)
|
|
)
|
|
|
|
// Rows returns count of rows in column.
|
|
func (c ColDate) Rows() int {
|
|
return len(c)
|
|
}
|
|
|
|
// Reset resets data in row, preserving capacity for efficiency.
|
|
func (c *ColDate) Reset() {
|
|
*c = (*c)[:0]
|
|
}
|
|
|
|
// Type returns ColumnType of Date.
|
|
func (ColDate) Type() ColumnType {
|
|
return ColumnTypeDate
|
|
}
|