Example #1
0
  /**
   * Execute query on {@link IesQueryServiceImpl}
   *
   * @return voTable
   */
  protected VOTABLE getIcsVoTable() {
    icsQueryService.setStartTime(startTime);
    icsQueryService.setEndTime(endTime);
    icsQueryService.setFrom(fromIcs);
    icsQueryService.setMaxRecords(maxRecords);
    icsQueryService.setStartIndex(startIndex);
    icsQueryService.setJoin(join);

    HelioQueryResult result = icsQueryService.execute();
    VOTABLE voTable = result.asVOTable();

    return voTable;
  }
Example #2
0
  /**
   * Execute query on {@link LocalQueryServiceImpl} for HEC
   *
   * @return voTable
   */
  protected VOTABLE getHecVoTable() {
    // set hecQueryService query properties
    hecQueryService.setStartTime(hecStartTime);
    hecQueryService.setEndTime(hecEndTime);
    hecQueryService.setFrom(fromHec);
    hecQueryService.setMaxRecords(5); // Hack: limit maxRecords due to backend problems in dpas
    hecQueryService.setStartIndex(startIndex);
    hecQueryService.setJoin(join);

    HelioQueryResult result = hecQueryService.execute();
    VOTABLE voTable = result.asVOTable();
    return voTable;
  }