MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / NewTsBlock

Function NewTsBlock

client/tsblock.go:34–43  ·  view source on GitHub ↗
(positionCount int32, timeColumn Column, valueColumns ...Column)

Source from the content-addressed store, hash-verified

32}
33
34func NewTsBlock(positionCount int32, timeColumn Column, valueColumns ...Column) (*TsBlock, error) {
35 if valueColumns == nil {
36 return nil, fmt.Errorf("blocks is null")
37 }
38 return &TsBlock{
39 timeColumn: timeColumn,
40 valueColumns: valueColumns,
41 positionCount: positionCount,
42 }, nil
43}
44
45func DeserializeTsBlock(data []byte) (*TsBlock, error) {
46 // Serialized tsblock:

Callers 1

DeserializeTsBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…