Class Query


  • public class Query
    extends Object
    • Constructor Detail

      • Query

        public Query()
    • Method Detail

      • getFrom

        public Long getFrom()
      • getTo

        public Long getTo()
      • isThreadGroupsBuckets

        public boolean isThreadGroupsBuckets()
      • withThreadGroupsBuckets

        public Query withThreadGroupsBuckets​(boolean onlyThreadGroupsBuckets)
      • range

        public Query range​(long from,
                           long to)
        Specifies a time range for the query
        Parameters:
        from - the beginning of the time range in ms (Epoch time)
        to - the end of the time range (Epoch time)
        Returns:
        the builder
      • filter

        public Query filter​(Map<String,​String> filters)
        Specifies the mandatory list of key-value attributes that the series should match
        Parameters:
        filters - the mandatory key-value attributes that the series should match
        Returns:
        the builder
      • group

        public Query group()
        Group all the selected series in one series
        Returns:
        the builder
      • window

        public Query window​(long intervalSizeMs)
      • split

        public Query split​(Long numberOfBuckets)
      • getGroupDimensions

        public Set<String> getGroupDimensions()
      • getIntervalSizeMs

        public long getIntervalSizeMs()