@Test(expected = BlurException.class) public void testMutationUpdateMissingRowDeleteRecord() throws Exception { RecordMutation rm = newRecordMutation(DELETE_ENTIRE_RECORD, FAMILY, "record-101"); RowMutation rowMutation = newRowMutation(UPDATE_ROW, TABLE, "row-101", rm); rowMutation.waitToBeVisible = true; indexManager.mutate(rowMutation); }
public void mutate(final RowMutation mutation) throws BlurException, IOException { Future<Void> future = _mutateExecutor.submit(new Callable<Void>() { @Override public Void call() throws Exception { doMutate(mutation); return null; } }); try { future.get(); } catch (InterruptedException e) { throw new BException("Unknown error during mutation", e); } catch (ExecutionException e) { throw new BException("Unknown error during mutation", e.getCause()); } }
IndexManager { public void mutate(final RowMutation mutation) throws BlurException, IOException { Future<Void> future = _mutateExecutor.submit(new Callable<Void>() { @Override public Void call() throws Exception { doMutate(mutation); return null; } }); try { future.get(); } catch (InterruptedException e) { throw new BException("Unknown error during mutation", e); } catch (ExecutionException e) { throw new BException("Unknown error during mutation", e.getCause()); } } }
IndexManager { public void mutate(final RowMutation mutation) throws BlurException, IOException { Future<Void> future = _mutateExecutor.submit(new Callable<Void>() { @Override public Void call() throws Exception { doMutate(mutation); return null; } }); try { future.get(); } catch (InterruptedException e) { throw new BException("Unknown error during mutation", e); } catch (ExecutionException e) { throw new BException("Unknown error during mutation", e.getCause()); } }  }
IndexManager { public void mutate(final RowMutation mutation) throws BlurException, IOException { Future<Void> future = _mutateExecutor.submit(new Callable<Void>() { @Override public Void call() throws Exception { doMutate(mutation); return null; } }); try { future.get(); } catch (InterruptedException e) { throw new BException("Unknown error during mutation", e); } catch (ExecutionException e) { throw new BException("Unknown error during mutation", e.getCause()); } }  void setMaxClauseCount(int maxClauseCount); void init(); synchronized void close(); void fetchRow(String table, Selector selector, FetchResult fetchResult); static void validSelector(Selector selector); BlurResultIterable query(final String table, final BlurQuery blurQuery, AtomicLongArray facetedCounts); void cancelQuery(String table, long uuid); List<BlurQueryStatus> currentQueries(String table); BlurQueryStatus queryStatus(String table, long uuid); List<Long> queryStatusIdList(String table); static void fetchRow(IndexReader reader, String table, Selector selector, FetchResult fetchResult); static FieldSelector getFieldSelector(final Selector selector); IndexServer getIndexServer(); void setIndexServer(IndexServer indexServer); long recordFrequency(final String table, final String columnFamily, final String columnName, final String value); List<String> terms(final String table, final String columnFamily, final String columnName, final String startWith, final short size); static long recordFrequency(IndexReader reader, String columnFamily, String columnName, String value); static List<String> terms(IndexReader reader, String columnFamily, String columnName, String startWith, short size); Schema schema(String table); void setStatusCleanupTimerDelay(long delay); void mutate(final RowMutation mutation); void mutate(final List<RowMutation> mutations); void setThreadCount(int threadCount); void setBlurMetrics(BlurMetrics blurMetrics); void setFilterCache(BlurFilterCache filterCache); void optimize(String table, int numberOfSegmentsPerShard); }
IndexManager { public void mutate(final RowMutation mutation) throws BlurException, IOException { Future<Void> future = _mutateExecutor.submit(new Callable<Void>() { @Override public Void call() throws Exception { doMutate(mutation); return null; } }); try { future.get(); } catch (InterruptedException e) { throw new BException("Unknown error during mutation", e); } catch (ExecutionException e) { throw new BException("Unknown error during mutation", e.getCause()); } }  void setMaxClauseCount(int maxClauseCount); void init(); synchronized void close(); void fetchRow(String table, Selector selector, FetchResult fetchResult); static void validSelector(Selector selector); BlurResultIterable query(final String table, final BlurQuery blurQuery, AtomicLongArray facetedCounts); void cancelQuery(String table, long uuid); List<BlurQueryStatus> currentQueries(String table); BlurQueryStatus queryStatus(String table, long uuid); List<Long> queryStatusIdList(String table); static void fetchRow(IndexReader reader, String table, Selector selector, FetchResult fetchResult); static FieldSelector getFieldSelector(final Selector selector); IndexServer getIndexServer(); void setIndexServer(IndexServer indexServer); long recordFrequency(final String table, final String columnFamily, final String columnName, final String value); List<String> terms(final String table, final String columnFamily, final String columnName, final String startWith, final short size); static long recordFrequency(IndexReader reader, String columnFamily, String columnName, String value); static List<String> terms(IndexReader reader, String columnFamily, String columnName, String startWith, short size); Schema schema(String table); void setStatusCleanupTimerDelay(long delay); void mutate(final RowMutation mutation); void mutate(final List<RowMutation> mutations); void setThreadCount(int threadCount); void setBlurMetrics(BlurMetrics blurMetrics); void setFilterCache(BlurFilterCache filterCache); void optimize(String table, int numberOfSegmentsPerShard);  }