/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.doris.thrift;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2020-09-12")
public class TPaloBrokerService {
public interface Iface {
public TBrokerListResponse listPath(TBrokerListPathRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus deletePath(TBrokerDeletePathRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus renamePath(TBrokerRenamePathRequest request) throws org.apache.thrift.TException;
public TBrokerCheckPathExistResponse checkPathExist(TBrokerCheckPathExistRequest request) throws org.apache.thrift.TException;
public TBrokerOpenReaderResponse openReader(TBrokerOpenReaderRequest request) throws org.apache.thrift.TException;
public TBrokerReadResponse pread(TBrokerPReadRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus seek(TBrokerSeekRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus closeReader(TBrokerCloseReaderRequest request) throws org.apache.thrift.TException;
public TBrokerOpenWriterResponse openWriter(TBrokerOpenWriterRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus pwrite(TBrokerPWriteRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus closeWriter(TBrokerCloseWriterRequest request) throws org.apache.thrift.TException;
public TBrokerOperationStatus ping(TBrokerPingBrokerRequest request) throws org.apache.thrift.TException;
}
public interface AsyncIface {
public void listPath(TBrokerListPathRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deletePath(TBrokerDeletePathRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void renamePath(TBrokerRenamePathRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void checkPathExist(TBrokerCheckPathExistRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void openReader(TBrokerOpenReaderRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void pread(TBrokerPReadRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void seek(TBrokerSeekRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeReader(TBrokerCloseReaderRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void openWriter(TBrokerOpenWriterRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void pwrite(TBrokerPWriteRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeWriter(TBrokerCloseWriterRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void ping(TBrokerPingBrokerRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
}
public static class Client extends org.apache.thrift.TServiceClient implements Iface {
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
public Factory() {}
public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
return new Client(prot);
}
public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
return new Client(iprot, oprot);
}
}
public Client(org.apache.thrift.protocol.TProtocol prot)
{
super(prot, prot);
}
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
super(iprot, oprot);
}
public TBrokerListResponse listPath(TBrokerListPathRequest request) throws org.apache.thrift.TException
{
send_listPath(request);
return recv_listPath();
}
public void send_listPath(TBrokerListPathRequest request) throws org.apache.thrift.TException
{
listPath_args args = new listPath_args();
args.setRequest(request);
sendBase("listPath", args);
}
public TBrokerListResponse recv_listPath() throws org.apache.thrift.TException
{
listPath_result result = new listPath_result();
receiveBase(result, "listPath");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listPath failed: unknown result");
}
public TBrokerOperationStatus deletePath(TBrokerDeletePathRequest request) throws org.apache.thrift.TException
{
send_deletePath(request);
return recv_deletePath();
}
public void send_deletePath(TBrokerDeletePathRequest request) throws org.apache.thrift.TException
{
deletePath_args args = new deletePath_args();
args.setRequest(request);
sendBase("deletePath", args);
}
public TBrokerOperationStatus recv_deletePath() throws org.apache.thrift.TException
{
deletePath_result result = new deletePath_result();
receiveBase(result, "deletePath");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deletePath failed: unknown result");
}
public TBrokerOperationStatus renamePath(TBrokerRenamePathRequest request) throws org.apache.thrift.TException
{
send_renamePath(request);
return recv_renamePath();
}
public void send_renamePath(TBrokerRenamePathRequest request) throws org.apache.thrift.TException
{
renamePath_args args = new renamePath_args();
args.setRequest(request);
sendBase("renamePath", args);
}
public TBrokerOperationStatus recv_renamePath() throws org.apache.thrift.TException
{
renamePath_result result = new renamePath_result();
receiveBase(result, "renamePath");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "renamePath failed: unknown result");
}
public TBrokerCheckPathExistResponse checkPathExist(TBrokerCheckPathExistRequest request) throws org.apache.thrift.TException
{
send_checkPathExist(request);
return recv
评论0