Package co.nubetech.crux.model

Examples of co.nubetech.crux.model.ReportDesign


  @Test
  public void testSetSelectedColumnsGet() {
    Report report = new Report();

    ReportDesign design1 = new ReportDesign();
    ColumnAlias alias1 = new ColumnAlias();
    alias1.setColumnFamily("family");
    alias1.setQualifier("qualifier");
    design1.setColumnAlias(alias1);

    ReportDesign design2 = new ReportDesign();
    ColumnAlias alias2 = new ColumnAlias();
    alias2.setColumnFamily("family");
    alias2.setQualifier("qualifier1");
    design2.setColumnAlias(alias2);

    ReportDesign design3 = new ReportDesign();
    ColumnAlias alias3 = new ColumnAlias();
    alias3.setColumnFamily("family1");
    alias3.setQualifier("qualifier");
    design3.setColumnAlias(alias3);

    ReportDesign design4 = new ReportDesign();
    RowAlias rowAlias = new RowAlias();
    rowAlias.setAlias("row");

    report.addDesign(design1);
    report.addDesign(design2);
View Full Code Here


  @Test
  public void testSetSelectedColumnsScan() {
    Report report = new Report();

    ReportDesign design1 = new ReportDesign();
    ColumnAlias alias1 = new ColumnAlias();
    alias1.setColumnFamily("family");
    alias1.setQualifier("qualifier");
    design1.setColumnAlias(alias1);

    ReportDesign design2 = new ReportDesign();
    ColumnAlias alias2 = new ColumnAlias();
    alias2.setColumnFamily("family");
    alias2.setQualifier("qualifier1");
    design2.setColumnAlias(alias2);

    ReportDesign design3 = new ReportDesign();
    ColumnAlias alias3 = new ColumnAlias();
    alias3.setColumnFamily("family1");
    alias3.setQualifier("qualifier");
    design3.setColumnAlias(alias3);

    ReportDesign design4 = new ReportDesign();
    RowAlias rowAlias = new RowAlias();
    rowAlias.setAlias("row");

    report.addDesign(design1);
    report.addDesign(design2);
View Full Code Here

    ArrayList<RowAliasFilter> filters = new ArrayList<RowAliasFilter>();
    filters.add(rowFilter);
    report.setRowAliasFilters(filters);
   
    ReportDesign design = new ReportDesign();
    design.setRowAlias(rAlias);
    report.addDesign(design);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    ArrayList<RowAliasFilter> filters = new ArrayList<RowAliasFilter>();
    filters.add(rowFilter);
    filters.add(rowFilter1);
    report.setRowAliasFilters(filters);

    ReportDesign design = new ReportDesign();
    design.setRowAlias(rAlias);
    report.addDesign(design);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    filters.add(rowFilter1);
    report.setRowAliasFilters(filters);

    rowFilter1.setValue("15");
   
    ReportDesign design = new ReportDesign();
    design.setColumnAlias(cAlias);
    report.addDesign(design);
    ReportDesign design3 = new ReportDesign();
    design3.setRowAlias(rAlias1);
    report.addDesign(design3);
    ReportDesign design4 = new ReportDesign();
    design4.setRowAlias(rAlias2);
    report.addDesign(design4);
    ReportDesign design5 = new ReportDesign();
    design5.setRowAlias(rAlias3);
    report.addDesign(design5);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    ArrayList<ColumnFilter> filters = new ArrayList<ColumnFilter>();
    filters.add(columnFilter1);
    report.setColumnFilters(filters);
   
    ReportDesign design = new ReportDesign();
    design.setColumnAlias(cAlias);
    report.addDesign(design);
    ReportDesign design3 = new ReportDesign();
    design3.setRowAlias(rAlias1);
    report.addDesign(design3);
    ReportDesign design4 = new ReportDesign();
    design4.setRowAlias(rAlias2);
    report.addDesign(design4);
    ReportDesign design5 = new ReportDesign();
    design5.setRowAlias(rAlias3);
    report.addDesign(design5);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    ArrayList<ColumnFilter> filters = new ArrayList<ColumnFilter>();
    filters.add(columnFilter1);
    report.setColumnFilters(filters);
   
    ReportDesign design = new ReportDesign();
    design.setColumnAlias(cAlias);
    report.addDesign(design);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    ArrayList<ColumnFilter> filters = new ArrayList<ColumnFilter>();
    filters.add(columnFilter1);
    report.setColumnFilters(filters);
   
    ReportDesign design = new ReportDesign();
    design.setColumnAlias(cAlias);
    report.addDesign(design);
    ReportDesign design1 = new ReportDesign();
    design1.setColumnAlias(cAlias2);
    report.addDesign(design1);
    ReportDesign design3 = new ReportDesign();
    design3.setRowAlias(rAlias1);
    report.addDesign(design3);
    ReportDesign design4 = new ReportDesign();
    design4.setRowAlias(rAlias2);
    report.addDesign(design4);
    ReportDesign design5 = new ReportDesign();
    design5.setRowAlias(rAlias3);
    report.addDesign(design5);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    filters.add(rowFilter1);
    report.setRowAliasFilters(filters);

    rowFilter1.setValue("15");
   
    ReportDesign design = new ReportDesign();
    design.setColumnAlias(cAlias);
    report.addDesign(design);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

    ArrayList<RowAliasFilter> filters = new ArrayList<RowAliasFilter>();
    filters.add(rowFilter1);
    filters.add(rowFilter2);
    report.setRowAliasFilters(filters);
   
    ReportDesign design = new ReportDesign();
    design.setColumnAlias(cAlias);
    report.addDesign(design);

    HBaseFacade hbaseFacade = new HBaseFacade(pool);
    CruxScanner scanner = hbaseFacade.execute(connection, report, mapping);
    assertTrue(scanner instanceof CruxScannerResultScannerImpl);
View Full Code Here

TOP

Related Classes of co.nubetech.crux.model.ReportDesign

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.