(measureVector unsafe.Pointer, outputDataType C.enum_DataType, aggFunc C.enum_AggregateFunction)
| 257 | } |
| 258 | |
| 259 | func makeMeasureVectorOutput(measureVector unsafe.Pointer, outputDataType C.enum_DataType, aggFunc C.enum_AggregateFunction) C.OutputVector { |
| 260 | var measureOutputVector C.MeasureOutputVector |
| 261 | |
| 262 | measureOutputVector.Values = (*C.uint32_t)(measureVector) |
| 263 | measureOutputVector.DataType = outputDataType |
| 264 | measureOutputVector.AggFunc = aggFunc |
| 265 | |
| 266 | var vector C.OutputVector |
| 267 | *(*C.MeasureOutputVector)(unsafe.Pointer(&vector.Vector)) = measureOutputVector |
| 268 | vector.Type = C.MeasureOutput |
| 269 | return vector |
| 270 | } |
| 271 | |
| 272 | func makeDimensionVectorOutput(dimensionVector unsafe.Pointer, valueOffset, nullOffset int, dataType C.enum_DataType) C.OutputVector { |
| 273 | var dimensionOutputVector C.DimensionOutputVector |
no outgoing calls
no test coverage detected