/** {@inheritDoc} */ @Override public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Batch.Call<T, R> callable) throws ServiceException, Throwable { LOG.error("Unsupported coprocessorService(Class, byte[], byte[], Batch.Call) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <R extends Message> void batchCoprocessorService( Descriptors.MethodDescriptor methodDescriptor, Message message, byte[] bytes, byte[] bytes2, R r, Batch.Callback<R> rCallback) throws ServiceException, Throwable { LOG.error("Unsupported batchCoprocessorService(" + "MethodDescriptor, Message, byte[], byte[], R, Batch.Callback<R>) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public CoprocessorRpcChannel coprocessorService(byte[] row) { LOG.error("Unsupported coprocessorService(byte[]) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public CoprocessorRpcChannel coprocessorService(byte[] row) { LOG.error("Unsupported coprocessorService(byte[]) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Batch.Call<T, R> callable) throws ServiceException, Throwable { LOG.error("Unsupported coprocessorService(Class, byte[], byte[], Batch.Call) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <R extends Message> Map<byte[], R> batchCoprocessorService( Descriptors.MethodDescriptor methodDescriptor, Message message, byte[] bytes, byte[] bytes2, R r) throws ServiceException, Throwable { LOG.error("Unsupported batchCoprocessorService(" + "MethodDescriptor, Message, byte[], byte[], R) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <R extends Message> Map<byte[], R> batchCoprocessorService( Descriptors.MethodDescriptor methodDescriptor, Message message, byte[] bytes, byte[] bytes2, R r) throws ServiceException, Throwable { LOG.error("Unsupported batchCoprocessorService(" + "MethodDescriptor, Message, byte[], byte[], R) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Batch.Call<T, R> callable, Batch.Callback<R> callback) throws ServiceException, Throwable { LOG.error("Unsupported coprocessorService(" + "Class, byte[], byte[], Batch.Call, Batch.Callback) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Batch.Call<T, R> callable, Batch.Callback<R> callback) throws ServiceException, Throwable { LOG.error("Unsupported coprocessorService(" + "Class, byte[], byte[], Batch.Call, Batch.Callback) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Override public <R extends Message> void batchCoprocessorService( Descriptors.MethodDescriptor methodDescriptor, Message message, byte[] bytes, byte[] bytes2, R r, Batch.Callback<R> rCallback) throws ServiceException, Throwable { LOG.error("Unsupported batchCoprocessorService(" + "MethodDescriptor, Message, byte[], byte[], R, Batch.Callback<R>) called."); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Deprecated @Override public void setWriteBufferSize(long writeBufferSize) throws IOException { LOG.error("Unsupported getWriteBufferSize() called"); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Deprecated @Override public long getWriteBufferSize() { LOG.error("Unsupported getWriteBufferSize() called"); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Deprecated @Override public long getWriteBufferSize() { LOG.error("Unsupported getWriteBufferSize() called"); throw new UnsupportedOperationException(); // TODO }
/** {@inheritDoc} */ @Deprecated @Override public void setWriteBufferSize(long writeBufferSize) throws IOException { LOG.error("Unsupported getWriteBufferSize() called"); throw new UnsupportedOperationException(); // TODO }
@Override public AsyncAdmin build() { try { return new BigtableAsyncAdmin(BigtableAsyncConnection.this); } catch (IOException e) { LOG.error("failed to build BigtableAsyncAdmin", e); throw new UncheckedIOException("failed to build BigtableAsyncAdmin", e); } } };
@Override public AsyncAdmin build() { try { return new BigtableAsyncAdmin(BigtableAsyncConnection.this); } catch (IOException e) { LOG.error("failed to build BigtableAsyncAdmin", e); throw new UncheckedIOException("failed to build BigtableAsyncAdmin", e); } } };
private IOException logAndCreateIOException(String type, byte[] row, Throwable t) { LOG.error("Encountered exception when executing " + type + ".", t); return new DoNotRetryIOException( makeGenericExceptionMessage( type, options.getProjectId(), tableName.getQualifierAsString(), row), t); }
private IOException logAndCreateIOException(String type, byte[] row, Throwable t) { LOG.error("Encountered exception when executing " + type + ".", t); return new DoNotRetryIOException( makeGenericExceptionMessage( type, options.getProjectId(), tableName.getQualifierAsString(), row), t); }
public BigtableAsyncConnection(Configuration conf, AsyncRegistry ignoredRegistry, String ignoredClusterId, User ignoredUser) throws IOException { LOG.debug("Creating BigtableAsyncConnection"); this.conf = conf; BigtableOptions opts; try { opts = BigtableOptionsFactory.fromConfiguration(conf); } catch (IOException ioe) { LOG.error("Error loading BigtableOptions from Configuration.", ioe); throw ioe; } this.closed = false; this.session = new BigtableSession(opts); this.options = this.session.getOptions(); }
public BigtableAsyncConnection(Configuration conf, AsyncRegistry ignoredRegistry, String ignoredClusterId, User ignoredUser) throws IOException { LOG.debug("Creating BigtableAsyncConnection"); this.conf = conf; BigtableOptions opts; try { opts = BigtableOptionsFactory.fromConfiguration(conf); } catch (IOException ioe) { LOG.error("Error loading BigtableOptions from Configuration.", ioe); throw ioe; } this.closed = false; this.session = new BigtableSession(opts); this.options = this.session.getOptions(); }