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

Method GetBooleans

client/column.go:718–728  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

716}
717
718func (c *RunLengthEncodedColumn) GetBooleans() ([]bool, error) {
719 v, err := c.value.GetBoolean(0)
720 if err != nil {
721 return nil, err
722 }
723 result := make([]bool, c.positionCount)
724 for i := int32(0); i < c.positionCount; i++ {
725 result[i] = v
726 }
727 return result, err
728}
729
730func (c *RunLengthEncodedColumn) GetInts() ([]int32, error) {
731 v, err := c.value.GetInt(0)

Callers

nothing calls this directly

Calls 1

GetBooleanMethod · 0.65

Tested by

no test coverage detected