|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimpledb.materialize.GroupValue
public class GroupValue
An object that holds the values of the grouping fields for the current record of a scan.
Constructor Summary | |
---|---|
GroupValue(Scan s,
Collection<String> fields)
Creates a new group value, given the specified scan and list of fields. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Two GroupValue objects are equal if they have the same values for their grouping fields. |
Constant |
getVal(String fldname)
Returns the Constant value of the specified field in the group. |
int |
hashCode()
The hashcode of a GroupValue object is the sum of the hashcodes of its field values. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupValue(Scan s, Collection<String> fields)
s
- a scanfields
- the list of fieldsMethod Detail |
---|
public Constant getVal(String fldname)
fldname
- the name of a field
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |