Class UniqueByGroup
- java.lang.Object
-
- com.funnelback.publicui.search.model.padre.UniqueByGroup
-
public class UniqueByGroup extends java.lang.Object
Holds 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.String
by
The metadata class counts are grouped by.private java.util.Map<java.lang.String,java.lang.Double>
groupAndCounts
Holds the count of distinct values in a group.private java.lang.String
on
The 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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getBy()
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.String
getOn()
The metadata class being counted.int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-