org.apache.accumulo.core.master.thrift
Class MasterClientService.Client

java.lang.Object
  extended by org.apache.accumulo.core.master.thrift.MasterClientService.Client
All Implemented Interfaces:
MasterClientService.Iface, org.apache.thrift.TServiceClient
Enclosing class:
MasterClientService

public static class MasterClientService.Client
extends Object
implements org.apache.thrift.TServiceClient, MasterClientService.Iface


Nested Class Summary
static class MasterClientService.Client.Factory
           
 
Field Summary
protected  org.apache.thrift.protocol.TProtocol iprot_
           
protected  org.apache.thrift.protocol.TProtocol oprot_
           
protected  int seqid_
           
 
Constructor Summary
MasterClientService.Client(org.apache.thrift.protocol.TProtocol prot)
           
MasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
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)
           
 org.apache.thrift.protocol.TProtocol getInputProtocol()
           
 MasterMonitorInfo getMasterStats(TInfo tinfo, AuthInfo credentials)
           
 org.apache.thrift.protocol.TProtocol getOutputProtocol()
           
 long initiateFlush(TInfo tinfo, AuthInfo credentials, String tableName)
           
 long recv_beginTableOperation()
           
 void recv_executeTableOperation()
           
 void recv_finishTableOperation()
           
 MasterMonitorInfo recv_getMasterStats()
           
 long recv_initiateFlush()
           
 void recv_removeSystemProperty()
           
 void recv_removeTableProperty()
           
 void recv_setMasterGoalState()
           
 void recv_setSystemProperty()
           
 void recv_setTableProperty()
           
 void recv_shutdown()
           
 void recv_shutdownTabletServer()
           
 void recv_waitForFlush()
           
 String recv_waitForTableOperation()
           
 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 send_beginTableOperation(TInfo tinfo, AuthInfo credentials)
           
 void send_executeTableOperation(TInfo tinfo, AuthInfo credentials, long opid, TableOperation op, List<ByteBuffer> arguments, Map<String,String> options, boolean autoClean)
           
 void send_finishTableOperation(TInfo tinfo, AuthInfo credentials, long opid)
           
 void send_getMasterStats(TInfo tinfo, AuthInfo credentials)
           
 void send_initiateFlush(TInfo tinfo, AuthInfo credentials, String tableName)
           
 void send_removeSystemProperty(TInfo tinfo, AuthInfo credentials, String property)
           
 void send_removeTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property)
           
 void send_reportSplitExtent(TInfo tinfo, AuthInfo credentials, String serverName, TabletSplit split)
           
 void send_reportTabletStatus(TInfo tinfo, AuthInfo credentials, String serverName, TabletLoadState status, TKeyExtent tablet)
           
 void send_setMasterGoalState(TInfo tinfo, AuthInfo credentials, MasterGoalState state)
           
 void send_setSystemProperty(TInfo tinfo, AuthInfo credentials, String property, String value)
           
 void send_setTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property, String value)
           
 void send_shutdown(TInfo tinfo, AuthInfo credentials, boolean stopTabletServers)
           
 void send_shutdownTabletServer(TInfo tinfo, AuthInfo credentials, String tabletServer, boolean force)
           
 void send_waitForFlush(TInfo tinfo, AuthInfo credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops)
           
 void send_waitForTableOperation(TInfo tinfo, AuthInfo credentials, long opid)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iprot_

protected org.apache.thrift.protocol.TProtocol iprot_

oprot_

protected org.apache.thrift.protocol.TProtocol oprot_

seqid_

protected int seqid_
Constructor Detail

MasterClientService.Client

public MasterClientService.Client(org.apache.thrift.protocol.TProtocol prot)

MasterClientService.Client

public MasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
                                  org.apache.thrift.protocol.TProtocol oprot)
Method Detail

getInputProtocol

public org.apache.thrift.protocol.TProtocol getInputProtocol()
Specified by:
getInputProtocol in interface org.apache.thrift.TServiceClient

getOutputProtocol

public org.apache.thrift.protocol.TProtocol getOutputProtocol()
Specified by:
getOutputProtocol in interface org.apache.thrift.TServiceClient

initiateFlush

public long initiateFlush(TInfo tinfo,
                          AuthInfo credentials,
                          String tableName)
                   throws ThriftSecurityException,
                          ThriftTableOperationException,
                          org.apache.thrift.TException
Specified by:
initiateFlush in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_initiateFlush

public void send_initiateFlush(TInfo tinfo,
                               AuthInfo credentials,
                               String tableName)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_initiateFlush

public long recv_initiateFlush()
                        throws ThriftSecurityException,
                               ThriftTableOperationException,
                               org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForFlush

public void waitForFlush(TInfo tinfo,
                         AuthInfo credentials,
                         String tableName,
                         ByteBuffer startRow,
                         ByteBuffer endRow,
                         long flushID,
                         long maxLoops)
                  throws ThriftSecurityException,
                         ThriftTableOperationException,
                         org.apache.thrift.TException
Specified by:
waitForFlush in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_waitForFlush

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

recv_waitForFlush

public void recv_waitForFlush()
                       throws ThriftSecurityException,
                              ThriftTableOperationException,
                              org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setTableProperty

public void setTableProperty(TInfo tinfo,
                             AuthInfo credentials,
                             String tableName,
                             String property,
                             String value)
                      throws ThriftSecurityException,
                             ThriftTableOperationException,
                             org.apache.thrift.TException
Specified by:
setTableProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_setTableProperty

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

recv_setTableProperty

public void recv_setTableProperty()
                           throws ThriftSecurityException,
                                  ThriftTableOperationException,
                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

removeTableProperty

public void removeTableProperty(TInfo tinfo,
                                AuthInfo credentials,
                                String tableName,
                                String property)
                         throws ThriftSecurityException,
                                ThriftTableOperationException,
                                org.apache.thrift.TException
Specified by:
removeTableProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_removeTableProperty

public void send_removeTableProperty(TInfo tinfo,
                                     AuthInfo credentials,
                                     String tableName,
                                     String property)
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_removeTableProperty

public void recv_removeTableProperty()
                              throws ThriftSecurityException,
                                     ThriftTableOperationException,
                                     org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

setMasterGoalState

public void setMasterGoalState(TInfo tinfo,
                               AuthInfo credentials,
                               MasterGoalState state)
                        throws ThriftSecurityException,
                               org.apache.thrift.TException
Specified by:
setMasterGoalState in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_setMasterGoalState

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

recv_setMasterGoalState

public void recv_setMasterGoalState()
                             throws ThriftSecurityException,
                                    org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

shutdown

public void shutdown(TInfo tinfo,
                     AuthInfo credentials,
                     boolean stopTabletServers)
              throws ThriftSecurityException,
                     org.apache.thrift.TException
Specified by:
shutdown in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_shutdown

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

recv_shutdown

public void recv_shutdown()
                   throws ThriftSecurityException,
                          org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

shutdownTabletServer

public void shutdownTabletServer(TInfo tinfo,
                                 AuthInfo credentials,
                                 String tabletServer,
                                 boolean force)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Specified by:
shutdownTabletServer in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_shutdownTabletServer

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

recv_shutdownTabletServer

public void recv_shutdownTabletServer()
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

setSystemProperty

public void setSystemProperty(TInfo tinfo,
                              AuthInfo credentials,
                              String property,
                              String value)
                       throws ThriftSecurityException,
                              org.apache.thrift.TException
Specified by:
setSystemProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_setSystemProperty

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

recv_setSystemProperty

public void recv_setSystemProperty()
                            throws ThriftSecurityException,
                                   org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

removeSystemProperty

public void removeSystemProperty(TInfo tinfo,
                                 AuthInfo credentials,
                                 String property)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Specified by:
removeSystemProperty in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_removeSystemProperty

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

recv_removeSystemProperty

public void recv_removeSystemProperty()
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getMasterStats

public MasterMonitorInfo getMasterStats(TInfo tinfo,
                                        AuthInfo credentials)
                                 throws ThriftSecurityException,
                                        org.apache.thrift.TException
Specified by:
getMasterStats in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_getMasterStats

public void send_getMasterStats(TInfo tinfo,
                                AuthInfo credentials)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getMasterStats

public MasterMonitorInfo recv_getMasterStats()
                                      throws ThriftSecurityException,
                                             org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

reportSplitExtent

public void reportSplitExtent(TInfo tinfo,
                              AuthInfo credentials,
                              String serverName,
                              TabletSplit split)
                       throws org.apache.thrift.TException
Specified by:
reportSplitExtent in interface MasterClientService.Iface
Throws:
org.apache.thrift.TException

send_reportSplitExtent

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

reportTabletStatus

public void reportTabletStatus(TInfo tinfo,
                               AuthInfo credentials,
                               String serverName,
                               TabletLoadState status,
                               TKeyExtent tablet)
                        throws org.apache.thrift.TException
Specified by:
reportTabletStatus in interface MasterClientService.Iface
Throws:
org.apache.thrift.TException

send_reportTabletStatus

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

beginTableOperation

public long beginTableOperation(TInfo tinfo,
                                AuthInfo credentials)
                         throws ThriftSecurityException,
                                org.apache.thrift.TException
Specified by:
beginTableOperation in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_beginTableOperation

public void send_beginTableOperation(TInfo tinfo,
                                     AuthInfo credentials)
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_beginTableOperation

public long recv_beginTableOperation()
                              throws ThriftSecurityException,
                                     org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

executeTableOperation

public 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
Specified by:
executeTableOperation in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_executeTableOperation

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

recv_executeTableOperation

public void recv_executeTableOperation()
                                throws ThriftSecurityException,
                                       ThriftTableOperationException,
                                       org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

waitForTableOperation

public String waitForTableOperation(TInfo tinfo,
                                    AuthInfo credentials,
                                    long opid)
                             throws ThriftSecurityException,
                                    ThriftTableOperationException,
                                    org.apache.thrift.TException
Specified by:
waitForTableOperation in interface MasterClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_waitForTableOperation

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

recv_waitForTableOperation

public String recv_waitForTableOperation()
                                  throws ThriftSecurityException,
                                         ThriftTableOperationException,
                                         org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

finishTableOperation

public void finishTableOperation(TInfo tinfo,
                                 AuthInfo credentials,
                                 long opid)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Specified by:
finishTableOperation in interface MasterClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_finishTableOperation

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

recv_finishTableOperation

public void recv_finishTableOperation()
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException


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