Class AggregationResult

    • Constructor Detail

      • AggregationResult

        public AggregationResult​(Map<String,​? extends Value<?>> properties)
    • Method Detail

      • get

        @ObsoleteApi("Please use getLong(String) instead, see Github issue #1175 for details.")
        public Long get​(String alias)
        Returns a result value for the given alias. getLong(String) is preferred over this method, Use getLong(String) wherever possible.
        Parameters:
        alias - A custom alias provided in the query or an autogenerated alias in the form of 'property_\d'
        Returns:
        An aggregation result value for the given alias.
      • getLong

        public Long getLong​(String alias)
        Returns a result value for the given alias.
        Parameters:
        alias - A custom alias provided in the query or an autogenerated alias in the form of 'property_\d'
        Returns:
        An aggregation result value for the given alias.
      • getDouble

        public Double getDouble​(String alias)
        Returns a result value for the given alias.
        Parameters:
        alias - A custom alias provided in the query or an autogenerated alias in the form of 'property_\d'
        Returns:
        An aggregation result value for the given alias.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object