struct Redis::TimeSeries::Aggregation

Defined in:

time_series.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(aggregator : AggregationType, bucket_duration : Time::Span, alignment : Alignment | Time | Nil = nil, buckettimestamp : BucketTimestamp | Nil = nil, empty : Bool | Nil = nil) #

[View source]

Instance Method Detail

def aggregator : AggregationType #

def alignment : Alignment | Time | Nil #

def bucket_duration : Time::Span #

def buckettimestamp : BucketTimestamp | Nil #

def clone #

[View source]
def copy_with(aggregator _aggregator = @aggregator, bucket_duration _bucket_duration = @bucket_duration, alignment _alignment = @alignment, buckettimestamp _buckettimestamp = @buckettimestamp, empty _empty = @empty) #

[View source]
def empty : Bool | Nil #