Package tosa.loader.data

Examples of tosa.loader.data.TableData


    return new DBData("example", makeSampleTableData(), null);
  }

  private List<TableData> makeSampleTableData() {
    ArrayList<TableData> tableDatas = new ArrayList<TableData>();
    tableDatas.add(new TableData("foo",
      Arrays.asList(new ColumnData("bar", DBColumnTypeImpl.INT, null)),
      null
    ));
    return tableDatas;
  }
View Full Code Here


        }
      }
    } else if(hasMultipleTableTargets()) {
      List<SimpleTableReference> trs = getOrderedSimpleTableRefs();
      for (SimpleTableReference ref : trs) {
        TableData tableData = ref.getTableData();
        List<ColumnData> columns = tableData.getColumns();
        for (ColumnData column : columns) {
          if (!cols.containsKey(column.getName())) {
            cols.put(column.getName(), column.getColumnType().getGosuType());
          }
        }
View Full Code Here

TOP

Related Classes of tosa.loader.data.TableData

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.