chore: add license header (#35)

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2023-05-18 14:27:17 +08:00
committed by GitHub
parent 6bfb02057c
commit d32c9d5e98
26 changed files with 399 additions and 73 deletions
+18 -2
View File
@@ -1,3 +1,17 @@
// Copyright 2023 Greptime Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
@@ -175,7 +189,8 @@ type Column struct {
SemanticType Column_SemanticType `protobuf:"varint,2,opt,name=semantic_type,json=semanticType,proto3,enum=greptime.v1.Column_SemanticType" json:"semantic_type,omitempty"`
// The array of non-null values in this column.
//
// For example: suppose there is a column "foo" that contains some int32 values (1, 2, 3, 4, 5, null, 7, 8, 9, null);
// For example: suppose there is a column "foo" that contains some int32
// values (1, 2, 3, 4, 5, null, 7, 8, 9, null);
//
// column:
// column_name: foo
@@ -184,7 +199,8 @@ type Column struct {
// null_masks: 00100000 00000010
Values *Column_Values `protobuf:"bytes,3,opt,name=values,proto3" json:"values,omitempty"`
// Mask maps the positions of null values.
// If a bit in null_mask is 1, it indicates that the column value at that position is null.
// If a bit in null_mask is 1, it indicates that the column value at that
// position is null.
NullMask []byte `protobuf:"bytes,4,opt,name=null_mask,json=nullMask,proto3" json:"null_mask,omitempty"`
// Helpful in creating vector from column.
Datatype ColumnDataType `protobuf:"varint,5,opt,name=datatype,proto3,enum=greptime.v1.ColumnDataType" json:"datatype,omitempty"`