public static class MasterClientService.Client extends Object implements org.apache.thrift.TServiceClient, MasterClientService.Iface
Modifier and Type | Class and Description |
---|---|
static class |
MasterClientService.Client.Factory |
Modifier and Type | Field and Description |
---|---|
protected org.apache.thrift.protocol.TProtocol |
iprot_ |
protected org.apache.thrift.protocol.TProtocol |
oprot_ |
protected int |
seqid_ |
Constructor and Description |
---|
MasterClientService.Client(org.apache.thrift.protocol.TProtocol prot) |
MasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
Modifier and Type | Method and Description |
---|---|
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) |
protected org.apache.thrift.protocol.TProtocol iprot_
protected org.apache.thrift.protocol.TProtocol oprot_
protected int seqid_
public MasterClientService.Client(org.apache.thrift.protocol.TProtocol prot)
public MasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public org.apache.thrift.protocol.TProtocol getInputProtocol()
getInputProtocol
in interface org.apache.thrift.TServiceClient
public org.apache.thrift.protocol.TProtocol getOutputProtocol()
getOutputProtocol
in interface org.apache.thrift.TServiceClient
public long initiateFlush(TInfo tinfo, AuthInfo credentials, String tableName) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
initiateFlush
in interface MasterClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_initiateFlush(TInfo tinfo, AuthInfo credentials, String tableName) throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_initiateFlush() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void waitForFlush(TInfo tinfo, AuthInfo credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
waitForFlush
in interface MasterClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_waitForFlush(TInfo tinfo, AuthInfo credentials, String tableName, ByteBuffer startRow, ByteBuffer endRow, long flushID, long maxLoops) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_waitForFlush() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void setTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property, String value) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
setTableProperty
in interface MasterClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_setTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property, String value) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_setTableProperty() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void removeTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
removeTableProperty
in interface MasterClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_removeTableProperty(TInfo tinfo, AuthInfo credentials, String tableName, String property) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_removeTableProperty() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void setMasterGoalState(TInfo tinfo, AuthInfo credentials, MasterGoalState state) throws ThriftSecurityException, org.apache.thrift.TException
setMasterGoalState
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_setMasterGoalState(TInfo tinfo, AuthInfo credentials, MasterGoalState state) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_setMasterGoalState() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void shutdown(TInfo tinfo, AuthInfo credentials, boolean stopTabletServers) throws ThriftSecurityException, org.apache.thrift.TException
shutdown
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_shutdown(TInfo tinfo, AuthInfo credentials, boolean stopTabletServers) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_shutdown() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void shutdownTabletServer(TInfo tinfo, AuthInfo credentials, String tabletServer, boolean force) throws ThriftSecurityException, org.apache.thrift.TException
shutdownTabletServer
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_shutdownTabletServer(TInfo tinfo, AuthInfo credentials, String tabletServer, boolean force) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_shutdownTabletServer() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void setSystemProperty(TInfo tinfo, AuthInfo credentials, String property, String value) throws ThriftSecurityException, org.apache.thrift.TException
setSystemProperty
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_setSystemProperty(TInfo tinfo, AuthInfo credentials, String property, String value) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_setSystemProperty() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void removeSystemProperty(TInfo tinfo, AuthInfo credentials, String property) throws ThriftSecurityException, org.apache.thrift.TException
removeSystemProperty
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_removeSystemProperty(TInfo tinfo, AuthInfo credentials, String property) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_removeSystemProperty() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public MasterMonitorInfo getMasterStats(TInfo tinfo, AuthInfo credentials) throws ThriftSecurityException, org.apache.thrift.TException
getMasterStats
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_getMasterStats(TInfo tinfo, AuthInfo credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public MasterMonitorInfo recv_getMasterStats() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void reportSplitExtent(TInfo tinfo, AuthInfo credentials, String serverName, TabletSplit split) throws org.apache.thrift.TException
reportSplitExtent
in interface MasterClientService.Iface
org.apache.thrift.TException
public void send_reportSplitExtent(TInfo tinfo, AuthInfo credentials, String serverName, TabletSplit split) throws org.apache.thrift.TException
org.apache.thrift.TException
public void reportTabletStatus(TInfo tinfo, AuthInfo credentials, String serverName, TabletLoadState status, TKeyExtent tablet) throws org.apache.thrift.TException
reportTabletStatus
in interface MasterClientService.Iface
org.apache.thrift.TException
public void send_reportTabletStatus(TInfo tinfo, AuthInfo credentials, String serverName, TabletLoadState status, TKeyExtent tablet) throws org.apache.thrift.TException
org.apache.thrift.TException
public long beginTableOperation(TInfo tinfo, AuthInfo credentials) throws ThriftSecurityException, org.apache.thrift.TException
beginTableOperation
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_beginTableOperation(TInfo tinfo, AuthInfo credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_beginTableOperation() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
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
executeTableOperation
in interface MasterClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
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
org.apache.thrift.TException
public void recv_executeTableOperation() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public String waitForTableOperation(TInfo tinfo, AuthInfo credentials, long opid) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
waitForTableOperation
in interface MasterClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_waitForTableOperation(TInfo tinfo, AuthInfo credentials, long opid) throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_waitForTableOperation() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void finishTableOperation(TInfo tinfo, AuthInfo credentials, long opid) throws ThriftSecurityException, org.apache.thrift.TException
finishTableOperation
in interface MasterClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_finishTableOperation(TInfo tinfo, AuthInfo credentials, long opid) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_finishTableOperation() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.