/** * Constructs an HBase Scan that describes the data requested in the FijiDataRequest. * * @param tableLayout The layout of the Fiji table to read from. This is required for * determining the mapping between Fiji columns and HBase columns. * @return An HBase Scan descriptor. * @throws IOException If there is an error. */ public Scan toScan(final FijiTableLayout tableLayout) throws IOException { return toScan(tableLayout, new HBaseScanOptions()); }
final FijiTableLayout tableLayout ) throws IOException { final Scan newScan = toScan(tableLayout);
final FijiTableLayout layout = capsule.getLayout(); validateRequestAgainstLayout(request, layout); final Scan scan = adapter.toScan(layout, scannerOptions.getHBaseScanOptions()); if (null != scannerOptions.getStartRow()) { scan.setStartRow(scannerOptions.getStartRow().getHBaseRowKey());
final FijiTableLayout tableLayout = capsule.getLayout(); validateRequestAgainstLayout(dataRequest, tableLayout); final Scan scan = dataRequestAdapter.toScan(tableLayout, scanOptions);