Provides a tool to obtain the plain-text count value from the answer received from the cloud. More...
Static Public Member Functions | |
| static void | parseAnswerEpic (String answer) |
| Decrypts the encrypted answer to the plain-text count value. | |
| static void | parseAnswerPlain (String answer) |
| In plain-text MapReduce cases, the received answer is also the count value. | |
| static void | main (String[] args) |
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>
| static void common.GetAnswer.main | ( | String[] | args | ) | [inline, static] |
| args |
| static void common.GetAnswer.parseAnswerEpic | ( | String | answer | ) | [inline, static] |
Decrypts the encrypted answer to the plain-text count value.
The plain-text value is printed to the standard output.
| answer | encrypted answer as a big-integer in Java String format. |
| static void common.GetAnswer.parseAnswerPlain | ( | String | answer | ) | [inline, static] |
In plain-text MapReduce cases, the received answer is also the count value.
The answer is, therefore, printed directly to the standard output.
| answer | plain-text answer as a big-integer in Java String format. |
1.7.6.1