Esempio n. 1
0
  public CommandWrapper(String name) throws StreamSpinnerException {
    super(name);

    table = new String[1];
    table[0] = "Command";

    String[] attrs = {table[0] + ".Timestamp", table[0] + ".Name", table[0] + ".Output"};
    String[] types = {DataTypes.LONG, DataTypes.STRING, DataTypes.STRING};
    schema = new Schema(table[0], attrs, types);
    schema.setTableType(Schema.STREAM);
  }