|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcommon.ClientRequest
public class ClientRequest
Computes the user's request as a set of encrypted coefficients corresponding to the queried indicator polynomial.
The current implementation supports computing the query only for a specified value over given fields. General boolean expressions are not supported, thus should be done manually.
Usage:
java %common.ClientRequest <mapred> <key> <paramfile> <requestfile>
MapRedEpic
.MapRedPlainCountOne
.MapRedNotSendCoeff
.Parameters
).
Constructor Summary | |
---|---|
ClientRequest()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static void |
requestEpic(MultiFieldKey key,
java.io.DataOutput out)
Makes request for MapRedEpic . |
static void |
requestNotSendCoeff(MultiFieldKey key,
java.io.DataOutput out)
Makes request for MapRedNotSendCoeff . |
static void |
requestPlain(MultiFieldKey key,
java.io.DataOutput out)
Makes request for MapRedPlainCountOne . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientRequest()
Method Detail |
---|
public static void requestEpic(MultiFieldKey key, java.io.DataOutput out)
MapRedEpic
.
key
- value to be counted.out
- output stream containing the created request.public static void requestPlain(MultiFieldKey key, java.io.DataOutput out)
MapRedPlainCountOne
.
key
- value to be counted.out
- output stream containing the created request.public static void requestNotSendCoeff(MultiFieldKey key, java.io.DataOutput out)
MapRedNotSendCoeff
.
This is actually a fake method as we do not send any coefficients
when using MapRedNotSendCoeff
. Processing
of the query in this case is actually done by
LocalCount
, which handles the request and answer locally.
So the arguments provided to this method can be null
.
key
- value to be counted, can be null
.out
- output stream containing the created request. The output stream can be null
.public static void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |