(id []byte, row parquet.Row, start, end uint32)
| 188 | } |
| 189 | |
| 190 | func (b *streamingBlock) AddRaw(id []byte, row parquet.Row, start, end uint32) error { |
| 191 | _, err := b.pw.WriteRows([]parquet.Row{row}) |
| 192 | if err != nil { |
| 193 | return err |
| 194 | } |
| 195 | |
| 196 | b.index.Add(id) |
| 197 | b.bloom.Add(id) |
| 198 | b.meta.ObjectAdded(start, end) |
| 199 | b.currentBufferedTraces++ |
| 200 | b.currentBufferedBytes += estimateMarshalledSizeFromParquetRow(row) |
| 201 | |
| 202 | return nil |
| 203 | } |
| 204 | |
| 205 | func (b *streamingBlock) EstimatedBufferedBytes() int { |
| 206 | return b.currentBufferedBytes |
no test coverage detected