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

Method GetInts

client/column.go:730–740  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

728}
729
730func (c *RunLengthEncodedColumn) GetInts() ([]int32, error) {
731 v, err := c.value.GetInt(0)
732 if err != nil {
733 return nil, err
734 }
735 result := make([]int32, c.positionCount)
736 for i := int32(0); i < c.positionCount; i++ {
737 result[i] = v
738 }
739 return result, err
740}
741
742func (c *RunLengthEncodedColumn) GetLongs() ([]int64, error) {
743 v, err := c.value.GetLong(0)

Callers

nothing calls this directly

Calls 1

GetIntMethod · 0.65

Tested by

no test coverage detected