org.apache.accumulo.core.master.thrift
Interface MasterClientService.Iface

All Known Implementing Classes:
MasterClientService.Client
Enclosing class:
MasterClientService

public static interface MasterClientService.Iface


Method Summary
 long beginTableOperation(TInfo tinfo, AuthInfo credentials)
           
 void executeTableOperation(TInfo tinfo, AuthInfo credentials, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean)
           
 void finishTableOperation(TInfo tinfo, AuthInfo credentials, long opid)
           
 MasterMonitorInfo getMasterStats(TInfo tinfo, AuthInfo credentials)
           
 long initiateFlush(TInfo tinfo, AuthInfo credentials, String tableName)
           
 void removeSystemProperty(TInfo tinfo, AuthInfo credentials, String property)
           
 void removeTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property)
           
 void reportSplitExtent(TInfo tinfo, AuthInfo credentials, String serverName, TabletSplit split)
           
 void reportTabletStatus(TInfo tinfo, AuthInfo credentials, String serverName, TabletLoadState status, TKeyExtent tablet)
           
 void setMasterGoalState(TInfo tinfo, AuthInfo credentials, MasterGoalState state)
           
 void setSystemProperty(TInfo tinfo, AuthInfo credentials, String property, String value)
           
 void setTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property, String value)
           
 void shutdown(TInfo tinfo, AuthInfo credentials, boolean stopTabletServers)
           
 void shutdownTabletServer(TInfo tinfo, AuthInfo credentials, String tabletServer, boolean force)
           
 void waitForFlush(TInfo tinfo, AuthInfo credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops)
           
 String waitForTableOperation(TInfo tinfo, AuthInfo credentials, long opid)
           
 

Method Detail

initiateFlush

long initiateFlush(TInfo tinfo,
                   AuthInfo credentials,
                   String tableName)
                   throws ThriftSecurityException,
                          ThriftTableOperationException,
                          org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForFlush

void waitForFlush(TInfo tinfo,
                  AuthInfo credentials,
                  String tableName,
                  ByteBuffer startRow,
                  ByteBuffer endRow,
                  long flushID,
                  long maxLoops)
                  throws ThriftSecurityException,
                         ThriftTableOperationException,
                         org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setTableProperty

void setTableProperty(TInfo tinfo,
                      AuthInfo credentials,
                      String tableName,
                      String property,
                      String value)
                      throws ThriftSecurityException,
                             ThriftTableOperationException,
                             org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

removeTableProperty

void removeTableProperty(TInfo tinfo,
                         AuthInfo credentials,
                         String tableName,
                         String property)
                         throws ThriftSecurityException,
                                ThriftTableOperationException,
                                org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setMasterGoalState

void setMasterGoalState(TInfo tinfo,
                        AuthInfo credentials,
                        MasterGoalState state)
                        throws ThriftSecurityException,
                               org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

shutdown

void shutdown(TInfo tinfo,
              AuthInfo credentials,
              boolean stopTabletServers)
              throws ThriftSecurityException,
                     org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

shutdownTabletServer

void shutdownTabletServer(TInfo tinfo,
                          AuthInfo credentials,
                          String tabletServer,
                          boolean force)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

setSystemProperty

void setSystemProperty(TInfo tinfo,
                       AuthInfo credentials,
                       String property,
                       String value)
                       throws ThriftSecurityException,
                              org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

removeSystemProperty

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

getMasterStats

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

reportSplitExtent

void reportSplitExtent(TInfo tinfo,
                       AuthInfo credentials,
                       String serverName,
                       TabletSplit split)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

reportTabletStatus

void reportTabletStatus(TInfo tinfo,
                        AuthInfo credentials,
                        String serverName,
                        TabletLoadState status,
                        TKeyExtent tablet)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

beginTableOperation

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

executeTableOperation

void executeTableOperation(TInfo tinfo,
                           AuthInfo credentials,
                           long opid,
                           TableOperation op,
                           List<ByteBuffer> arguments,
                           Map<String,String> options,
                           boolean autoClean)
                           throws ThriftSecurityException,
                                  ThriftTableOperationException,
                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForTableOperation

String waitForTableOperation(TInfo tinfo,
                             AuthInfo credentials,
                             long opid)
                             throws ThriftSecurityException,
                                    ThriftTableOperationException,
                                    org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

finishTableOperation

void finishTableOperation(TInfo tinfo,
                          AuthInfo credentials,
                          long opid)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException


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