Class CommandStatsQuery

java.lang.Object
org.sensorhub.api.datastore.command.CommandStatsQuery
All Implemented Interfaces:
IQueryFilter

public class CommandStatsQuery extends Object implements IQueryFilter

Immutable query object for commands statistics.

  • Field Details

    • commandFilter

      protected CommandFilter commandFilter
    • histogramBinSize

      protected Duration histogramBinSize
    • limit

      protected long limit
  • Constructor Details

    • CommandStatsQuery

      protected CommandStatsQuery()
  • Method Details

    • getCommandFilter

      public CommandFilter getCommandFilter()
    • getHistogramBinSize

      public Duration getHistogramBinSize()
    • getLimit

      public long getLimit()
      Specified by:
      getLimit in interface IQueryFilter
      Returns:
      Maximum number of selected records
    • toString

      public String toString()
      Overrides:
      toString in class Object