/** * Initializes a new layout updater for the specified table and with the specified layout update. * * @param fiji Opened Fiji instance the table belongs to. * @param tableURI Update the layout of this table. * @param layoutUpdate Function to generate the layout update descriptor based on the current * layout of the table. * @throws IOException on I/O error. * @throws KeeperException on ZooKeeper error. */ public HBaseTableLayoutUpdater( final HBaseFiji fiji, final FijiURI tableURI, final Function<FijiTableLayout, TableLayoutDesc> layoutUpdate) throws IOException, KeeperException { mFiji = fiji; mFiji.retain(); mTableURI = tableURI; mZKClient = mFiji.getZKClient(); mLayoutUpdate = layoutUpdate; }