org.apache.hadoop.hbase.client.coprocessor.Batch.Call Java Examples
The following examples show how to use
org.apache.hadoop.hbase.client.coprocessor.Batch.Call.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TableOverAsyncTable.java From hbase with Apache License 2.0 | 5 votes |
@Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable, Callback<R> callback) throws ServiceException, Throwable { coprocssorService(service.getName(), startKey, endKey, callback, channel -> { T instance = ProtobufUtil.newServiceStub(service, channel); return callable.call(instance); }); }
Example #2
Source File: DelegateHTable.java From phoenix with Apache License 2.0 | 5 votes |
@Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable, Callback<R> callback) throws ServiceException, Throwable { delegate.coprocessorService(service, startKey, endKey, callable, callback); }
Example #3
Source File: RegionAsTable.java From hbase with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable) throws ServiceException, Throwable { throw new UnsupportedOperationException(); }
Example #4
Source File: RegionAsTable.java From hbase with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable, Callback<R> callback) throws ServiceException, Throwable { throw new UnsupportedOperationException(); }
Example #5
Source File: HTableMultiCluster.java From HBase.MCC with Apache License 2.0 | 4 votes |
public <T extends Service, R> Map<byte[], R> coprocessorService( Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable) throws ServiceException, Throwable { // TODO Auto-generated method stub return null; }
Example #6
Source File: HTableMultiCluster.java From HBase.MCC with Apache License 2.0 | 4 votes |
public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey,Call<T, R> callable, Callback<R> callback) throws ServiceException, Throwable { // TODO Auto-generated method stub }
Example #7
Source File: MockHTable.java From foxtrot with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable) throws ServiceException, Throwable { return null; }
Example #8
Source File: MockHTable.java From foxtrot with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable, Callback<R> callback) throws ServiceException, Throwable { }
Example #9
Source File: OmidTransactionTable.java From phoenix with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> Map<byte[], R> coprocessorService( Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable) throws ServiceException, Throwable { throw new UnsupportedOperationException(); }
Example #10
Source File: OmidTransactionTable.java From phoenix with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable, Callback<R> callback) throws ServiceException, Throwable { throw new UnsupportedOperationException(); }
Example #11
Source File: DelegateHTable.java From phoenix with Apache License 2.0 | 4 votes |
@Override public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, Call<T, R> callable) throws ServiceException, Throwable { return delegate.coprocessorService(service, startKey, endKey, callable); }