MCPcopy Index your code
hub / github.com/CDSecLab/MJXT / main

Method main

src/test/java/test_storage.java:14–40  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

12 */
13public class test_storage {
14 public static void main(String[] args) {
15 //the number join attributes in the table.
16 int join_column = 1;//the values{1, 2, 3, 4, 5} for our dataset.
17 //the number of attributes which aren't the join attribute in the table.
18 int key_colnum = 10 - join_column;//the values{9, 8, 7, 6, 5} for our dataset
19 int record_num = (int)Math.pow(2, 16);//65536
20 String condition = "";// "_16", "_14", "_12"
21 String id = "1";
22
23 System.out.println("-------------- JXT begin to setup-------------");
24 Setup_JXT table_JXT = new Setup_JXT(1, key_colnum, join_column, record_num, condition);
25 table_JXT.construct();
26 table_JXT.Store(id);
27 System.out.println("------------- JXT setup complete -------------");
28 System.out.println("------------- JXT+ begin to setup-------------");
29 Setup_JXTp table_JXTp = new Setup_JXTp(1, key_colnum, join_column, record_num, condition);
30 table_JXTp.construct();
31 table_JXTp.Store(id);
32 System.out.println("------------- JXT+ setup complete ------------");
33 System.out.println("------------- JXT++ begin to setup------------");
34 Setup_JXTpp[] table_JXTpp = new Setup_JXTpp[1];
35 table_JXTpp[0] = new Setup_JXTpp(1, key_colnum, join_column, record_num, condition);
36 table_JXTpp[0].construct();
37 table_JXTpp[0].Store(id);
38 System.out.println("------------ JXT++ setup complete ------------");
39 System.out.println("The output of EDB is in data/EDB");
40 }
41}

Callers

nothing calls this directly

Calls 5

constructMethod · 0.95
StoreMethod · 0.95
constructMethod · 0.95
StoreMethod · 0.95
constructMethod · 0.45

Tested by

no test coverage detected