-
メソッドの概要
| 修飾子とタイプ |
メソッド |
説明 |
List<SubRange> |
assignDelegate(Object query,
SubRange queryRange,
NavigableMap<DdllKey,Link> allLinks,
Collection<Endpoint> failedLinks) |
split the given query range and assign an appropriate delegation node
for each subrange.
|
StrictMap<Id,List<SubRange>> |
assignDelegates(RQMessage msg,
List<SubRange[]> closeRanges,
List<DKRangeRValue<?>> rvals) |
split the given query range and assign an appropriate delegation node
for each subrange.
|
RQMessage |
newRQMessage4Root(MessagingFramework sgmf,
Collection<SubRange> subRanges,
QueryId qid,
Object query,
TransOptions opts) |
create a (subclass of) RQMessage for new range query instance.
|
void |
rqExecuteLocal(RQMessage msg,
List<SubRange> list,
List<DKRangeRValue<?>> rvals) |
resolve (fill-in) range query results that are locally available.
|
-
メソッドの詳細
-
create a (subclass of) RQMessage for new range query instance.
- パラメータ:
sgmf - messaging framework
subRanges - the subranges.
qid - the query id.
query - the query object.
opts - the transport options.
- 戻り値:
- subclass of RQMessage
-
split the given query range and assign an appropriate delegation node
for each subrange.
- パラメータ:
query - query parameter
queryRange - query range
allLinks - links (including keys) to split the query range
failedLinks - (maybe) failed links
- 戻り値:
- subranges
-
split the given query range and assign an appropriate delegation node
for each subrange.
- パラメータ:
msg - query message
closeRanges - List of {[predecessor, n), [n, successor}},
where n is myself.
rvals - the list to store the results.
- 戻り値:
- the map of id and subranges.
-
resolve (fill-in) range query results that are locally available.
- パラメータ:
msg - the query message.
list - list of subranges that are locally available.
rvals - list to store the results