Class UniqueByGroup
- java.lang.Object
-
- com.funnelback.publicui.search.model.padre.UniqueByGroup
-
public class UniqueByGroup extends java.lang.ObjectHolds the count of unique values for a metadata class 'on' grouped by the values in metadata class 'by'.
- Since:
- 15.8
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringbyThe metadata class counts are grouped by.private java.util.Map<java.lang.String,java.lang.Double>groupAndCountsHolds the count of distinct values in a group.private java.lang.StringonThe metadata class being counted.
-
Constructor Summary
Constructors Constructor Description UniqueByGroup(java.lang.String by, java.lang.String on)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBy()The metadata class counts are grouped by.java.util.Map<java.lang.String,java.lang.Double>getGroupAndCounts()Holds the count of distinct values in a group.java.lang.StringgetOn()The metadata class being counted.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
by
private final java.lang.String by
The metadata class counts are grouped by.
- Since:
- 15.8
-
on
private final java.lang.String on
The metadata class being counted.
-
groupAndCounts
private final java.util.Map<java.lang.String,java.lang.Double> groupAndCounts
Holds the count of distinct values in a group.
The key is the group, which a single value from the metadata class
by. The value is the count of unique values in the group for the metadata classon.- Since:
- 15.8
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getBy
public java.lang.String getBy()
The metadata class counts are grouped by.
- Since:
- 15.8
-
getOn
public java.lang.String getOn()
The metadata class being counted.
-
getGroupAndCounts
public java.util.Map<java.lang.String,java.lang.Double> getGroupAndCounts()
Holds the count of distinct values in a group.
The key is the group, which a single value from the metadata class
by. The value is the count of unique values in the group for the metadata classon.- Since:
- 15.8
-
-