Class Aggregation

  • All Implemented Interfaces:
    io.lettuce.core.CompositeArgument

    public class Aggregation
    extends java.lang.Object
    implements io.lettuce.core.CompositeArgument
    • Constructor Detail

      • Aggregation

        public Aggregation​(Aggregator aggregator,
                           java.time.Duration bucketDuration)
    • Method Detail

      • getAggregator

        public Aggregator getAggregator()
      • getBucketDuration

        public java.time.Duration getBucketDuration()
      • isEmpty

        public boolean isEmpty()
      • setEmpty

        public void setEmpty​(boolean empty)
      • build

        public <K,​V> void build​(io.lettuce.core.protocol.CommandArgs<K,​V> args)
        Specified by:
        build in interface io.lettuce.core.CompositeArgument
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object