Function
NewBlockMetaWithDedicatedColumns
(tenantID string, blockID uuid.UUID, version string, dc DedicatedColumns)
Source from the content-addressed store, hash-verified
| 240 | } |
| 241 | |
| 242 | func NewBlockMetaWithDedicatedColumns(tenantID string, blockID uuid.UUID, version string, dc DedicatedColumns) *BlockMeta { |
| 243 | b := &BlockMeta{ |
| 244 | Version: version, |
| 245 | BlockID: UUID(blockID), |
| 246 | TenantID: tenantID, |
| 247 | DedicatedColumns: dc, |
| 248 | } |
| 249 | |
| 250 | return b |
| 251 | } |
| 252 | |
| 253 | // ObjectAdded updates the block meta appropriately based on information about an added record |
| 254 | // start/end are unix epoch seconds, when 0 the start and the end are not applied. |
Tested by
no test coverage detected