You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ng...@apache.org on 2017/05/12 17:27:48 UTC
[2/3] hive git commit: HIVE-16555 Add a new thrift API call for
get_metastore_uuid (Vihang Karajgaonkar, reviewed by Naveen Gangam,
Sahil Takiar and Alan Gates)
http://git-wip-us.apache.org/repos/asf/hive/blob/c9cfb601/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
index 1915150..19c88cb 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
@@ -350,6 +350,8 @@ public class ThriftHiveMetastore {
public CacheFileMetadataResult cache_file_metadata(CacheFileMetadataRequest req) throws org.apache.thrift.TException;
+ public String get_metastore_db_uuid() throws MetaException, org.apache.thrift.TException;
+
}
public interface AsyncIface extends com.facebook.fb303.FacebookService .AsyncIface {
@@ -662,6 +664,8 @@ public class ThriftHiveMetastore {
public void cache_file_metadata(CacheFileMetadataRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+ public void get_metastore_db_uuid(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+
}
public static class Client extends com.facebook.fb303.FacebookService.Client implements Iface {
@@ -5111,6 +5115,31 @@ public class ThriftHiveMetastore {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "cache_file_metadata failed: unknown result");
}
+ public String get_metastore_db_uuid() throws MetaException, org.apache.thrift.TException
+ {
+ send_get_metastore_db_uuid();
+ return recv_get_metastore_db_uuid();
+ }
+
+ public void send_get_metastore_db_uuid() throws org.apache.thrift.TException
+ {
+ get_metastore_db_uuid_args args = new get_metastore_db_uuid_args();
+ sendBase("get_metastore_db_uuid", args);
+ }
+
+ public String recv_get_metastore_db_uuid() throws MetaException, org.apache.thrift.TException
+ {
+ get_metastore_db_uuid_result result = new get_metastore_db_uuid_result();
+ receiveBase(result, "get_metastore_db_uuid");
+ if (result.isSetSuccess()) {
+ return result.success;
+ }
+ if (result.o1 != null) {
+ throw result.o1;
+ }
+ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_metastore_db_uuid failed: unknown result");
+ }
+
}
public static class AsyncClient extends com.facebook.fb303.FacebookService.AsyncClient implements AsyncIface {
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
@@ -10552,6 +10581,35 @@ public class ThriftHiveMetastore {
}
}
+ public void get_metastore_db_uuid(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+ checkReady();
+ get_metastore_db_uuid_call method_call = new get_metastore_db_uuid_call(resultHandler, this, ___protocolFactory, ___transport);
+ this.___currentMethod = method_call;
+ ___manager.call(method_call);
+ }
+
+ public static class get_metastore_db_uuid_call extends org.apache.thrift.async.TAsyncMethodCall {
+ public get_metastore_db_uuid_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
+ super(client, protocolFactory, transport, resultHandler, false);
+ }
+
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+ prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_metastore_db_uuid", org.apache.thrift.protocol.TMessageType.CALL, 0));
+ get_metastore_db_uuid_args args = new get_metastore_db_uuid_args();
+ args.write(prot);
+ prot.writeMessageEnd();
+ }
+
+ public String getResult() throws MetaException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
+ throw new IllegalStateException("Method call not finished!");
+ }
+ org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
+ org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
+ return (new Client(prot)).recv_get_metastore_db_uuid();
+ }
+ }
+
}
public static class Processor<I extends Iface> extends com.facebook.fb303.FacebookService.Processor<I> implements org.apache.thrift.TProcessor {
@@ -10719,6 +10777,7 @@ public class ThriftHiveMetastore {
processMap.put("put_file_metadata", new put_file_metadata());
processMap.put("clear_file_metadata", new clear_file_metadata());
processMap.put("cache_file_metadata", new cache_file_metadata());
+ processMap.put("get_metastore_db_uuid", new get_metastore_db_uuid());
return processMap;
}
@@ -14642,6 +14701,30 @@ public class ThriftHiveMetastore {
}
}
+ public static class get_metastore_db_uuid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_metastore_db_uuid_args> {
+ public get_metastore_db_uuid() {
+ super("get_metastore_db_uuid");
+ }
+
+ public get_metastore_db_uuid_args getEmptyArgsInstance() {
+ return new get_metastore_db_uuid_args();
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_metastore_db_uuid_result getResult(I iface, get_metastore_db_uuid_args args) throws org.apache.thrift.TException {
+ get_metastore_db_uuid_result result = new get_metastore_db_uuid_result();
+ try {
+ result.success = iface.get_metastore_db_uuid();
+ } catch (MetaException o1) {
+ result.o1 = o1;
+ }
+ return result;
+ }
+ }
+
}
public static class AsyncProcessor<I extends AsyncIface> extends com.facebook.fb303.FacebookService.AsyncProcessor<I> {
@@ -14809,6 +14892,7 @@ public class ThriftHiveMetastore {
processMap.put("put_file_metadata", new put_file_metadata());
processMap.put("clear_file_metadata", new clear_file_metadata());
processMap.put("cache_file_metadata", new cache_file_metadata());
+ processMap.put("get_metastore_db_uuid", new get_metastore_db_uuid());
return processMap;
}
@@ -24168,6 +24252,63 @@ public class ThriftHiveMetastore {
}
}
+ public static class get_metastore_db_uuid<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, get_metastore_db_uuid_args, String> {
+ public get_metastore_db_uuid() {
+ super("get_metastore_db_uuid");
+ }
+
+ public get_metastore_db_uuid_args getEmptyArgsInstance() {
+ return new get_metastore_db_uuid_args();
+ }
+
+ public AsyncMethodCallback<String> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new AsyncMethodCallback<String>() {
+ public void onComplete(String o) {
+ get_metastore_db_uuid_result result = new get_metastore_db_uuid_result();
+ result.success = o;
+ try {
+ fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ return;
+ } catch (Exception e) {
+ LOGGER.error("Exception writing to internal frame buffer", e);
+ }
+ fb.close();
+ }
+ public void onError(Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TBase msg;
+ get_metastore_db_uuid_result result = new get_metastore_db_uuid_result();
+ if (e instanceof MetaException) {
+ result.o1 = (MetaException) e;
+ result.setO1IsSet(true);
+ msg = result;
+ }
+ else
+ {
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ return;
+ } catch (Exception ex) {
+ LOGGER.error("Exception writing to internal frame buffer", ex);
+ }
+ fb.close();
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, get_metastore_db_uuid_args args, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws TException {
+ iface.get_metastore_db_uuid(resultHandler);
+ }
+ }
+
}
public static class getMetaConf_args implements org.apache.thrift.TBase<getMetaConf_args, getMetaConf_args._Fields>, java.io.Serializable, Cloneable, Comparable<getMetaConf_args> {
@@ -177693,15 +177834,741 @@ public class ThriftHiveMetastore {
}
}
- private static class get_file_metadata_by_expr_argsStandardSchemeFactory implements SchemeFactory {
- public get_file_metadata_by_expr_argsStandardScheme getScheme() {
- return new get_file_metadata_by_expr_argsStandardScheme();
+ private static class get_file_metadata_by_expr_argsStandardSchemeFactory implements SchemeFactory {
+ public get_file_metadata_by_expr_argsStandardScheme getScheme() {
+ return new get_file_metadata_by_expr_argsStandardScheme();
+ }
+ }
+
+ private static class get_file_metadata_by_expr_argsStandardScheme extends StandardScheme<get_file_metadata_by_expr_args> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TField schemeField;
+ iprot.readStructBegin();
+ while (true)
+ {
+ schemeField = iprot.readFieldBegin();
+ if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
+ break;
+ }
+ switch (schemeField.id) {
+ case 1: // REQ
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.req = new GetFileMetadataByExprRequest();
+ struct.req.read(iprot);
+ struct.setReqIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ default:
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ iprot.readFieldEnd();
+ }
+ iprot.readStructEnd();
+ struct.validate();
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.req != null) {
+ oprot.writeFieldBegin(REQ_FIELD_DESC);
+ struct.req.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class get_file_metadata_by_expr_argsTupleSchemeFactory implements SchemeFactory {
+ public get_file_metadata_by_expr_argsTupleScheme getScheme() {
+ return new get_file_metadata_by_expr_argsTupleScheme();
+ }
+ }
+
+ private static class get_file_metadata_by_expr_argsTupleScheme extends TupleScheme<get_file_metadata_by_expr_args> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ TTupleProtocol oprot = (TTupleProtocol) prot;
+ BitSet optionals = new BitSet();
+ if (struct.isSetReq()) {
+ optionals.set(0);
+ }
+ oprot.writeBitSet(optionals, 1);
+ if (struct.isSetReq()) {
+ struct.req.write(oprot);
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ TTupleProtocol iprot = (TTupleProtocol) prot;
+ BitSet incoming = iprot.readBitSet(1);
+ if (incoming.get(0)) {
+ struct.req = new GetFileMetadataByExprRequest();
+ struct.req.read(iprot);
+ struct.setReqIsSet(true);
+ }
+ }
+ }
+
+ }
+
+ public static class get_file_metadata_by_expr_result implements org.apache.thrift.TBase<get_file_metadata_by_expr_result, get_file_metadata_by_expr_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_file_metadata_by_expr_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_file_metadata_by_expr_result");
+
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
+
+ private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+ static {
+ schemes.put(StandardScheme.class, new get_file_metadata_by_expr_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_file_metadata_by_expr_resultTupleSchemeFactory());
+ }
+
+ private GetFileMetadataByExprResult success; // required
+
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ SUCCESS((short)0, "success");
+
+ private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 0: // SUCCESS
+ return SUCCESS;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
+ }
+
+ // isset id assignments
+ public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetFileMetadataByExprResult.class)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_file_metadata_by_expr_result.class, metaDataMap);
+ }
+
+ public get_file_metadata_by_expr_result() {
+ }
+
+ public get_file_metadata_by_expr_result(
+ GetFileMetadataByExprResult success)
+ {
+ this();
+ this.success = success;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public get_file_metadata_by_expr_result(get_file_metadata_by_expr_result other) {
+ if (other.isSetSuccess()) {
+ this.success = new GetFileMetadataByExprResult(other.success);
+ }
+ }
+
+ public get_file_metadata_by_expr_result deepCopy() {
+ return new get_file_metadata_by_expr_result(this);
+ }
+
+ @Override
+ public void clear() {
+ this.success = null;
+ }
+
+ public GetFileMetadataByExprResult getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(GetFileMetadataByExprResult success) {
+ this.success = success;
+ }
+
+ public void unsetSuccess() {
+ this.success = null;
+ }
+
+ /** Returns true if field success is set (has been assigned a value) and false otherwise */
+ public boolean isSetSuccess() {
+ return this.success != null;
+ }
+
+ public void setSuccessIsSet(boolean value) {
+ if (!value) {
+ this.success = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case SUCCESS:
+ if (value == null) {
+ unsetSuccess();
+ } else {
+ setSuccess((GetFileMetadataByExprResult)value);
+ }
+ break;
+
+ }
+ }
+
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case SUCCESS:
+ return getSuccess();
+
+ }
+ throw new IllegalStateException();
+ }
+
+ /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
+ case SUCCESS:
+ return isSetSuccess();
+ }
+ throw new IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof get_file_metadata_by_expr_result)
+ return this.equals((get_file_metadata_by_expr_result)that);
+ return false;
+ }
+
+ public boolean equals(get_file_metadata_by_expr_result that) {
+ if (that == null)
+ return false;
+
+ boolean this_present_success = true && this.isSetSuccess();
+ boolean that_present_success = true && that.isSetSuccess();
+ if (this_present_success || that_present_success) {
+ if (!(this_present_success && that_present_success))
+ return false;
+ if (!this.success.equals(that.success))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
+ return list.hashCode();
+ }
+
+ @Override
+ public int compareTo(get_file_metadata_by_expr_result other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetSuccess()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+ schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+ schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder("get_file_metadata_by_expr_result(");
+ boolean first = true;
+
+ sb.append("success:");
+ if (this.success == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.success);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ // check for sub-struct validity
+ if (success != null) {
+ success.validate();
+ }
+ }
+
+ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+ try {
+ write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+ try {
+ read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private static class get_file_metadata_by_expr_resultStandardSchemeFactory implements SchemeFactory {
+ public get_file_metadata_by_expr_resultStandardScheme getScheme() {
+ return new get_file_metadata_by_expr_resultStandardScheme();
+ }
+ }
+
+ private static class get_file_metadata_by_expr_resultStandardScheme extends StandardScheme<get_file_metadata_by_expr_result> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TField schemeField;
+ iprot.readStructBegin();
+ while (true)
+ {
+ schemeField = iprot.readFieldBegin();
+ if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
+ break;
+ }
+ switch (schemeField.id) {
+ case 0: // SUCCESS
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.success = new GetFileMetadataByExprResult();
+ struct.success.read(iprot);
+ struct.setSuccessIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ default:
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ iprot.readFieldEnd();
+ }
+ iprot.readStructEnd();
+ struct.validate();
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.success != null) {
+ oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
+ struct.success.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class get_file_metadata_by_expr_resultTupleSchemeFactory implements SchemeFactory {
+ public get_file_metadata_by_expr_resultTupleScheme getScheme() {
+ return new get_file_metadata_by_expr_resultTupleScheme();
+ }
+ }
+
+ private static class get_file_metadata_by_expr_resultTupleScheme extends TupleScheme<get_file_metadata_by_expr_result> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ TTupleProtocol oprot = (TTupleProtocol) prot;
+ BitSet optionals = new BitSet();
+ if (struct.isSetSuccess()) {
+ optionals.set(0);
+ }
+ oprot.writeBitSet(optionals, 1);
+ if (struct.isSetSuccess()) {
+ struct.success.write(oprot);
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ TTupleProtocol iprot = (TTupleProtocol) prot;
+ BitSet incoming = iprot.readBitSet(1);
+ if (incoming.get(0)) {
+ struct.success = new GetFileMetadataByExprResult();
+ struct.success.read(iprot);
+ struct.setSuccessIsSet(true);
+ }
+ }
+ }
+
+ }
+
+ public static class get_file_metadata_args implements org.apache.thrift.TBase<get_file_metadata_args, get_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_file_metadata_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_file_metadata_args");
+
+ private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+
+ private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+ static {
+ schemes.put(StandardScheme.class, new get_file_metadata_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_file_metadata_argsTupleSchemeFactory());
+ }
+
+ private GetFileMetadataRequest req; // required
+
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ REQ((short)1, "req");
+
+ private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // REQ
+ return REQ;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
+ }
+
+ // isset id assignments
+ public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetFileMetadataRequest.class)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_file_metadata_args.class, metaDataMap);
+ }
+
+ public get_file_metadata_args() {
+ }
+
+ public get_file_metadata_args(
+ GetFileMetadataRequest req)
+ {
+ this();
+ this.req = req;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public get_file_metadata_args(get_file_metadata_args other) {
+ if (other.isSetReq()) {
+ this.req = new GetFileMetadataRequest(other.req);
+ }
+ }
+
+ public get_file_metadata_args deepCopy() {
+ return new get_file_metadata_args(this);
+ }
+
+ @Override
+ public void clear() {
+ this.req = null;
+ }
+
+ public GetFileMetadataRequest getReq() {
+ return this.req;
+ }
+
+ public void setReq(GetFileMetadataRequest req) {
+ this.req = req;
+ }
+
+ public void unsetReq() {
+ this.req = null;
+ }
+
+ /** Returns true if field req is set (has been assigned a value) and false otherwise */
+ public boolean isSetReq() {
+ return this.req != null;
+ }
+
+ public void setReqIsSet(boolean value) {
+ if (!value) {
+ this.req = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case REQ:
+ if (value == null) {
+ unsetReq();
+ } else {
+ setReq((GetFileMetadataRequest)value);
+ }
+ break;
+
+ }
+ }
+
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case REQ:
+ return getReq();
+
+ }
+ throw new IllegalStateException();
+ }
+
+ /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
+ case REQ:
+ return isSetReq();
+ }
+ throw new IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof get_file_metadata_args)
+ return this.equals((get_file_metadata_args)that);
+ return false;
+ }
+
+ public boolean equals(get_file_metadata_args that) {
+ if (that == null)
+ return false;
+
+ boolean this_present_req = true && this.isSetReq();
+ boolean that_present_req = true && that.isSetReq();
+ if (this_present_req || that_present_req) {
+ if (!(this_present_req && that_present_req))
+ return false;
+ if (!this.req.equals(that.req))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_req = true && (isSetReq());
+ list.add(present_req);
+ if (present_req)
+ list.add(req);
+
+ return list.hashCode();
+ }
+
+ @Override
+ public int compareTo(get_file_metadata_args other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetReq()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+ schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+ schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder("get_file_metadata_args(");
+ boolean first = true;
+
+ sb.append("req:");
+ if (this.req == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.req);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ // check for sub-struct validity
+ if (req != null) {
+ req.validate();
+ }
+ }
+
+ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+ try {
+ write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+ try {
+ read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+ } catch (org.apache.thrift.TException te) {
+ throw new java.io.IOException(te);
+ }
+ }
+
+ private static class get_file_metadata_argsStandardSchemeFactory implements SchemeFactory {
+ public get_file_metadata_argsStandardScheme getScheme() {
+ return new get_file_metadata_argsStandardScheme();
}
}
- private static class get_file_metadata_by_expr_argsStandardScheme extends StandardScheme<get_file_metadata_by_expr_args> {
+ private static class get_file_metadata_argsStandardScheme extends StandardScheme<get_file_metadata_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -177713,7 +178580,7 @@ public class ThriftHiveMetastore {
switch (schemeField.id) {
case 1: // REQ
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.req = new GetFileMetadataByExprRequest();
+ struct.req = new GetFileMetadataRequest();
struct.req.read(iprot);
struct.setReqIsSet(true);
} else {
@@ -177729,7 +178596,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -177744,16 +178611,16 @@ public class ThriftHiveMetastore {
}
- private static class get_file_metadata_by_expr_argsTupleSchemeFactory implements SchemeFactory {
- public get_file_metadata_by_expr_argsTupleScheme getScheme() {
- return new get_file_metadata_by_expr_argsTupleScheme();
+ private static class get_file_metadata_argsTupleSchemeFactory implements SchemeFactory {
+ public get_file_metadata_argsTupleScheme getScheme() {
+ return new get_file_metadata_argsTupleScheme();
}
}
- private static class get_file_metadata_by_expr_argsTupleScheme extends TupleScheme<get_file_metadata_by_expr_args> {
+ private static class get_file_metadata_argsTupleScheme extends TupleScheme<get_file_metadata_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetReq()) {
@@ -177766,11 +178633,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.req = new GetFileMetadataByExprRequest();
+ struct.req = new GetFileMetadataRequest();
struct.req.read(iprot);
struct.setReqIsSet(true);
}
@@ -177779,18 +178646,18 @@ public class ThriftHiveMetastore {
}
- public static class get_file_metadata_by_expr_result implements org.apache.thrift.TBase<get_file_metadata_by_expr_result, get_file_metadata_by_expr_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_file_metadata_by_expr_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_file_metadata_by_expr_result");
+ public static class get_file_metadata_result implements org.apache.thrift.TBase<get_file_metadata_result, get_file_metadata_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_file_metadata_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_file_metadata_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new get_file_metadata_by_expr_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_file_metadata_by_expr_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new get_file_metadata_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_file_metadata_resultTupleSchemeFactory());
}
- private GetFileMetadataByExprResult success; // required
+ private GetFileMetadataResult success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -177855,16 +178722,16 @@ public class ThriftHiveMetastore {
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetFileMetadataByExprResult.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetFileMetadataResult.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_file_metadata_by_expr_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_file_metadata_result.class, metaDataMap);
}
- public get_file_metadata_by_expr_result() {
+ public get_file_metadata_result() {
}
- public get_file_metadata_by_expr_result(
- GetFileMetadataByExprResult success)
+ public get_file_metadata_result(
+ GetFileMetadataResult success)
{
this();
this.success = success;
@@ -177873,14 +178740,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_file_metadata_by_expr_result(get_file_metadata_by_expr_result other) {
+ public get_file_metadata_result(get_file_metadata_result other) {
if (other.isSetSuccess()) {
- this.success = new GetFileMetadataByExprResult(other.success);
+ this.success = new GetFileMetadataResult(other.success);
}
}
- public get_file_metadata_by_expr_result deepCopy() {
- return new get_file_metadata_by_expr_result(this);
+ public get_file_metadata_result deepCopy() {
+ return new get_file_metadata_result(this);
}
@Override
@@ -177888,11 +178755,11 @@ public class ThriftHiveMetastore {
this.success = null;
}
- public GetFileMetadataByExprResult getSuccess() {
+ public GetFileMetadataResult getSuccess() {
return this.success;
}
- public void setSuccess(GetFileMetadataByExprResult success) {
+ public void setSuccess(GetFileMetadataResult success) {
this.success = success;
}
@@ -177917,7 +178784,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((GetFileMetadataByExprResult)value);
+ setSuccess((GetFileMetadataResult)value);
}
break;
@@ -177950,12 +178817,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_file_metadata_by_expr_result)
- return this.equals((get_file_metadata_by_expr_result)that);
+ if (that instanceof get_file_metadata_result)
+ return this.equals((get_file_metadata_result)that);
return false;
}
- public boolean equals(get_file_metadata_by_expr_result that) {
+ public boolean equals(get_file_metadata_result that) {
if (that == null)
return false;
@@ -177984,7 +178851,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(get_file_metadata_by_expr_result other) {
+ public int compareTo(get_file_metadata_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -178018,7 +178885,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_file_metadata_by_expr_result(");
+ StringBuilder sb = new StringBuilder("get_file_metadata_result(");
boolean first = true;
sb.append("success:");
@@ -178056,15 +178923,15 @@ public class ThriftHiveMetastore {
}
}
- private static class get_file_metadata_by_expr_resultStandardSchemeFactory implements SchemeFactory {
- public get_file_metadata_by_expr_resultStandardScheme getScheme() {
- return new get_file_metadata_by_expr_resultStandardScheme();
+ private static class get_file_metadata_resultStandardSchemeFactory implements SchemeFactory {
+ public get_file_metadata_resultStandardScheme getScheme() {
+ return new get_file_metadata_resultStandardScheme();
}
}
- private static class get_file_metadata_by_expr_resultStandardScheme extends StandardScheme<get_file_metadata_by_expr_result> {
+ private static class get_file_metadata_resultStandardScheme extends StandardScheme<get_file_metadata_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -178076,7 +178943,7 @@ public class ThriftHiveMetastore {
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new GetFileMetadataByExprResult();
+ struct.success = new GetFileMetadataResult();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
@@ -178092,7 +178959,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -178107,16 +178974,16 @@ public class ThriftHiveMetastore {
}
- private static class get_file_metadata_by_expr_resultTupleSchemeFactory implements SchemeFactory {
- public get_file_metadata_by_expr_resultTupleScheme getScheme() {
- return new get_file_metadata_by_expr_resultTupleScheme();
+ private static class get_file_metadata_resultTupleSchemeFactory implements SchemeFactory {
+ public get_file_metadata_resultTupleScheme getScheme() {
+ return new get_file_metadata_resultTupleScheme();
}
}
- private static class get_file_metadata_by_expr_resultTupleScheme extends TupleScheme<get_file_metadata_by_expr_result> {
+ private static class get_file_metadata_resultTupleScheme extends TupleScheme<get_file_metadata_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -178129,11 +178996,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_by_expr_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.success = new GetFileMetadataByExprResult();
+ struct.success = new GetFileMetadataResult();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
@@ -178142,18 +179009,18 @@ public class ThriftHiveMetastore {
}
- public static class get_file_metadata_args implements org.apache.thrift.TBase<get_file_metadata_args, get_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_file_metadata_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_file_metadata_args");
+ public static class put_file_metadata_args implements org.apache.thrift.TBase<put_file_metadata_args, put_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<put_file_metadata_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("put_file_metadata_args");
private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new get_file_metadata_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_file_metadata_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new put_file_metadata_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new put_file_metadata_argsTupleSchemeFactory());
}
- private GetFileMetadataRequest req; // required
+ private PutFileMetadataRequest req; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -178218,16 +179085,16 @@ public class ThriftHiveMetastore {
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetFileMetadataRequest.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PutFileMetadataRequest.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_file_metadata_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_file_metadata_args.class, metaDataMap);
}
- public get_file_metadata_args() {
+ public put_file_metadata_args() {
}
- public get_file_metadata_args(
- GetFileMetadataRequest req)
+ public put_file_metadata_args(
+ PutFileMetadataRequest req)
{
this();
this.req = req;
@@ -178236,14 +179103,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_file_metadata_args(get_file_metadata_args other) {
+ public put_file_metadata_args(put_file_metadata_args other) {
if (other.isSetReq()) {
- this.req = new GetFileMetadataRequest(other.req);
+ this.req = new PutFileMetadataRequest(other.req);
}
}
- public get_file_metadata_args deepCopy() {
- return new get_file_metadata_args(this);
+ public put_file_metadata_args deepCopy() {
+ return new put_file_metadata_args(this);
}
@Override
@@ -178251,11 +179118,11 @@ public class ThriftHiveMetastore {
this.req = null;
}
- public GetFileMetadataRequest getReq() {
+ public PutFileMetadataRequest getReq() {
return this.req;
}
- public void setReq(GetFileMetadataRequest req) {
+ public void setReq(PutFileMetadataRequest req) {
this.req = req;
}
@@ -178280,7 +179147,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetReq();
} else {
- setReq((GetFileMetadataRequest)value);
+ setReq((PutFileMetadataRequest)value);
}
break;
@@ -178313,12 +179180,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_file_metadata_args)
- return this.equals((get_file_metadata_args)that);
+ if (that instanceof put_file_metadata_args)
+ return this.equals((put_file_metadata_args)that);
return false;
}
- public boolean equals(get_file_metadata_args that) {
+ public boolean equals(put_file_metadata_args that) {
if (that == null)
return false;
@@ -178347,7 +179214,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(get_file_metadata_args other) {
+ public int compareTo(put_file_metadata_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -178381,7 +179248,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_file_metadata_args(");
+ StringBuilder sb = new StringBuilder("put_file_metadata_args(");
boolean first = true;
sb.append("req:");
@@ -178419,15 +179286,15 @@ public class ThriftHiveMetastore {
}
}
- private static class get_file_metadata_argsStandardSchemeFactory implements SchemeFactory {
- public get_file_metadata_argsStandardScheme getScheme() {
- return new get_file_metadata_argsStandardScheme();
+ private static class put_file_metadata_argsStandardSchemeFactory implements SchemeFactory {
+ public put_file_metadata_argsStandardScheme getScheme() {
+ return new put_file_metadata_argsStandardScheme();
}
}
- private static class get_file_metadata_argsStandardScheme extends StandardScheme<get_file_metadata_args> {
+ private static class put_file_metadata_argsStandardScheme extends StandardScheme<put_file_metadata_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, put_file_metadata_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -178439,7 +179306,7 @@ public class ThriftHiveMetastore {
switch (schemeField.id) {
case 1: // REQ
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.req = new GetFileMetadataRequest();
+ struct.req = new PutFileMetadataRequest();
struct.req.read(iprot);
struct.setReqIsSet(true);
} else {
@@ -178455,7 +179322,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, put_file_metadata_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -178470,16 +179337,16 @@ public class ThriftHiveMetastore {
}
- private static class get_file_metadata_argsTupleSchemeFactory implements SchemeFactory {
- public get_file_metadata_argsTupleScheme getScheme() {
- return new get_file_metadata_argsTupleScheme();
+ private static class put_file_metadata_argsTupleSchemeFactory implements SchemeFactory {
+ public put_file_metadata_argsTupleScheme getScheme() {
+ return new put_file_metadata_argsTupleScheme();
}
}
- private static class get_file_metadata_argsTupleScheme extends TupleScheme<get_file_metadata_args> {
+ private static class put_file_metadata_argsTupleScheme extends TupleScheme<put_file_metadata_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetReq()) {
@@ -178492,11 +179359,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.req = new GetFileMetadataRequest();
+ struct.req = new PutFileMetadataRequest();
struct.req.read(iprot);
struct.setReqIsSet(true);
}
@@ -178505,18 +179372,18 @@ public class ThriftHiveMetastore {
}
- public static class get_file_metadata_result implements org.apache.thrift.TBase<get_file_metadata_result, get_file_metadata_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_file_metadata_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_file_metadata_result");
+ public static class put_file_metadata_result implements org.apache.thrift.TBase<put_file_metadata_result, put_file_metadata_result._Fields>, java.io.Serializable, Cloneable, Comparable<put_file_metadata_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("put_file_metadata_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new get_file_metadata_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_file_metadata_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new put_file_metadata_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new put_file_metadata_resultTupleSchemeFactory());
}
- private GetFileMetadataResult success; // required
+ private PutFileMetadataResult success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -178581,16 +179448,16 @@ public class ThriftHiveMetastore {
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetFileMetadataResult.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PutFileMetadataResult.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_file_metadata_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_file_metadata_result.class, metaDataMap);
}
- public get_file_metadata_result() {
+ public put_file_metadata_result() {
}
- public get_file_metadata_result(
- GetFileMetadataResult success)
+ public put_file_metadata_result(
+ PutFileMetadataResult success)
{
this();
this.success = success;
@@ -178599,14 +179466,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_file_metadata_result(get_file_metadata_result other) {
+ public put_file_metadata_result(put_file_metadata_result other) {
if (other.isSetSuccess()) {
- this.success = new GetFileMetadataResult(other.success);
+ this.success = new PutFileMetadataResult(other.success);
}
}
- public get_file_metadata_result deepCopy() {
- return new get_file_metadata_result(this);
+ public put_file_metadata_result deepCopy() {
+ return new put_file_metadata_result(this);
}
@Override
@@ -178614,11 +179481,11 @@ public class ThriftHiveMetastore {
this.success = null;
}
- public GetFileMetadataResult getSuccess() {
+ public PutFileMetadataResult getSuccess() {
return this.success;
}
- public void setSuccess(GetFileMetadataResult success) {
+ public void setSuccess(PutFileMetadataResult success) {
this.success = success;
}
@@ -178643,7 +179510,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((GetFileMetadataResult)value);
+ setSuccess((PutFileMetadataResult)value);
}
break;
@@ -178676,12 +179543,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_file_metadata_result)
- return this.equals((get_file_metadata_result)that);
+ if (that instanceof put_file_metadata_result)
+ return this.equals((put_file_metadata_result)that);
return false;
}
- public boolean equals(get_file_metadata_result that) {
+ public boolean equals(put_file_metadata_result that) {
if (that == null)
return false;
@@ -178710,7 +179577,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(get_file_metadata_result other) {
+ public int compareTo(put_file_metadata_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -178744,7 +179611,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_file_metadata_result(");
+ StringBuilder sb = new StringBuilder("put_file_metadata_result(");
boolean first = true;
sb.append("success:");
@@ -178782,15 +179649,15 @@ public class ThriftHiveMetastore {
}
}
- private static class get_file_metadata_resultStandardSchemeFactory implements SchemeFactory {
- public get_file_metadata_resultStandardScheme getScheme() {
- return new get_file_metadata_resultStandardScheme();
+ private static class put_file_metadata_resultStandardSchemeFactory implements SchemeFactory {
+ public put_file_metadata_resultStandardScheme getScheme() {
+ return new put_file_metadata_resultStandardScheme();
}
}
- private static class get_file_metadata_resultStandardScheme extends StandardScheme<get_file_metadata_result> {
+ private static class put_file_metadata_resultStandardScheme extends StandardScheme<put_file_metadata_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, get_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, put_file_metadata_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -178802,7 +179669,7 @@ public class ThriftHiveMetastore {
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new GetFileMetadataResult();
+ struct.success = new PutFileMetadataResult();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
@@ -178818,7 +179685,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, put_file_metadata_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -178833,16 +179700,16 @@ public class ThriftHiveMetastore {
}
- private static class get_file_metadata_resultTupleSchemeFactory implements SchemeFactory {
- public get_file_metadata_resultTupleScheme getScheme() {
- return new get_file_metadata_resultTupleScheme();
+ private static class put_file_metadata_resultTupleSchemeFactory implements SchemeFactory {
+ public put_file_metadata_resultTupleScheme getScheme() {
+ return new put_file_metadata_resultTupleScheme();
}
}
- private static class get_file_metadata_resultTupleScheme extends TupleScheme<get_file_metadata_result> {
+ private static class put_file_metadata_resultTupleScheme extends TupleScheme<put_file_metadata_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -178855,11 +179722,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.success = new GetFileMetadataResult();
+ struct.success = new PutFileMetadataResult();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
@@ -178868,18 +179735,18 @@ public class ThriftHiveMetastore {
}
- public static class put_file_metadata_args implements org.apache.thrift.TBase<put_file_metadata_args, put_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<put_file_metadata_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("put_file_metadata_args");
+ public static class clear_file_metadata_args implements org.apache.thrift.TBase<clear_file_metadata_args, clear_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<clear_file_metadata_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("clear_file_metadata_args");
private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new put_file_metadata_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new put_file_metadata_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new clear_file_metadata_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new clear_file_metadata_argsTupleSchemeFactory());
}
- private PutFileMetadataRequest req; // required
+ private ClearFileMetadataRequest req; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -178944,16 +179811,16 @@ public class ThriftHiveMetastore {
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PutFileMetadataRequest.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ClearFileMetadataRequest.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_file_metadata_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clear_file_metadata_args.class, metaDataMap);
}
- public put_file_metadata_args() {
+ public clear_file_metadata_args() {
}
- public put_file_metadata_args(
- PutFileMetadataRequest req)
+ public clear_file_metadata_args(
+ ClearFileMetadataRequest req)
{
this();
this.req = req;
@@ -178962,14 +179829,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public put_file_metadata_args(put_file_metadata_args other) {
+ public clear_file_metadata_args(clear_file_metadata_args other) {
if (other.isSetReq()) {
- this.req = new PutFileMetadataRequest(other.req);
+ this.req = new ClearFileMetadataRequest(other.req);
}
}
- public put_file_metadata_args deepCopy() {
- return new put_file_metadata_args(this);
+ public clear_file_metadata_args deepCopy() {
+ return new clear_file_metadata_args(this);
}
@Override
@@ -178977,11 +179844,11 @@ public class ThriftHiveMetastore {
this.req = null;
}
- public PutFileMetadataRequest getReq() {
+ public ClearFileMetadataRequest getReq() {
return this.req;
}
- public void setReq(PutFileMetadataRequest req) {
+ public void setReq(ClearFileMetadataRequest req) {
this.req = req;
}
@@ -179006,7 +179873,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetReq();
} else {
- setReq((PutFileMetadataRequest)value);
+ setReq((ClearFileMetadataRequest)value);
}
break;
@@ -179039,12 +179906,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof put_file_metadata_args)
- return this.equals((put_file_metadata_args)that);
+ if (that instanceof clear_file_metadata_args)
+ return this.equals((clear_file_metadata_args)that);
return false;
}
- public boolean equals(put_file_metadata_args that) {
+ public boolean equals(clear_file_metadata_args that) {
if (that == null)
return false;
@@ -179073,7 +179940,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(put_file_metadata_args other) {
+ public int compareTo(clear_file_metadata_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -179107,7 +179974,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("put_file_metadata_args(");
+ StringBuilder sb = new StringBuilder("clear_file_metadata_args(");
boolean first = true;
sb.append("req:");
@@ -179145,15 +180012,15 @@ public class ThriftHiveMetastore {
}
}
- private static class put_file_metadata_argsStandardSchemeFactory implements SchemeFactory {
- public put_file_metadata_argsStandardScheme getScheme() {
- return new put_file_metadata_argsStandardScheme();
+ private static class clear_file_metadata_argsStandardSchemeFactory implements SchemeFactory {
+ public clear_file_metadata_argsStandardScheme getScheme() {
+ return new clear_file_metadata_argsStandardScheme();
}
}
- private static class put_file_metadata_argsStandardScheme extends StandardScheme<put_file_metadata_args> {
+ private static class clear_file_metadata_argsStandardScheme extends StandardScheme<clear_file_metadata_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, put_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, clear_file_metadata_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -179165,7 +180032,7 @@ public class ThriftHiveMetastore {
switch (schemeField.id) {
case 1: // REQ
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.req = new PutFileMetadataRequest();
+ struct.req = new ClearFileMetadataRequest();
struct.req.read(iprot);
struct.setReqIsSet(true);
} else {
@@ -179181,7 +180048,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, put_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, clear_file_metadata_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -179196,16 +180063,16 @@ public class ThriftHiveMetastore {
}
- private static class put_file_metadata_argsTupleSchemeFactory implements SchemeFactory {
- public put_file_metadata_argsTupleScheme getScheme() {
- return new put_file_metadata_argsTupleScheme();
+ private static class clear_file_metadata_argsTupleSchemeFactory implements SchemeFactory {
+ public clear_file_metadata_argsTupleScheme getScheme() {
+ return new clear_file_metadata_argsTupleScheme();
}
}
- private static class put_file_metadata_argsTupleScheme extends TupleScheme<put_file_metadata_args> {
+ private static class clear_file_metadata_argsTupleScheme extends TupleScheme<clear_file_metadata_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, clear_file_metadata_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetReq()) {
@@ -179218,11 +180085,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, clear_file_metadata_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.req = new PutFileMetadataRequest();
+ struct.req = new ClearFileMetadataRequest();
struct.req.read(iprot);
struct.setReqIsSet(true);
}
@@ -179231,18 +180098,18 @@ public class ThriftHiveMetastore {
}
- public static class put_file_metadata_result implements org.apache.thrift.TBase<put_file_metadata_result, put_file_metadata_result._Fields>, java.io.Serializable, Cloneable, Comparable<put_file_metadata_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("put_file_metadata_result");
+ public static class clear_file_metadata_result implements org.apache.thrift.TBase<clear_file_metadata_result, clear_file_metadata_result._Fields>, java.io.Serializable, Cloneable, Comparable<clear_file_metadata_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("clear_file_metadata_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new put_file_metadata_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new put_file_metadata_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new clear_file_metadata_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new clear_file_metadata_resultTupleSchemeFactory());
}
- private PutFileMetadataResult success; // required
+ private ClearFileMetadataResult success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -179307,16 +180174,16 @@ public class ThriftHiveMetastore {
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PutFileMetadataResult.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ClearFileMetadataResult.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(put_file_metadata_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clear_file_metadata_result.class, metaDataMap);
}
- public put_file_metadata_result() {
+ public clear_file_metadata_result() {
}
- public put_file_metadata_result(
- PutFileMetadataResult success)
+ public clear_file_metadata_result(
+ ClearFileMetadataResult success)
{
this();
this.success = success;
@@ -179325,14 +180192,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public put_file_metadata_result(put_file_metadata_result other) {
+ public clear_file_metadata_result(clear_file_metadata_result other) {
if (other.isSetSuccess()) {
- this.success = new PutFileMetadataResult(other.success);
+ this.success = new ClearFileMetadataResult(other.success);
}
}
- public put_file_metadata_result deepCopy() {
- return new put_file_metadata_result(this);
+ public clear_file_metadata_result deepCopy() {
+ return new clear_file_metadata_result(this);
}
@Override
@@ -179340,11 +180207,11 @@ public class ThriftHiveMetastore {
this.success = null;
}
- public PutFileMetadataResult getSuccess() {
+ public ClearFileMetadataResult getSuccess() {
return this.success;
}
- public void setSuccess(PutFileMetadataResult success) {
+ public void setSuccess(ClearFileMetadataResult success) {
this.success = success;
}
@@ -179369,7 +180236,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((PutFileMetadataResult)value);
+ setSuccess((ClearFileMetadataResult)value);
}
break;
@@ -179402,12 +180269,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof put_file_metadata_result)
- return this.equals((put_file_metadata_result)that);
+ if (that instanceof clear_file_metadata_result)
+ return this.equals((clear_file_metadata_result)that);
return false;
}
- public boolean equals(put_file_metadata_result that) {
+ public boolean equals(clear_file_metadata_result that) {
if (that == null)
return false;
@@ -179436,7 +180303,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(put_file_metadata_result other) {
+ public int compareTo(clear_file_metadata_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -179470,7 +180337,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("put_file_metadata_result(");
+ StringBuilder sb = new StringBuilder("clear_file_metadata_result(");
boolean first = true;
sb.append("success:");
@@ -179508,15 +180375,15 @@ public class ThriftHiveMetastore {
}
}
- private static class put_file_metadata_resultStandardSchemeFactory implements SchemeFactory {
- public put_file_metadata_resultStandardScheme getScheme() {
- return new put_file_metadata_resultStandardScheme();
+ private static class clear_file_metadata_resultStandardSchemeFactory implements SchemeFactory {
+ public clear_file_metadata_resultStandardScheme getScheme() {
+ return new clear_file_metadata_resultStandardScheme();
}
}
- private static class put_file_metadata_resultStandardScheme extends StandardScheme<put_file_metadata_result> {
+ private static class clear_file_metadata_resultStandardScheme extends StandardScheme<clear_file_metadata_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, put_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, clear_file_metadata_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -179528,7 +180395,7 @@ public class ThriftHiveMetastore {
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new PutFileMetadataResult();
+ struct.success = new ClearFileMetadataResult();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
@@ -179544,7 +180411,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, put_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, clear_file_metadata_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -179559,16 +180426,16 @@ public class ThriftHiveMetastore {
}
- private static class put_file_metadata_resultTupleSchemeFactory implements SchemeFactory {
- public put_file_metadata_resultTupleScheme getScheme() {
- return new put_file_metadata_resultTupleScheme();
+ private static class clear_file_metadata_resultTupleSchemeFactory implements SchemeFactory {
+ public clear_file_metadata_resultTupleScheme getScheme() {
+ return new clear_file_metadata_resultTupleScheme();
}
}
- private static class put_file_metadata_resultTupleScheme extends TupleScheme<put_file_metadata_result> {
+ private static class clear_file_metadata_resultTupleScheme extends TupleScheme<clear_file_metadata_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, clear_file_metadata_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -179581,11 +180448,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, put_file_metadata_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, clear_file_metadata_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.success = new PutFileMetadataResult();
+ struct.success = new ClearFileMetadataResult();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
@@ -179594,18 +180461,18 @@ public class ThriftHiveMetastore {
}
- public static class clear_file_metadata_args implements org.apache.thrift.TBase<clear_file_metadata_args, clear_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<clear_file_metadata_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("clear_file_metadata_args");
+ public static class cache_file_metadata_args implements org.apache.thrift.TBase<cache_file_metadata_args, cache_file_metadata_args._Fields>, java.io.Serializable, Cloneable, Comparable<cache_file_metadata_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cache_file_metadata_args");
private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new clear_file_metadata_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new clear_file_metadata_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new cache_file_metadata_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new cache_file_metadata_argsTupleSchemeFactory());
}
- private ClearFileMetadataRequest req; // required
+ private CacheFileMetadataRequest req; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -179670,16 +180537,16 @@ public class ThriftHiveMetastore {
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ClearFileMetadataRequest.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CacheFileMetadataRequest.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(clear_file_metadata_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cache_file_metadata_args.class, metaDataMap);
}
- public clear_file_metadata_args() {
+ public cache_file_metadata_args() {
}
- public clear_file_metadata_args(
- ClearFileMetadataRequest req)
+ public cache_file_metadata_args(
+ CacheFileMetadataRequest req)
{
this();
this.req = req;
@@ -179688,14 +180555,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public clear_file_metadata_args(clear_file_metadata_args other) {
+ public cache_file_metadata_args(cache_file_metadata_args other) {
if (other.isSetReq()) {
- this.req = new ClearFileMetadataRequest(other.req);
+ this.req = new CacheFileMetadataRequest(other.req);
}
}
- public clear_fil
<TRUNCATED>