Examples of Row


Examples of acolyte.Row

  @Override
  public List<Row> getRows() {
    return Lists.transform(queryResult.getRowsList(), new Function<QueryService.Row, Row>() {
      @Override
      public Row apply(final QueryService.Row row) {
        return new Row() {
          @Override
          public List<Object> cells() {
            List<Object> res = Lists.newArrayList();
            for (int i = 0; i < row.getValuesList().size(); i++) {
              if (!row.getValues(i).hasValue()) {
View Full Code Here

Examples of bad.robot.excel.row.Row

        org.apache.poi.ss.usermodel.Row row = getRowForCoordinate(rowIndex, sheetIndex);
        Map<ColumnIndex, Cell> cells = new HashMap<ColumnIndex, Cell>();
        for (org.apache.poi.ss.usermodel.Cell cell : row) {
            cells.put(null, adaptPoi(cell));
        }
        return new Row(cells);
    }
View Full Code Here

Examples of bm.db.Row

     */
    public void positionChanged()
    {
        try
        {
            final Row row = browser.getRowSet().getCurrent();

            if( row != null )
            {
                rebind( row );
                final Display display = Application.getManager().getDisplay();
View Full Code Here

Examples of br.com.caelum.seleniumdsl.table.Row

  }

  public Row getFirstResult() {
    int rowCount = table.getRowCount();
    OUTTER: for (int i = 0; i < rowCount; i++) {
      Row row = table.row(i + 1);
      for (TableCriterion criterion : criteria) {
        if (!criterion.match(row))
          continue OUTTER;
      }
      return row;
View Full Code Here

Examples of br.net.woodstock.rockframework.document.spreadsheet.Row

    return document;
  }

  private void handleRow(final Sheet sheet, final org.apache.poi.ss.usermodel.Row row) {
    if (row != null) {
      Row r = new Row();
      if (row.getPhysicalNumberOfCells() > 0) {
        int numCells = row.getLastCellNum();
        for (int cellIndex = 0; cellIndex < numCells; cellIndex++) {
          org.apache.poi.ss.usermodel.Cell cell = row.getCell(cellIndex);
          this.handleCell(r, cell);
View Full Code Here

Examples of br.net.woodstock.rockframework.office.spreadsheet.Row

    }
    return document;
  }

  private void handleRow(final Sheet sheet, final org.apache.poi.ss.usermodel.Row row) {
    Row r = new Row();
    if (row.getPhysicalNumberOfCells() > 0) {
      int numCells = row.getLastCellNum();
      for (int cellIndex = 0; cellIndex < numCells; cellIndex++) {
        org.apache.poi.ss.usermodel.Cell cell = row.getCell(cellIndex);
        this.handleCell(r, cell);
View Full Code Here

Examples of ch.ralscha.extdirectspring.provider.Row

  public void testCreateWithDataSingle() {
    ExtDirectStoreResult<Row> rows = (ExtDirectStoreResult<Row>) ControllerUtil
        .sendAndReceive(mockMvc, "remoteProviderStoreModifySingle", "create1",
            new TypeReference<ExtDirectStoreResult<Row>>() {
              /* nothing here */
            }, new Row(10, "Ralph", true, "109.55"));
    assertThat(rows.getRecords()).hasSize(1);
    assertThat(rows.isSuccess()).isTrue();
    Row row = rows.getRecords().iterator().next();
    assertThat(row.getId()).isEqualTo(10);
    assertThat(row.getName()).isEqualTo("Ralph");
    assertThat(row.getSalary()).isEqualTo(new BigDecimal("109.55"));
  }
View Full Code Here

Examples of co.cask.cdap.api.dataset.table.Row

        colsToIndex.add(putEntry.getKey());
      }
    }

    // first read the existing indexed values to find which have changed and need to be updated
    Row existingRow = table.get(dataRow, colsToIndex.toArray(new byte[colsToIndex.size()][]));
    if (existingRow != null) {
      for (Map.Entry<byte[], byte[]> entry : existingRow.getColumns().entrySet()) {
        if (!Arrays.equals(entry.getValue(), putColumns.get(entry.getKey()))) {
          index.delete(createIndexKey(dataRow, entry.getKey(), entry.getValue()), IDX_COL);
        } else {
          // value already indexed
          colsToIndex.remove(entry.getKey());
View Full Code Here

Examples of com.Acrobot.Breeze.Database.Row

        if (METADATA_CACHE.containsKey(code)) {
            return METADATA_CACHE.get(code);
        }

        try {
            Row row = table.getRow("id='" + Base62.decode(code) + '\'');

            if (row.getSize() == 0) {
                return null;
            }

            String serialized = row.get("code");

            ItemStack item = (ItemStack) yaml.load((String) Base64.decodeToObject(serialized));
            METADATA_CACHE.put(code, item);

            return item;
View Full Code Here

Examples of com.airhacks.enhydrator.in.Row

        }

    }

    void transformRow(Row convertedRow) {
        Row entryColumns = applyRowTransformations(this.beforeTransformations, convertedRow);
        applyNamedFunctions(entryColumns);
        this.flowListener.accept("Named functions processed");
        applyExpressions(convertedRow);
        this.flowListener.accept("Expressions processed");
        Row afterProcessed = applyRowTransformations(this.afterTransformations, entryColumns);
        if (afterProcessed == null) {
            return;
        }
        this.flowListener.accept("After process RowTransformer executed. " + afterProcessed.getNumberOfColumns() + " entries");
        this.sink(afterProcessed);
        this.flowListener.accept("Result processed by sinks");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.