public class AggregationResult
Represents a result of an AggregationQuery query submission.
Inherited Members
Constructors
AggregationResult(Map<String,? extends Value<?>> properties)
public AggregationResult(Map<String,? extends Value<?>> properties)
Methods
equals(Object o)
public boolean equals(Object o)
Parameter | |
---|---|
Name | Description |
o |
Object |
Returns | |
---|---|
Type | Description |
boolean |
get(String alias)
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.
Parameter | |
---|---|
Name | Description |
alias |
String A custom alias provided in the query or an autogenerated alias in the form of 'property_d' |
Returns | |
---|---|
Type | Description |
Long |
An aggregation result value for the given alias. |
getDouble(String alias)
public Double getDouble(String alias)
Returns a result value for the given alias.
Parameter | |
---|---|
Name | Description |
alias |
String A custom alias provided in the query or an autogenerated alias in the form of 'property_d' |
Returns | |
---|---|
Type | Description |
Double |
An aggregation result value for the given alias. |
getLong(String alias)
public Long getLong(String alias)
Returns a result value for the given alias.
Parameter | |
---|---|
Name | Description |
alias |
String A custom alias provided in the query or an autogenerated alias in the form of 'property_d' |
Returns | |
---|---|
Type | Description |
Long |
An aggregation result value for the given alias. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
toString()
public String toString()
Returns | |
---|---|
Type | Description |
String |