Class WebLogDataGenerator
- java.lang.Object
-
- org.apache.flink.examples.java.relational.util.WebLogDataGenerator
-
public class WebLogDataGenerator extends Object
Data generator for theWebLogAnalysisexample program.
-
-
Constructor Summary
Constructors Constructor Description WebLogDataGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main method to generate data for theWebLogAnalysisexample program.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Main method to generate data for theWebLogAnalysisexample program.The generator creates to files:
{tmp.dir}/documentsfor the web documents{tmp.dir}/ranksfor the ranks of the web documents{tmp.dir}/visitsfor the logged visits of web documents
- Parameters:
args-- Int: Number of web documents
- Int: Number of visits
-
-