DurationChunkedBuilder
struct DurationChunkedBuilder
Static Methods
new
pub fn new(time_unit: TimeUnit, name: string = "", capacity: int = 0): DurationChunkedBuilder
[src]
pub fn new(time_unit: TimeUnit, name: string = "", capacity: int = 0): DurationChunkedBuilder {
return DurationChunkedBuilder._new(name, capacity, time_unit as int);
}
Creates a new builder.
new
pub fn new(time_unit: TimeUnit, name: string = "", capacity: int = 0): DurationChunkedBuilder
[src]
pub fn new(time_unit: TimeUnit, name: string = "", capacity: int = 0): DurationChunkedBuilder {
return DurationChunkedBuilder._new(name, capacity, time_unit as int);
}
Creates a new builder.
Creates a new builder.
Methods
Appends a optional value into the builder.
Appends a optional value into the builder.
Appends a optional value into the builder.
append_null
pub fn append_null(self)
Appends a null slot into the builder.
append_null
pub fn append_null(self)
Appends a null slot into the builder.
Appends a null slot into the builder.
append_value
pub fn append_value(self, value: Duration)
Appends a value into the builder.
append_value
pub fn append_value(self, value: Duration)
Appends a value into the builder.
Appends a value into the builder.
finish
pub fn finish(self): DurationChunked
Create a chunked array from the builder and reset the builder.
finish
pub fn finish(self): DurationChunked
Create a chunked array from the builder and reset the builder.
Create a chunked array from the builder and reset the builder.
shrink_to_fit
pub fn shrink_to_fit(self)
Shrink the capacity of this array to fit its length.
shrink_to_fit
pub fn shrink_to_fit(self)
Shrink the capacity of this array to fit its length.
Shrink the capacity of this array to fit its length.