org.apache.accumulo.core.tabletserver.thrift
Interface TabletClientService.Iface

All Superinterfaces:
ClientService.Iface
All Known Implementing Classes:
TabletClientService.Client
Enclosing class:
TabletClientService

public static interface TabletClientService.Iface
extends ClientService.Iface


Method Summary
 void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations)
           
 List<TKeyExtent> bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime)
           
 void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)
           
 void closeConditionalUpdate(TInfo tinfo, long sessID)
           
 void closeMultiScan(TInfo tinfo, long scanID)
           
 void closeScan(TInfo tinfo, long scanID)
           
 UpdateErrors closeUpdate(TInfo tinfo, long updateID)
           
 void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
           
 List<TCMResult> conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols)
           
 MultiScanResult continueMultiScan(TInfo tinfo, long scanID)
           
 ScanResult continueScan(TInfo tinfo, long scanID)
           
 void fastHalt(TInfo tinfo, TCredentials credentials, String lock)
           
 void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
           
 void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)
           
 List<ActiveCompaction> getActiveCompactions(TInfo tinfo, TCredentials credentials)
           
 List<ActiveScan> getActiveScans(TInfo tinfo, TCredentials credentials)
           
 TabletStats getHistoricalStats(TInfo tinfo, TCredentials credentials)
           
 TabletServerStatus getTabletServerStatus(TInfo tinfo, TCredentials credentials)
           
 List<TabletStats> getTabletStats(TInfo tinfo, TCredentials credentials, String tableId)
           
 void halt(TInfo tinfo, TCredentials credentials, String lock)
           
 void invalidateConditionalUpdate(TInfo tinfo, long sessID)
           
 void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent)
           
 void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames)
           
 void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint)
           
 TConditionalSession startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID)
           
 InitialMultiScan startMultiScan(TInfo tinfo, TCredentials credentials, Map<TKeyExtent,List<TRange>> batch, List<TColumn> columns, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites)
           
 InitialScan startScan(TInfo tinfo, TCredentials credentials, TKeyExtent extent, TRange range, List<TColumn> columns, int batchSize, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, long readaheadThreshold)
           
 long startUpdate(TInfo tinfo, TCredentials credentials)
           
 void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, boolean save)
           
 void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation)
           
 
Methods inherited from interface org.apache.accumulo.core.client.impl.thrift.ClientService.Iface
authenticate, authenticateUser, bulkImportFiles, changeAuthorizations, changeLocalUserPassword, checkClass, checkNamespaceClass, checkTableClass, createLocalUser, dropLocalUser, getConfiguration, getDiskUsage, getInstanceId, getNamespaceConfiguration, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantNamespacePermission, grantSystemPermission, grantTablePermission, hasNamespacePermission, hasSystemPermission, hasTablePermission, isActive, listLocalUsers, ping, revokeNamespacePermission, revokeSystemPermission, revokeTablePermission
 

Method Detail

startScan

InitialScan startScan(TInfo tinfo,
                      TCredentials credentials,
                      TKeyExtent extent,
                      TRange range,
                      List<TColumn> columns,
                      int batchSize,
                      List<IterInfo> ssiList,
                      Map<String,Map<String,String>> ssio,
                      List<ByteBuffer> authorizations,
                      boolean waitForWrites,
                      boolean isolated,
                      long readaheadThreshold)
                      throws ThriftSecurityException,
                             NotServingTabletException,
                             TooManyFilesException,
                             org.apache.thrift.TException
Throws:
ThriftSecurityException
NotServingTabletException
TooManyFilesException
org.apache.thrift.TException

continueScan

ScanResult continueScan(TInfo tinfo,
                        long scanID)
                        throws NoSuchScanIDException,
                               NotServingTabletException,
                               TooManyFilesException,
                               org.apache.thrift.TException
Throws:
NoSuchScanIDException
NotServingTabletException
TooManyFilesException
org.apache.thrift.TException

closeScan

void closeScan(TInfo tinfo,
               long scanID)
               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

startMultiScan

InitialMultiScan startMultiScan(TInfo tinfo,
                                TCredentials credentials,
                                Map<TKeyExtent,List<TRange>> batch,
                                List<TColumn> columns,
                                List<IterInfo> ssiList,
                                Map<String,Map<String,String>> ssio,
                                List<ByteBuffer> authorizations,
                                boolean waitForWrites)
                                throws ThriftSecurityException,
                                       org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

continueMultiScan

MultiScanResult continueMultiScan(TInfo tinfo,
                                  long scanID)
                                  throws NoSuchScanIDException,
                                         org.apache.thrift.TException
Throws:
NoSuchScanIDException
org.apache.thrift.TException

closeMultiScan

void closeMultiScan(TInfo tinfo,
                    long scanID)
                    throws NoSuchScanIDException,
                           org.apache.thrift.TException
Throws:
NoSuchScanIDException
org.apache.thrift.TException

startUpdate

long startUpdate(TInfo tinfo,
                 TCredentials credentials)
                 throws ThriftSecurityException,
                        org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

applyUpdates

void applyUpdates(TInfo tinfo,
                  long updateID,
                  TKeyExtent keyExtent,
                  List<TMutation> mutations)
                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

closeUpdate

UpdateErrors closeUpdate(TInfo tinfo,
                         long updateID)
                         throws NoSuchScanIDException,
                                org.apache.thrift.TException
Throws:
NoSuchScanIDException
org.apache.thrift.TException

update

void update(TInfo tinfo,
            TCredentials credentials,
            TKeyExtent keyExtent,
            TMutation mutation)
            throws ThriftSecurityException,
                   NotServingTabletException,
                   ConstraintViolationException,
                   org.apache.thrift.TException
Throws:
ThriftSecurityException
NotServingTabletException
ConstraintViolationException
org.apache.thrift.TException

startConditionalUpdate

TConditionalSession startConditionalUpdate(TInfo tinfo,
                                           TCredentials credentials,
                                           List<ByteBuffer> authorizations,
                                           String tableID)
                                           throws ThriftSecurityException,
                                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

conditionalUpdate

List<TCMResult> conditionalUpdate(TInfo tinfo,
                                  long sessID,
                                  Map<TKeyExtent,List<TConditionalMutation>> mutations,
                                  List<String> symbols)
                                  throws NoSuchScanIDException,
                                         org.apache.thrift.TException
Throws:
NoSuchScanIDException
org.apache.thrift.TException

invalidateConditionalUpdate

void invalidateConditionalUpdate(TInfo tinfo,
                                 long sessID)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

closeConditionalUpdate

void closeConditionalUpdate(TInfo tinfo,
                            long sessID)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

bulkImport

List<TKeyExtent> bulkImport(TInfo tinfo,
                            TCredentials credentials,
                            long tid,
                            Map<TKeyExtent,Map<String,MapFileInfo>> files,
                            boolean setTime)
                            throws ThriftSecurityException,
                                   org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

splitTablet

void splitTablet(TInfo tinfo,
                 TCredentials credentials,
                 TKeyExtent extent,
                 ByteBuffer splitPoint)
                 throws ThriftSecurityException,
                        NotServingTabletException,
                        org.apache.thrift.TException
Throws:
ThriftSecurityException
NotServingTabletException
org.apache.thrift.TException

loadTablet

void loadTablet(TInfo tinfo,
                TCredentials credentials,
                String lock,
                TKeyExtent extent)
                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

unloadTablet

void unloadTablet(TInfo tinfo,
                  TCredentials credentials,
                  String lock,
                  TKeyExtent extent,
                  boolean save)
                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

flush

void flush(TInfo tinfo,
           TCredentials credentials,
           String lock,
           String tableId,
           ByteBuffer startRow,
           ByteBuffer endRow)
           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

flushTablet

void flushTablet(TInfo tinfo,
                 TCredentials credentials,
                 String lock,
                 TKeyExtent extent)
                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

chop

void chop(TInfo tinfo,
          TCredentials credentials,
          String lock,
          TKeyExtent extent)
          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

compact

void compact(TInfo tinfo,
             TCredentials credentials,
             String lock,
             String tableId,
             ByteBuffer startRow,
             ByteBuffer endRow)
             throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getTabletServerStatus

TabletServerStatus getTabletServerStatus(TInfo tinfo,
                                         TCredentials credentials)
                                         throws ThriftSecurityException,
                                                org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getTabletStats

List<TabletStats> getTabletStats(TInfo tinfo,
                                 TCredentials credentials,
                                 String tableId)
                                 throws ThriftSecurityException,
                                        org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getHistoricalStats

TabletStats getHistoricalStats(TInfo tinfo,
                               TCredentials credentials)
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

halt

void halt(TInfo tinfo,
          TCredentials credentials,
          String lock)
          throws ThriftSecurityException,
                 org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

fastHalt

void fastHalt(TInfo tinfo,
              TCredentials credentials,
              String lock)
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getActiveScans

List<ActiveScan> getActiveScans(TInfo tinfo,
                                TCredentials credentials)
                                throws ThriftSecurityException,
                                       org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getActiveCompactions

List<ActiveCompaction> getActiveCompactions(TInfo tinfo,
                                            TCredentials credentials)
                                            throws ThriftSecurityException,
                                                   org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

removeLogs

void removeLogs(TInfo tinfo,
                TCredentials credentials,
                List<String> filenames)
                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2015 Apache Accumulo Project. All rights reserved.