//#define LEAK_TEST // XID_COL is 0 indexed. #define XID_COL 4 #include "roseTableTpcCH.h" #include "stasis/experimental/compression/compression.h" int main(int argc, char **argv) { typedef int32_t typ0; typedef int16_t typ1;//typedef int16_t typ1; typedef int8_t typ2; typedef int8_t typ3; // typedef int8_t typ2; // typedef int8_t typ3; typedef rose::epoch_t typ4; typedef int8_t typ5; typedef int8_t typ6; typedef int32_t typ7; typedef int8_t typ8; typedef int8_t typ9; /* typedef int64_t typ0; typedef int64_t typ1; typedef int64_t typ2; typedef int64_t typ3; typedef int64_t typ4; typedef int64_t typ5; typedef int64_t typ6; typedef int64_t typ7; typedef int64_t typ8; typedef int64_t typ9; */ /* typedef int32_t typ10; typedef int16_t typ11; typedef int8_t typ12; typedef int8_t typ13; typedef int32_t typ14; typedef int32_t typ15; typedef int8_t typ16; typedef int32_t typ17; typedef int8_t typ18; typedef int8_t typ19; */ typedef int64_t typ10; typedef int64_t typ11; typedef int64_t typ12; typedef int64_t typ13; typedef int64_t typ14; typedef int64_t typ15; typedef int64_t typ16; typedef int64_t typ17; typedef int64_t typ18; typedef int64_t typ19; #define COLS 7 typedef rose::StaticTuple tup; using rose::For; using rose::Rle; using rose::Nop; int ret; // multicolumn is deprecated; want static dispatch! /* rose::plugin_id_t * plugins = stasis_malloc(COLS, rose::plugin_id_t); // todo try Rle / For plugins[0] = rose::plugin_id, Rle, typ0>(); plugins[1] = rose::plugin_id, Rle, typ1>(); // rle plugins[2] = rose::plugin_id, Nop, typ2>(); plugins[3] = rose::plugin_id, Nop, typ3>(); // todo try nop / for plugins[4] = rose::plugin_id, Nop, typ4>(); // rle plugins[5] = rose::plugin_id, Nop, typ5>(); plugins[6] = rose::plugin_id, Rle, typ6>(); // // todo try nop // plugins[7] = rose::plugin_id, For, typ7>(); // for // plugins[8] = rose::plugin_id, Rle, typ8>(); // plugins[9] = rose::plugin_id, Rle, typ9>(); // // // todo try Rle / For // plugins[10] = rose::plugin_id, Rle, typ10>(); // plugins[11] = rose::plugin_id, Rle, typ11>(); // rle // plugins[12] = rose::plugin_id, Rle, typ12>(); // plugins[13] = rose::plugin_id, Rle, typ13>(); // // todo try nop / for // plugins[14] = rose::plugin_id, For, typ14>(); // rle // plugins[15] = rose::plugin_id, Rle, typ15>(); // plugins[16] = rose::plugin_id, Nop, typ16>(); // // todo try nop // plugins[17] = rose::plugin_id, For, typ17>(); // for // plugins[18] = rose::plugin_id, Rle, typ18>(); // plugins[19] = rose::plugin_id, Rle, typ19>(); rose::DynamicMultiColumnTypePageLayout >::initPageLayout(plugins); ret = rose::main > >(argc,argv); */ /* return rose::main ,Rle, Rle,Rle, Rle,Rle, Rle,Rle, Rle,For > > > (argc,argv); */ rose::StaticMultiColumnTypePageLayout ,Rle, Nop,Nop, Nop,Nop, Rle,Nop, Nop,Nop, Nop,Nop, Nop,Nop, Nop,Nop, Nop,Nop, Nop,Nop > >::initPageLayout(); ret = rose::main ,Rle, Nop,Nop, Nop,Nop, Rle,Nop, Nop,Nop, Nop,Nop, Nop,Nop, Nop,Nop, Nop,Nop, Nop,Nop > > > (argc,argv); /* rose::StaticMultiColumnTypePageLayout ,Rle, Nop,Nop, Nop,Nop // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop > >::initPageLayout(); ret = rose::main ,Rle, Nop,Nop, Nop,Nop // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop, // Nop,Nop > > > (argc,argv); */ return ret; }