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
582 B
Go
29 lines
582 B
Go
// Code generated by ./cmd/ch-gen-col, DO NOT EDIT.
|
|
|
|
package proto
|
|
|
|
// ColDate32 represents Date32 column.
|
|
type ColDate32 []Date32
|
|
|
|
// Compile-time assertions for ColDate32.
|
|
var (
|
|
_ ColInput = ColDate32{}
|
|
_ ColResult = (*ColDate32)(nil)
|
|
_ Column = (*ColDate32)(nil)
|
|
)
|
|
|
|
// Rows returns count of rows in column.
|
|
func (c ColDate32) Rows() int {
|
|
return len(c)
|
|
}
|
|
|
|
// Reset resets data in row, preserving capacity for efficiency.
|
|
func (c *ColDate32) Reset() {
|
|
*c = (*c)[:0]
|
|
}
|
|
|
|
// Type returns ColumnType of Date32.
|
|
func (ColDate32) Type() ColumnType {
|
|
return ColumnTypeDate32
|
|
}
|