Documentation ¶
Overview ¶
Copyright 2022 Huawei Cloud Computing Technologies Co., Ltd.
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.
nolint
nolint
Index ¶
- Constants
- Variables
- func BooleanSlice2byte(b []bool) []byte
- func Bytes2BooleanSlice(b []byte) []bool
- func Bytes2Float32Slice(b []byte) []float32
- func Bytes2Float64Slice(b []byte) []float64
- func Bytes2Int16Slice(b []byte) []int16
- func Bytes2Int32Slice(b []byte) []int32
- func Bytes2Int64Slice(b []byte) []int64
- func Bytes2Int8Slice(b []byte) []int8
- func Bytes2Uint16Slice(b []byte) []uint16
- func Bytes2Uint32Slice(b []byte) []uint32
- func Bytes2Uint64Slice(b []byte) []uint64
- func Bytes2str(b []byte) string
- func CheckRecord(rec *Record)
- func Float32Slice2byte(b []float32) []byte
- func Float64Slice2byte(b []float64) []byte
- func Float64ToUint64(v float64) uint64
- func GetRecordBooleanFirst(dscRe, re *Record, index int)
- func GetRecordBooleanLast(dscRe, re *Record, index int)
- func GetRecordBooleanMax(dscRe, re *Record, index int)
- func GetRecordBooleanMin(dscRe, re *Record, index int)
- func GetRecordColumnBooleanFirst(dscRe, re *Record, index int)
- func GetRecordColumnBooleanLast(dscRe, re *Record, index int)
- func GetRecordColumnBooleanMax(dstRe, re *Record, index int)
- func GetRecordColumnBooleanMin(dstRe, re *Record, index int)
- func GetRecordColumnCount(dstRe, re *Record, index int)
- func GetRecordColumnFloatFirst(dscRe, re *Record, index int)
- func GetRecordColumnFloatLast(dscRe, re *Record, index int)
- func GetRecordColumnFloatMax(dstRe, re *Record, index int)
- func GetRecordColumnFloatMin(dstRe, re *Record, index int)
- func GetRecordColumnFloatSum(dstRe, re *Record, index int)
- func GetRecordColumnIntegerFirst(dscRe, re *Record, index int)
- func GetRecordColumnIntegerLast(dscRe, re *Record, index int)
- func GetRecordColumnIntegerMax(dstRe, re *Record, index int)
- func GetRecordColumnIntegerMin(dstRe, re *Record, index int)
- func GetRecordColumnIntegerSum(dstRe, re *Record, index int)
- func GetRecordColumnStringFirst(dscRe, re *Record, index int)
- func GetRecordColumnStringLast(dscRe, re *Record, index int)
- func GetRecordCount(dscRe, re *Record, index int)
- func GetRecordDefault(dscRe, re *Record, index int)
- func GetRecordFloatFirst(dscRe, re *Record, index int)
- func GetRecordFloatLast(dscRe, re *Record, index int)
- func GetRecordFloatMax(dscRe, re *Record, index int)
- func GetRecordFloatMin(dscRe, re *Record, index int)
- func GetRecordFloatSum(dscRe, re *Record, index int)
- func GetRecordIntegerFirst(dscRe, re *Record, index int)
- func GetRecordIntegerLast(dscRe, re *Record, index int)
- func GetRecordIntegerMax(dscRe, re *Record, index int)
- func GetRecordIntegerMin(dscRe, re *Record, index int)
- func GetRecordIntegerSum(dscRe, re *Record, index int)
- func GetRecordStringFirst(dscRe, re *Record, index int)
- func GetRecordStringLast(dscRe, re *Record, index int)
- func GetTimeRangeEndIndex(times []int64, startPos int, endTime int64) int
- func GetTimeRangeEndIndexDescend(times []int64, startPos int, endTime int64) int
- func GetTimeRangeStartIndex(times []int64, startPos int, startTime int64) int
- func GetTimeRangeStartIndexDescend(times []int64, startPos int, startTime int64) int
- func Int16Slice2byte(b []int16) []byte
- func Int32Slice2byte(b []int32) []byte
- func Int64Slice2byte(b []int64) []byte
- func Max(x, y int) int
- func MemorySet(buf []byte)
- func Min(x, y int) int
- func ReleaseAppendRecord(rec *AppendRecord)
- func RemoveDuplicationInt(array []uint32) []uint32
- func ReverseBitMap(bitmap []byte, bitmapOffset uint32, count int) []byte
- func Str2bytes(s string) []byte
- func ToInfluxqlTypes(ty int) influxql.DataType
- func ToModelTypes(ty influxql.DataType) int
- func Uint16Slice2byte(b []uint16) []byte
- func Uint32Slice2byte(b []uint32) []byte
- func Uint64Slice2byte(b []uint64) []byte
- func Uint64ToBytes(id uint64) []byte
- func Uint64ToFloat64(v uint64) float64
- type AppendColVal
- type AppendColValPool
- type AppendRecord
- func (r *AppendRecord) Append(src *AppendRecord, offset, limit int) error
- func (r *AppendRecord) AppendNotNil(new *AppendRecord)
- func (r *AppendRecord) AppendSequence(src *AppendRecord, limit int) error
- func (r *AppendRecord) Check(src *AppendRecord) error
- func (r *AppendRecord) GetCols() []AppendColVal
- func (r *AppendRecord) Skip(n int)
- func (r *AppendRecord) UpdateCols()
- type CircularRecordPool
- type ColMeta
- func (m *ColMeta) Clone() (ColMeta, error)
- func (m *ColMeta) Count() interface{}
- func (m *ColMeta) First() (interface{}, int64)
- func (m *ColMeta) Init()
- func (m *ColMeta) IsEmpty() bool
- func (m *ColMeta) Last() (interface{}, int64)
- func (m *ColMeta) Max() (interface{}, int64)
- func (m *ColMeta) Min() (interface{}, int64)
- func (m *ColMeta) SetCount(count interface{})
- func (m *ColMeta) SetFirst(first interface{}, firstTime int64)
- func (m *ColMeta) SetLast(last interface{}, lastTime int64)
- func (m *ColMeta) SetMax(max interface{}, maxTime int64)
- func (m *ColMeta) SetMin(min interface{}, minTime int64)
- func (m *ColMeta) SetSum(sum interface{})
- func (m *ColMeta) Sum() interface{}
- type ColVal
- func (cv *ColVal) Append(value []byte, offsets []uint32, bitMap []byte, bitOffset int, vLen int, ...)
- func (cv *ColVal) AppendAll(src *ColVal)
- func (cv *ColVal) AppendBitmap(bitmap []byte, bitOffset int, rows int, start, end int)
- func (cv *ColVal) AppendBoolean(v bool)
- func (cv *ColVal) AppendBooleanNull()
- func (cv *ColVal) AppendBooleanNulls(count int)
- func (cv *ColVal) AppendBooleans(values ...bool)
- func (cv *ColVal) AppendColVal(srcCol *ColVal, colType, start, end int)
- func (cv *ColVal) AppendFloat(v float64)
- func (cv *ColVal) AppendFloatNull()
- func (cv *ColVal) AppendFloatNulls(count int)
- func (cv *ColVal) AppendFloats(values ...float64)
- func (cv *ColVal) AppendInteger(v int64)
- func (cv *ColVal) AppendIntegerNull()
- func (cv *ColVal) AppendIntegerNulls(count int)
- func (cv *ColVal) AppendIntegers(values ...int64)
- func (cv *ColVal) AppendString(v string)
- func (cv *ColVal) AppendStringNull()
- func (cv *ColVal) AppendStringNulls(count int)
- func (cv *ColVal) AppendStrings(values ...string)
- func (cv *ColVal) BooleanValue(i int) (bool, bool)
- func (cv *ColVal) BooleanValues() []bool
- func (cv *ColVal) FirstBooleanValue(values []bool, start, end int) (bool, int)
- func (cv *ColVal) FirstFloatValue(values []float64, start, end int) (float64, int)
- func (cv *ColVal) FirstIntegerValue(values []int64, start, end int) (int64, int)
- func (cv *ColVal) FirstStringValue(values []string, start, end int) (string, int)
- func (cv *ColVal) FloatValue(i int) (float64, bool)
- func (cv *ColVal) FloatValues() []float64
- func (cv *ColVal) GetValIndexRange(bmStart, bmEnd int) (valStart, valEnd int)
- func (cv *ColVal) Init()
- func (cv *ColVal) Int8Values() []int8
- func (cv *ColVal) IntegerValue(i int) (int64, bool)
- func (cv *ColVal) IntegerValues() []int64
- func (cv *ColVal) IsNil(i int) bool
- func (cv *ColVal) LastBooleanValue(values []bool, start, end int) (bool, int)
- func (cv *ColVal) LastFloatValue(values []float64, start, end int) (float64, int)
- func (cv *ColVal) LastIntegerValue(values []int64, start, end int) (int64, int)
- func (cv *ColVal) LastStringValue(values []string, start, end int) (string, int)
- func (cv *ColVal) Length() int
- func (cv *ColVal) MaxBooleanValue(values []bool, start, end int) (bool, int)
- func (cv *ColVal) MaxBooleanValues(values []bool, start, end int) (bool, []int)
- func (cv *ColVal) MaxFloatValue(values []float64, start, end int) (float64, int)
- func (cv *ColVal) MaxFloatValues(values []float64, start, end int) (float64, []int)
- func (cv *ColVal) MaxIntegerValue(values []int64, start, end int) (int64, int)
- func (cv *ColVal) MaxIntegerValues(values []int64, start, end int) (int64, []int)
- func (cv *ColVal) MinBooleanValue(values []bool, start, end int) (bool, int)
- func (cv *ColVal) MinBooleanValues(values []bool, start, end int) (bool, []int)
- func (cv *ColVal) MinFloatValue(values []float64, start, end int) (float64, int)
- func (cv *ColVal) MinFloatValues(values []float64, start, end int) (float64, []int)
- func (cv *ColVal) MinIntegerValue(values []int64, start, end int) (int64, int)
- func (cv *ColVal) MinIntegerValues(values []int64, start, end int) (int64, []int)
- func (cv *ColVal) NullN() int
- func (cv *ColVal) PadColVal(colType, padLen int)
- func (cv *ColVal) ReserveBitmap(bytes int)
- func (cv *ColVal) RowBitmap(dst []bool) []bool
- func (cv *ColVal) SliceBitMap(srcCol *ColVal, start, end int)
- func (cv *ColVal) Split(dst []ColVal, maxRows int, refType int) []ColVal
- func (cv *ColVal) StringValueSafe(i int) (string, bool)
- func (cv *ColVal) StringValueUnsafe(i int) (string, bool)
- func (cv *ColVal) StringValues(dst []string) []string
- func (cv *ColVal) SubBitmapBytes() ([]byte, int)
- func (cv *ColVal) SubBooleanValues(start, end int) []bool
- func (cv *ColVal) SubFloatValues(start, end int) []float64
- func (cv *ColVal) SubIntegerValues(start, end int) []int64
- func (cv *ColVal) ValidAt(i int) bool
- func (cv *ColVal) ValidCount(start, end int) int
- func (cv *ColVal) ValidString() bool
- type Field
- type RecMeta
- type Record
- func (rec *Record) AddTagIndexAndKey(key *[]byte, i int)
- func (rec *Record) AppendRec(srcRec *Record, start, end int)
- func (rec *Record) AppendRecForAggTagSet(srcRec *Record, start, end int)
- func (rec *Record) AppendRecForSeries(srcRec *Record, start, end int, ridIdx map[int]struct{})
- func (rec *Record) AppendRecForTagSet(srcRec *Record, start, end int)
- func (rec *Record) AppendTime(time ...int64)
- func (rec *Record) Clone() *Record
- func (rec *Record) ColNums() int
- func (rec *Record) Column(i int) *ColVal
- func (rec *Record) ColumnAppendNull(colIdx int)
- func (rec *Record) Columns() []ColVal
- func (rec *Record) Copy() *Record
- func (rec *Record) CopyColMetaTo(dst *Record, timeStart, timeEnd int)
- func (rec *Record) CopyColVals() []ColVal
- func (rec *Record) CopyWithCondition(tr TimeRange, schema Schemas) *Record
- func (rec *Record) CopyWithConditionDescend(tr TimeRange, schema Schemas) *Record
- func (rec *Record) FieldIndexs(colName string) int
- func (rec *Record) GetTagIndexAndKey() ([]*[]byte, []int)
- func (rec *Record) InitColVal(start, end int)
- func (rec *Record) IsNilRow(row int) bool
- func (rec *Record) KickNilRow() *Record
- func (rec Record) Len() int
- func (rec Record) Less(i, j int) bool
- func (rec *Record) MaxTime(isAscending bool) int64
- func (rec *Record) Merge(newRec *Record)
- func (rec *Record) MergeRecord(newRec, oldRec *Record)
- func (rec *Record) MergeRecordByMaxTimeOfOldRec(newRec, oldRec *Record, newPos, oldPos, limitRows int, ascending bool) (*Record, int, int)
- func (rec *Record) MergeRecordDescend(newRec, oldRec *Record)
- func (rec *Record) MergeRecordLimitRows(newRec, oldRec *Record, newPos, oldPos, limitRows int) (int, int)
- func (rec *Record) MergeRecordLimitRowsDescend(newRec, oldRec *Record, newPos, oldPos, limitRows int) (int, int)
- func (rec *Record) MinTime(isAscending bool) int64
- func (rec *Record) PadRecord(other *Record)
- func (rec *Record) ReserveColVal(size int)
- func (rec *Record) ReserveColumnRows(rows int)
- func (rec *Record) ReserveSchema(size int)
- func (rec *Record) ReserveSchemaAndColVal(size int)
- func (rec *Record) Reset()
- func (rec *Record) ResetDeep()
- func (rec *Record) ResetForReuse()
- func (rec *Record) ResetWithSchema(schema Schemas)
- func (rec *Record) Reuse()
- func (rec *Record) RowNums() int
- func (rec *Record) Schemas() []Field
- func (rec *Record) SetSchema(schemas Schemas)
- func (rec *Record) Size() int
- func (rec *Record) SliceFromRecord(srcRec *Record, start, end int)
- func (rec *Record) SortAndDedupe(sortAux *SortAux)
- func (rec *Record) Split(dst []Record, maxRows int) []Record
- func (rec *Record) String() string
- func (rec Record) Swap(i, j int)
- func (rec *Record) Time(i int) int64
- func (rec *Record) TimeColumn() *ColVal
- func (rec *Record) Times() []int64
- func (rec *Record) TryPadColumn()
- type RecordPool
- type Schemas
- type SortAux
- type TimeRange
Constants ¶
const ( TimeField = "time" RecMaxLenForRuse = 512 RecMaxRowNumForRuse = 2024 )
const ( BooleanSizeBytes = int(unsafe.Sizeof(false)) Uint32SizeBytes = int(unsafe.Sizeof(uint32(0))) Uint16SizeBytes = int(unsafe.Sizeof(uint16(0))) Uint64SizeBytes = int(unsafe.Sizeof(uint64(0))) Int16SizeBytes = int(unsafe.Sizeof(int16(0))) Int32SizeBytes = int(unsafe.Sizeof(int32(0))) Int64SizeBytes = int(unsafe.Sizeof(int64(0))) Float32SizeBytes = int(unsafe.Sizeof(float32(0))) Float64SizeBytes = int(unsafe.Sizeof(float64(0))) Int8SizeBytes = int(unsafe.Sizeof(int8(0))) )
Variables ¶
var ( BitMask = [8]byte{1, 2, 4, 8, 16, 32, 64, 128} FlippedBitMask = [8]byte{254, 253, 251, 247, 239, 223, 191, 127} )
Functions ¶
func BooleanSlice2byte ¶
func Bytes2BooleanSlice ¶
func Bytes2Float32Slice ¶
func Bytes2Float64Slice ¶
func Bytes2Int16Slice ¶
func Bytes2Int32Slice ¶
func Bytes2Int64Slice ¶
func Bytes2Int8Slice ¶
func Bytes2Uint16Slice ¶
func Bytes2Uint32Slice ¶
func Bytes2Uint64Slice ¶
func CheckRecord ¶
func CheckRecord(rec *Record)
func Float32Slice2byte ¶
func Float64Slice2byte ¶
func Float64ToUint64 ¶
func GetRecordBooleanFirst ¶
func GetRecordBooleanLast ¶
func GetRecordBooleanMax ¶
func GetRecordBooleanMin ¶
func GetRecordColumnCount ¶
func GetRecordColumnFloatMax ¶
func GetRecordColumnFloatMin ¶
func GetRecordColumnFloatSum ¶
func GetRecordCount ¶
GetRecordCount used for count aggregated call only for multiple series record which has been count with method count += 1.
func GetRecordDefault ¶
func GetRecordFloatFirst ¶
func GetRecordFloatLast ¶
func GetRecordFloatMax ¶
func GetRecordFloatMin ¶
func GetRecordFloatSum ¶
func GetRecordIntegerFirst ¶
func GetRecordIntegerLast ¶
func GetRecordIntegerMax ¶
func GetRecordIntegerMin ¶
func GetRecordIntegerSum ¶
func GetRecordStringFirst ¶
func GetRecordStringLast ¶
func GetTimeRangeEndIndex ¶
GetTimeRangeEndIndex return last time index in times <= endTime
func GetTimeRangeStartIndex ¶
GetTimeRangeStartIndex return first time index in times >= startTime
func Int16Slice2byte ¶
func Int32Slice2byte ¶
func Int64Slice2byte ¶
func ReleaseAppendRecord ¶
func ReleaseAppendRecord(rec *AppendRecord)
func RemoveDuplicationInt ¶
func ToInfluxqlTypes ¶
func ToModelTypes ¶
func Uint16Slice2byte ¶
func Uint32Slice2byte ¶
func Uint64Slice2byte ¶
func Uint64ToBytes ¶
func Uint64ToFloat64 ¶
Types ¶
type AppendColVal ¶
type AppendColVal struct {
// contains filtered or unexported fields
}
func (*AppendColVal) Append ¶
func (cv *AppendColVal) Append(src *AppendColVal, typ, offset, limit int)
func (*AppendColVal) AppendSequence ¶
func (cv *AppendColVal) AppendSequence(src *AppendColVal, typ, limit int)
func (*AppendColVal) Reset ¶
func (cv *AppendColVal) Reset()
func (*AppendColVal) Skip ¶
func (cv *AppendColVal) Skip(typ, limit int)
type AppendColValPool ¶
type AppendColValPool struct {
// contains filtered or unexported fields
}
func (*AppendColValPool) GetWithSize ¶
func (p *AppendColValPool) GetWithSize(size int) []AppendColVal
func (*AppendColValPool) Put ¶
func (p *AppendColValPool) Put(v []AppendColVal)
type AppendRecord ¶
type AppendRecord struct {
// contains filtered or unexported fields
}
func NewAppendRecord ¶
func NewAppendRecord(rec *Record) *AppendRecord
func (*AppendRecord) Append ¶
func (r *AppendRecord) Append(src *AppendRecord, offset, limit int) error
Append append based on offset and limit
func (*AppendRecord) AppendNotNil ¶
func (r *AppendRecord) AppendNotNil(new *AppendRecord)
func (*AppendRecord) AppendSequence ¶
func (r *AppendRecord) AppendSequence(src *AppendRecord, limit int) error
AppendSequence Can only be appended in sequence starting from 0, {limit} elements are appended at a time record the position of the last time the next call, begin from the last position
func (*AppendRecord) Check ¶
func (r *AppendRecord) Check(src *AppendRecord) error
func (*AppendRecord) GetCols ¶
func (r *AppendRecord) GetCols() []AppendColVal
func (*AppendRecord) UpdateCols ¶
func (r *AppendRecord) UpdateCols()
type CircularRecordPool ¶
type CircularRecordPool struct {
// contains filtered or unexported fields
}
func NewCircularRecordPool ¶
func NewCircularRecordPool(recordPool *RecordPool, recordNum int, schema Schemas, initColMeta bool) *CircularRecordPool
func (*CircularRecordPool) Get ¶
func (p *CircularRecordPool) Get() *Record
func (*CircularRecordPool) GetBySchema ¶
func (p *CircularRecordPool) GetBySchema(s Schemas) *Record
func (*CircularRecordPool) GetIndex ¶
func (p *CircularRecordPool) GetIndex() int
func (*CircularRecordPool) Put ¶
func (p *CircularRecordPool) Put()
func (*CircularRecordPool) PutRecordInCircularPool ¶
func (p *CircularRecordPool) PutRecordInCircularPool()
type ColVal ¶
type ColVal struct { Val []byte Offset []uint32 Bitmap []byte BitMapOffset int Len int NilCount int }
func (*ColVal) AppendBitmap ¶
func (*ColVal) AppendBoolean ¶
func (*ColVal) AppendBooleanNull ¶
func (cv *ColVal) AppendBooleanNull()
func (*ColVal) AppendBooleanNulls ¶
func (*ColVal) AppendBooleans ¶
func (*ColVal) AppendColVal ¶
func (*ColVal) AppendFloat ¶
func (*ColVal) AppendFloatNull ¶
func (cv *ColVal) AppendFloatNull()
func (*ColVal) AppendFloatNulls ¶
func (*ColVal) AppendFloats ¶
func (*ColVal) AppendInteger ¶
func (*ColVal) AppendIntegerNull ¶
func (cv *ColVal) AppendIntegerNull()
func (*ColVal) AppendIntegerNulls ¶
func (*ColVal) AppendIntegers ¶
func (*ColVal) AppendString ¶
func (*ColVal) AppendStringNull ¶
func (cv *ColVal) AppendStringNull()
func (*ColVal) AppendStringNulls ¶
func (*ColVal) AppendStrings ¶
func (*ColVal) BooleanValues ¶
func (*ColVal) FirstBooleanValue ¶
func (*ColVal) FirstFloatValue ¶
func (*ColVal) FirstIntegerValue ¶
func (*ColVal) FirstStringValue ¶
func (*ColVal) FloatValues ¶
func (*ColVal) GetValIndexRange ¶
func (*ColVal) Int8Values ¶
func (*ColVal) IntegerValues ¶
func (*ColVal) LastBooleanValue ¶
func (*ColVal) LastFloatValue ¶
func (*ColVal) LastIntegerValue ¶
func (*ColVal) LastStringValue ¶
func (*ColVal) MaxBooleanValue ¶
func (*ColVal) MaxBooleanValues ¶
func (*ColVal) MaxFloatValue ¶
func (*ColVal) MaxFloatValues ¶
func (*ColVal) MaxIntegerValue ¶
func (*ColVal) MaxIntegerValues ¶
func (*ColVal) MinBooleanValue ¶
func (*ColVal) MinBooleanValues ¶
func (*ColVal) MinFloatValue ¶
func (*ColVal) MinFloatValues ¶
func (*ColVal) MinIntegerValue ¶
func (*ColVal) MinIntegerValues ¶
func (*ColVal) ReserveBitmap ¶
func (*ColVal) SliceBitMap ¶
func (*ColVal) StringValues ¶
func (*ColVal) SubBitmapBytes ¶
func (*ColVal) SubBooleanValues ¶
func (*ColVal) SubFloatValues ¶
func (*ColVal) SubIntegerValues ¶
func (*ColVal) ValidCount ¶
func (*ColVal) ValidString ¶
type RecMeta ¶
type RecMeta struct { IntervalIndex []int // Times used to store the time for // first/last aggregation Times [][]int64 ColMeta []ColMeta // used for pre agg // contains filtered or unexported fields }
func (*RecMeta) AssignRecMetaTimes ¶
type Record ¶
func NewRecordBuilder ¶
func (*Record) AddTagIndexAndKey ¶
func (*Record) AppendRecForAggTagSet ¶
func (*Record) AppendRecForSeries ¶
func (*Record) AppendRecForTagSet ¶
func (*Record) AppendTime ¶
func (*Record) ColumnAppendNull ¶
func (*Record) CopyColMetaTo ¶
func (*Record) CopyColVals ¶
func (*Record) CopyWithCondition ¶
func (*Record) CopyWithConditionDescend ¶
func (*Record) FieldIndexs ¶
func (*Record) GetTagIndexAndKey ¶
func (*Record) InitColVal ¶
func (*Record) KickNilRow ¶
func (*Record) MergeRecord ¶
func (*Record) MergeRecordByMaxTimeOfOldRec ¶
func (*Record) MergeRecordDescend ¶
func (*Record) MergeRecordLimitRows ¶
func (*Record) MergeRecordLimitRowsDescend ¶
func (*Record) ReserveColVal ¶
func (*Record) ReserveColumnRows ¶
func (*Record) ReserveSchema ¶
func (*Record) ReserveSchemaAndColVal ¶
func (*Record) ResetForReuse ¶
func (rec *Record) ResetForReuse()
func (*Record) ResetWithSchema ¶
func (*Record) SliceFromRecord ¶
func (*Record) SortAndDedupe ¶
func (*Record) TimeColumn ¶
func (*Record) TryPadColumn ¶
func (rec *Record) TryPadColumn()
type RecordPool ¶
type RecordPool struct {
// contains filtered or unexported fields
}
func NewRecordPool ¶
func NewRecordPool() *RecordPool
func (*RecordPool) Get ¶
func (p *RecordPool) Get() *Record
func (*RecordPool) Put ¶
func (p *RecordPool) Put(rec *Record)