|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommon.Producer
public class Producer
Implementation of a local data generator. This class is used for experiments.
A record is formatted in order of columns as follows:
Record.Parameters).Parameters).
Encrypted countable field's format is defined in BigIntegerWritable class.
for detailed usage.| Field Summary | |
|---|---|
static java.io.OutputStream |
paramos
|
static java.io.OutputStream |
statos
|
| Constructor Summary | |
|---|---|
Producer()
|
|
| Method Summary | |
|---|---|
static Record |
generateRecord()
Generate a random record. |
static Statistics |
getStats()
Returns the statistics of generated records. |
static void |
main(java.lang.String[] args)
Usage: |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.io.OutputStream paramos
public static java.io.OutputStream statos
| Constructor Detail |
|---|
public Producer()
| Method Detail |
|---|
public static Record generateRecord()
public static Statistics getStats()
public static void main(java.lang.String[] args)
java common.Producer <quantity> <paramfile> <statfile> [datafile]
Parameters).datafile is not specified, the standard output is used.
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||