/** * Constructor * @param tableResource * @param rowspec * @param versions * @param check * @param returnResult * @throws IOException */ public RowResource(TableResource tableResource, String rowspec, String versions, String check, String returnResult) throws IOException { super(); this.tableResource = tableResource; this.rowspec = new RowSpec(rowspec); if (versions != null) { this.rowspec.setMaxVersions(Integer.parseInt(versions)); } this.check = check; if (returnResult != null) { this.returnResult = Boolean.valueOf(returnResult); } }
rowSpec.setMaxVersions(this.versions);
/** * Constructor * @param tableResource * @param rowspec * @param versions * @throws IOException */ public RowResource(TableResource tableResource, String rowspec, String versions, String check) throws IOException { super(); this.tableResource = tableResource; this.rowspec = new RowSpec(rowspec); if (versions != null) { this.rowspec.setMaxVersions(Integer.valueOf(versions)); } this.check = check; }
/** * Constructor * @param tableResource * @param rowspec * @param versions * @param check * @param returnResult * @throws IOException */ public RowResource(TableResource tableResource, String rowspec, String versions, String check, String returnResult) throws IOException { super(); this.tableResource = tableResource; this.rowspec = new RowSpec(rowspec); if (versions != null) { this.rowspec.setMaxVersions(Integer.parseInt(versions)); } this.check = check; if (returnResult != null) { this.returnResult = Boolean.valueOf(returnResult); } }
/** * Constructor * @param tableResource * @param rowspec * @param versions * @param check * @param returnResult * @throws IOException */ public RowResource(TableResource tableResource, String rowspec, String versions, String check, String returnResult) throws IOException { super(); this.tableResource = tableResource; this.rowspec = new RowSpec(rowspec); if (versions != null) { this.rowspec.setMaxVersions(Integer.parseInt(versions)); } this.check = check; if (returnResult != null) { this.returnResult = Boolean.valueOf(returnResult); } }
rowSpec.setMaxVersions(this.versions);
rowSpec.setMaxVersions(this.versions);
rowSpec.setMaxVersions(this.versions);