public static ResultGenerator fromRowSpec(final String table, final RowSpec rowspec, final Filter filter, final boolean cacheBlocks) throws IOException { if (rowspec.isSingleRow()) { return new RowResultGenerator(table, rowspec, filter, cacheBlocks); } else { return new ScannerResultGenerator(table, rowspec, filter, cacheBlocks); } }
public static ResultGenerator fromRowSpec(final String table, final RowSpec rowspec, final Filter filter, final boolean cacheBlocks) throws IOException { if (rowspec.isSingleRow()) { return new RowResultGenerator(table, rowspec, filter, cacheBlocks); } else { return new ScannerResultGenerator(table, rowspec, filter, cacheBlocks); } }
public static ResultGenerator fromRowSpec(final String table, final RowSpec rowspec, final Filter filter) throws IOException { if (rowspec.isSingleRow()) { return new RowResultGenerator(table, rowspec, filter); } else { return new ScannerResultGenerator(table, rowspec, filter); } }
public static ResultGenerator fromRowSpec(final String table, final RowSpec rowspec, final Filter filter, final boolean cacheBlocks) throws IOException { if (rowspec.isSingleRow()) { return new RowResultGenerator(table, rowspec, filter, cacheBlocks); } else { return new ScannerResultGenerator(table, rowspec, filter, cacheBlocks); } }