EPiC
Efficient Privacy-Preserving Counting for MapReduce
 All Classes Namespaces Functions Variables
Public Member Functions
common.Statistics Class Reference

Provides a tool for collecting statistics about the values of fields in the data set. More...

List of all members.

Public Member Functions

 Statistics ()
 Constructs the object without initialization.
void initialize (int size)
 Initializes the object with total number of distinct values in the data set.
void add (Record record)
 Add and parse the record, and update the statistics.
void add (MultiFieldKey key, int quantity)
 Add explicitly a value with given quantity.
void print (OutputStream out)
 Prints statistics to given output stream.
void print ()
 Prints statistics to standard output stream.
void print (String filename)
 Print statistics to a given file.

Detailed Description

Provides a tool for collecting statistics about the values of fields in the data set.

Author:
vohuudtr

Member Function Documentation

void common.Statistics.add ( Record  record) [inline]

Add and parse the record, and update the statistics.

Parameters:
recordrecord to add.
void common.Statistics.add ( MultiFieldKey  key,
int  quantity 
) [inline]

Add explicitly a value with given quantity.

Parameters:
key
quantity
void common.Statistics.initialize ( int  size) [inline]

Initializes the object with total number of distinct values in the data set.

Parameters:
sizenumber of distinct values in the data set.
void common.Statistics.print ( OutputStream  out) [inline]

Prints statistics to given output stream.

Parameters:
outoutput stream.
void common.Statistics.print ( String  filename) [inline]

Print statistics to a given file.

Parameters:
filenameoutput filename.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables