|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcommon.GetAnswer
public class GetAnswer
Provides a tool to obtain the plain-text count value from the answer received from the cloud.
The answer is simply decrypted using the known degree of b
.
Usage:
java %common.GetAnswer <mapred> <paramfile> <answerfile>
MapRedEpic
.MapRedPlainCountOne
.Parameters
).
Constructor Summary | |
---|---|
GetAnswer()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static void |
parseAnswerEpic(java.lang.String answer)
Decrypts the encrypted answer to the plain-text count value. |
static void |
parseAnswerPlain(java.lang.String answer)
In plain-text MapReduce cases, the received answer is also the count value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetAnswer()
Method Detail |
---|
public static void parseAnswerEpic(java.lang.String answer)
answer
- encrypted answer as a big-integer in Java String format.public static void parseAnswerPlain(java.lang.String answer)
answer
- plain-text answer as a big-integer in Java String format.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 |