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, AuthInfo credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime)
           
 void chop(TInfo tinfo, AuthInfo credentials, String lock, TKeyExtent extent)
           
 void closeMultiScan(TInfo tinfo, long scanID)
           
 void closeScan(TInfo tinfo, long scanID)
           
 UpdateErrors closeUpdate(TInfo tinfo, long updateID)
           
 void compact(TInfo tinfo, AuthInfo credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
           
 MultiScanResult continueMultiScan(TInfo tinfo, long scanID)
           
 ScanResult continueScan(TInfo tinfo, long scanID)
           
 void fastHalt(TInfo tinfo, AuthInfo credentials, String lock)
           
 void flush(TInfo tinfo, AuthInfo credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow)
           
 void flushTablet(TInfo tinfo, AuthInfo credentials, String lock, TKeyExtent extent)
           
 List<ActiveScan> getActiveScans(TInfo tinfo, AuthInfo credentials)
           
 TabletStats getHistoricalStats(TInfo tinfo, AuthInfo credentials)
           
 TabletServerStatus getTabletServerStatus(TInfo tinfo, AuthInfo credentials)
           
 List<TabletStats> getTabletStats(TInfo tinfo, AuthInfo credentials, String tableId)
           
 void halt(TInfo tinfo, AuthInfo credentials, String lock)
           
 void loadTablet(TInfo tinfo, AuthInfo credentials, String lock, TKeyExtent extent)
           
 void splitTablet(TInfo tinfo, AuthInfo credentials, TKeyExtent extent, ByteBuffer splitPoint)
           
 InitialMultiScan startMultiScan(TInfo tinfo, AuthInfo 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, AuthInfo 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 startUpdate(TInfo tinfo, AuthInfo credentials)
           
 void unloadTablet(TInfo tinfo, AuthInfo credentials, String lock, TKeyExtent extent, boolean save)
           
 void update(TInfo tinfo, AuthInfo credentials, TKeyExtent keyExtent, TMutation mutation)
           
 void useLoggers(TInfo tinfo, AuthInfo credentials, Set<String> loggers)
           
 
Methods inherited from interface org.apache.accumulo.core.client.impl.thrift.ClientService.Iface
authenticateUser, bulkImportFiles, changeAuthorizations, changePassword, checkClass, createUser, dropUser, getConfiguration, getInstanceId, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantSystemPermission, grantTablePermission, hasSystemPermission, hasTablePermission, isActive, listUsers, ping, revokeSystemPermission, revokeTablePermission
 

Method Detail

startScan

InitialScan startScan(TInfo tinfo,
                      AuthInfo 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)
                      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,
                                AuthInfo 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,
                 AuthInfo 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,
            AuthInfo credentials,
            TKeyExtent keyExtent,
            TMutation mutation)
            throws ThriftSecurityException,
                   NotServingTabletException,
                   ConstraintViolationException,
                   org.apache.thrift.TException
Throws:
ThriftSecurityException
NotServingTabletException
ConstraintViolationException
org.apache.thrift.TException

bulkImport

List<TKeyExtent> bulkImport(TInfo tinfo,
                            AuthInfo 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,
                 AuthInfo credentials,
                 TKeyExtent extent,
                 ByteBuffer splitPoint)
                 throws ThriftSecurityException,
                        NotServingTabletException,
                        org.apache.thrift.TException
Throws:
ThriftSecurityException
NotServingTabletException
org.apache.thrift.TException

loadTablet

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

unloadTablet

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

flush

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

flushTablet

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

chop

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

compact

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

useLoggers

void useLoggers(TInfo tinfo,
                AuthInfo credentials,
                Set<String> loggers)
                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getTabletServerStatus

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

getTabletStats

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

getHistoricalStats

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

halt

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

fastHalt

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

getActiveScans

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.