class GroupingTransform extends Object
GroupingOperation
was
transformed into a list Grouping
objects, so that the results of those
queries can be transformed into something that corresponds to the original request.Modifier and Type | Field and Description |
---|---|
private Map<Integer,Set<Integer>> |
children |
private Map<Integer,String> |
labels |
private Map<Integer,Integer> |
maxes |
private Map<ResultId,Integer> |
offsetById |
private Map<Integer,Integer> |
offsetByTag |
private int |
requestId |
private Set<ResultId> |
unstable |
Constructor and Description |
---|
GroupingTransform(int requestId) |
Modifier and Type | Method and Description |
---|---|
GroupingTransform |
addContinuation(Continuation cont) |
String |
getLabel(int tag) |
int |
getMax(int tag) |
int |
getOffset(int tag) |
int |
getOffset(ResultId resultId) |
boolean |
isStable(ResultId resultId) |
GroupingTransform |
putLabel(int parentTag,
int tag,
String label,
String type) |
GroupingTransform |
putMax(int tag,
int max,
String type) |
private static int |
toPosInt(Integer val) |
String |
toString() |
public GroupingTransform addContinuation(Continuation cont)
public boolean isStable(ResultId resultId)
public int getOffset(int tag)
public int getOffset(ResultId resultId)
public GroupingTransform putMax(int tag, int max, String type)
public int getMax(int tag)
public GroupingTransform putLabel(int parentTag, int tag, String label, String type)
public String getLabel(int tag)
private static int toPosInt(Integer val)
Copyright © 2018. All rights reserved.