@Override public boolean apply(MutateRowsRequest mutateRowsRequest) { if (mutateRowsRequest == null) { return false; } for (Entry entry : mutateRowsRequest.getEntriesList()) { if (!allCellsHaveTimestamps(entry.getMutationsList())) { return false; } } return true; }
/** {@inheritDoc} */ @Override public ListenableFuture<List<MutateRowsResponse>> mutateRowsAsync(MutateRowsRequest request) { return getStreamingFuture(request, mutateRowsRpc, request.getTableName()); }
/** {@inheritDoc} */ @Override public List<MutateRowsResponse> mutateRows(MutateRowsRequest request) throws ServiceException { return getBlockingStreamingResult(request, mutateRowsRpc, request.getTableName()); }