Class QueryStatistics

    • Method Detail

      • resultsCount

        public final Integer resultsCount()

        The number of results returned.

        Returns:
        The number of results returned.
      • totalResultsCount

        public final Integer totalResultsCount()

        The total number of results returned by a query.

        Returns:
        The total number of results returned by a query.
      • bytesScanned

        public final Long bytesScanned()

        The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

        Returns:
        The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)