Map<String, String> m1 = new HashMap<String, String>();
m1.put("a","m1-a");
m1.put("b","m1-b");
table1 = new Object[][]{
{5, -3.25f, 1001L, 51e+2, "Zebra", new DataByteArray("Zebra"), m1},
{-1, 3.25f, 1000L, 50e+2, "zebra", new DataByteArray("zebra"), m1},
{1001, 100.0f, 1003L, 50e+2, "Apple", new DataByteArray("Apple"), m1},
{1001, 101.0f, 1001L, 50e+2, "apple", new DataByteArray("apple"), m1},
{1001, 50.0f, 1000L, 50e+2, "Pig", new DataByteArray("Pig"), m1},
{1001, 52.0f, 1001L, 50e+2, "pig", new DataByteArray("pig"), m1},
{1002, 28.0f, 1000L, 50e+2, "Hadoop", new DataByteArray("Hadoop"), m1},
{1000, 0.0f, 1002L, 52e+2, "hadoop", new DataByteArray("hadoop"), m1} };
// Create table1
createTable(pathTable1, TABLE1_SCHEMA, TABLE1_STORAGE, table1);
// Create table2 data
Map<String, String> m2 = new HashMap<String, String>();
m2.put("a","m2-a");
m2.put("b","m2-b");
table2 = new Object[][] {
{15, 56.0f, 1004L, 50e+2, "green", new DataByteArray("green"), m2},
{-1, -99.0f, 1002L, 51e+2, "orange", new DataByteArray("orange"), m2},
{1001, 100.0f, 1003L, 55e+2, "white", new DataByteArray("white"), m2},
{1001, 102.0f, 1001L, 52e+2, "purple", new DataByteArray("purple"), m2},
{1001, 50.0f, 1008L, 52e+2, "gray", new DataByteArray("gray"), m2},
{1001, 53.0f, 1001L, 52e+2, "brown", new DataByteArray("brown"), m2},
{2000, 33.0f, 1006L, 52e+2, "beige", new DataByteArray("beige"), m2} };
// Create table2
createTable(pathTable2, TABLE2_SCHEMA, TABLE2_STORAGE, table2);
// Create table3 data
Map<String, String> m3 = new HashMap<String, String>();
m3.put("a","m3-a");
m3.put("b","m3-b");
m3.put("c","m3-b");
table3 = new Object[][] {
{"a 8", "Cupertino", "California", 1, m3},
{"a 7", "San Jose", "California", 2, m3},
{"a 6", "Santa Cruz", "California", 3, m3},
{"a 5", "Las Vegas", "Nevada", 4, m3},
{"a 4", "New York", "New York", 5, m3},
{"a 3", "Phoenix", "Arizona", 6, m3},
{"a 2", "Dallas", "Texas", 7, m3},
{"a 1", "Reno", "Nevada", 8, m3} };
// Create table3
createTable(pathTable3, TABLE3_SCHEMA, TABLE3_STORAGE, table3);
// Create table4 data
table4 = new Object[][] {
{1, "Cupertino", 1001L},
{2, "San Jose", 1008L},
{3, "Santa Cruz", 1008L},
{4, "Las Vegas", 1008L},
{5, "Dallas", 1010L},
{6, "Reno", 1000L} };
// Create table4
createTable(pathTable4, TABLE4_SCHEMA, TABLE4_STORAGE, table4);
// Create table5 data
table5 = new Object[][] {
{3.25f, 51e+2, 1001L, "string1", new DataByteArray("green"), 100},
{3.25f, 51e+2, 1001L, "string1", new DataByteArray("green"), 100},
{3.25f, 51e+2, 1001L, "string1", new DataByteArray("green"), 100},
{3.25f, 51e+2, 1001L, "string1", new DataByteArray("green"), 100},
{3.25f, 51e+2, 1001L, "string1", new DataByteArray("green"), 100},
{3.25f, 51e+2, 1001L, "string1", new DataByteArray("green"), 100} };
// Create table5
createTable(pathTable5, TABLE5_SCHEMA, TABLE5_STORAGE, table5);
// Create table6 data