PrimitiveBuilder.finish

ArrayData finish(DataType dtype = DataType(kindOf!T)) @safe pure nothrow

Seals the chunk, trimming capacity and producing the dtype of T by default. The temporal kinds pass DataType.DATETIME or DataType.TIME explicitly (the physical storage is long).

Parameters

dtypethe logical dtype of the resulting chunk

Returns

the finished chunk; the builder is spent.