You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2012/11/08 10:44:29 UTC
svn commit: r1406984 [12/29] - in /hive/trunk:
contrib/src/java/org/apache/hadoop/hive/contrib/genericudf/example/
contrib/src/java/org/apache/hadoop/hive/contrib/serde2/
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/
contrib/src/test...
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java?rev=1406984&r1=1406983&r2=1406984&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java Thu Nov 8 09:44:19 2012
@@ -1,11 +1,21 @@
/**
- * Autogenerated by Thrift Compiler (0.7.0)
+ * Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ * @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.commons.lang.builder.HashCodeBuilder;
+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 java.util.List;
import java.util.ArrayList;
import java.util.Map;
@@ -5395,7 +5405,7 @@ public class ThriftHiveMetastore {
}
- public static class Processor<I extends Iface> extends com.facebook.fb303.FacebookService.Processor implements org.apache.thrift.TProcessor {
+ public static class Processor<I extends Iface> extends com.facebook.fb303.FacebookService.Processor<I> implements org.apache.thrift.TProcessor {
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
public Processor(I iface) {
super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));
@@ -5484,16 +5494,20 @@ public class ThriftHiveMetastore {
return processMap;
}
- private static class create_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_database_args> {
+ public static class create_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_database_args> {
public create_database() {
super("create_database");
}
- protected create_database_args getEmptyArgsInstance() {
+ public create_database_args getEmptyArgsInstance() {
return new create_database_args();
}
- protected create_database_result getResult(I iface, create_database_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public create_database_result getResult(I iface, create_database_args args) throws org.apache.thrift.TException {
create_database_result result = new create_database_result();
try {
iface.create_database(args.database);
@@ -5508,16 +5522,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_database_args> {
+ public static class get_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_database_args> {
public get_database() {
super("get_database");
}
- protected get_database_args getEmptyArgsInstance() {
+ public get_database_args getEmptyArgsInstance() {
return new get_database_args();
}
- protected get_database_result getResult(I iface, get_database_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_database_result getResult(I iface, get_database_args args) throws org.apache.thrift.TException {
get_database_result result = new get_database_result();
try {
result.success = iface.get_database(args.name);
@@ -5530,16 +5548,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_database_args> {
+ public static class drop_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_database_args> {
public drop_database() {
super("drop_database");
}
- protected drop_database_args getEmptyArgsInstance() {
+ public drop_database_args getEmptyArgsInstance() {
return new drop_database_args();
}
- protected drop_database_result getResult(I iface, drop_database_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_database_result getResult(I iface, drop_database_args args) throws org.apache.thrift.TException {
drop_database_result result = new drop_database_result();
try {
iface.drop_database(args.name, args.deleteData, args.cascade);
@@ -5554,16 +5576,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_databases<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_databases_args> {
+ public static class get_databases<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_databases_args> {
public get_databases() {
super("get_databases");
}
- protected get_databases_args getEmptyArgsInstance() {
+ public get_databases_args getEmptyArgsInstance() {
return new get_databases_args();
}
- protected get_databases_result getResult(I iface, get_databases_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_databases_result getResult(I iface, get_databases_args args) throws org.apache.thrift.TException {
get_databases_result result = new get_databases_result();
try {
result.success = iface.get_databases(args.pattern);
@@ -5574,16 +5600,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_all_databases<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_all_databases_args> {
+ public static class get_all_databases<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_all_databases_args> {
public get_all_databases() {
super("get_all_databases");
}
- protected get_all_databases_args getEmptyArgsInstance() {
+ public get_all_databases_args getEmptyArgsInstance() {
return new get_all_databases_args();
}
- protected get_all_databases_result getResult(I iface, get_all_databases_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_all_databases_result getResult(I iface, get_all_databases_args args) throws org.apache.thrift.TException {
get_all_databases_result result = new get_all_databases_result();
try {
result.success = iface.get_all_databases();
@@ -5594,16 +5624,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_database_args> {
+ public static class alter_database<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_database_args> {
public alter_database() {
super("alter_database");
}
- protected alter_database_args getEmptyArgsInstance() {
+ public alter_database_args getEmptyArgsInstance() {
return new alter_database_args();
}
- protected alter_database_result getResult(I iface, alter_database_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_database_result getResult(I iface, alter_database_args args) throws org.apache.thrift.TException {
alter_database_result result = new alter_database_result();
try {
iface.alter_database(args.dbname, args.db);
@@ -5616,16 +5650,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_type<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_type_args> {
+ public static class get_type<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_type_args> {
public get_type() {
super("get_type");
}
- protected get_type_args getEmptyArgsInstance() {
+ public get_type_args getEmptyArgsInstance() {
return new get_type_args();
}
- protected get_type_result getResult(I iface, get_type_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_type_result getResult(I iface, get_type_args args) throws org.apache.thrift.TException {
get_type_result result = new get_type_result();
try {
result.success = iface.get_type(args.name);
@@ -5638,16 +5676,20 @@ public class ThriftHiveMetastore {
}
}
- private static class create_type<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_type_args> {
+ public static class create_type<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_type_args> {
public create_type() {
super("create_type");
}
- protected create_type_args getEmptyArgsInstance() {
+ public create_type_args getEmptyArgsInstance() {
return new create_type_args();
}
- protected create_type_result getResult(I iface, create_type_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public create_type_result getResult(I iface, create_type_args args) throws org.apache.thrift.TException {
create_type_result result = new create_type_result();
try {
result.success = iface.create_type(args.type);
@@ -5663,16 +5705,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_type<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_type_args> {
+ public static class drop_type<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_type_args> {
public drop_type() {
super("drop_type");
}
- protected drop_type_args getEmptyArgsInstance() {
+ public drop_type_args getEmptyArgsInstance() {
return new drop_type_args();
}
- protected drop_type_result getResult(I iface, drop_type_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_type_result getResult(I iface, drop_type_args args) throws org.apache.thrift.TException {
drop_type_result result = new drop_type_result();
try {
result.success = iface.drop_type(args.type);
@@ -5686,16 +5732,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_type_all<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_type_all_args> {
+ public static class get_type_all<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_type_all_args> {
public get_type_all() {
super("get_type_all");
}
- protected get_type_all_args getEmptyArgsInstance() {
+ public get_type_all_args getEmptyArgsInstance() {
return new get_type_all_args();
}
- protected get_type_all_result getResult(I iface, get_type_all_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_type_all_result getResult(I iface, get_type_all_args args) throws org.apache.thrift.TException {
get_type_all_result result = new get_type_all_result();
try {
result.success = iface.get_type_all(args.name);
@@ -5706,16 +5756,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_fields<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_fields_args> {
+ public static class get_fields<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_fields_args> {
public get_fields() {
super("get_fields");
}
- protected get_fields_args getEmptyArgsInstance() {
+ public get_fields_args getEmptyArgsInstance() {
return new get_fields_args();
}
- protected get_fields_result getResult(I iface, get_fields_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_fields_result getResult(I iface, get_fields_args args) throws org.apache.thrift.TException {
get_fields_result result = new get_fields_result();
try {
result.success = iface.get_fields(args.db_name, args.table_name);
@@ -5730,16 +5784,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_schema<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_schema_args> {
+ public static class get_schema<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_schema_args> {
public get_schema() {
super("get_schema");
}
- protected get_schema_args getEmptyArgsInstance() {
+ public get_schema_args getEmptyArgsInstance() {
return new get_schema_args();
}
- protected get_schema_result getResult(I iface, get_schema_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_schema_result getResult(I iface, get_schema_args args) throws org.apache.thrift.TException {
get_schema_result result = new get_schema_result();
try {
result.success = iface.get_schema(args.db_name, args.table_name);
@@ -5754,16 +5812,20 @@ public class ThriftHiveMetastore {
}
}
- private static class create_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_table_args> {
+ public static class create_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_table_args> {
public create_table() {
super("create_table");
}
- protected create_table_args getEmptyArgsInstance() {
+ public create_table_args getEmptyArgsInstance() {
return new create_table_args();
}
- protected create_table_result getResult(I iface, create_table_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public create_table_result getResult(I iface, create_table_args args) throws org.apache.thrift.TException {
create_table_result result = new create_table_result();
try {
iface.create_table(args.tbl);
@@ -5780,16 +5842,20 @@ public class ThriftHiveMetastore {
}
}
- private static class create_table_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_table_with_environment_context_args> {
+ public static class create_table_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_table_with_environment_context_args> {
public create_table_with_environment_context() {
super("create_table_with_environment_context");
}
- protected create_table_with_environment_context_args getEmptyArgsInstance() {
+ public create_table_with_environment_context_args getEmptyArgsInstance() {
return new create_table_with_environment_context_args();
}
- protected create_table_with_environment_context_result getResult(I iface, create_table_with_environment_context_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public create_table_with_environment_context_result getResult(I iface, create_table_with_environment_context_args args) throws org.apache.thrift.TException {
create_table_with_environment_context_result result = new create_table_with_environment_context_result();
try {
iface.create_table_with_environment_context(args.tbl, args.environment_context);
@@ -5806,16 +5872,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_table_args> {
+ public static class drop_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_table_args> {
public drop_table() {
super("drop_table");
}
- protected drop_table_args getEmptyArgsInstance() {
+ public drop_table_args getEmptyArgsInstance() {
return new drop_table_args();
}
- protected drop_table_result getResult(I iface, drop_table_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_table_result getResult(I iface, drop_table_args args) throws org.apache.thrift.TException {
drop_table_result result = new drop_table_result();
try {
iface.drop_table(args.dbname, args.name, args.deleteData);
@@ -5828,16 +5898,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_tables<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_tables_args> {
+ public static class get_tables<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_tables_args> {
public get_tables() {
super("get_tables");
}
- protected get_tables_args getEmptyArgsInstance() {
+ public get_tables_args getEmptyArgsInstance() {
return new get_tables_args();
}
- protected get_tables_result getResult(I iface, get_tables_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_tables_result getResult(I iface, get_tables_args args) throws org.apache.thrift.TException {
get_tables_result result = new get_tables_result();
try {
result.success = iface.get_tables(args.db_name, args.pattern);
@@ -5848,16 +5922,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_all_tables<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_all_tables_args> {
+ public static class get_all_tables<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_all_tables_args> {
public get_all_tables() {
super("get_all_tables");
}
- protected get_all_tables_args getEmptyArgsInstance() {
+ public get_all_tables_args getEmptyArgsInstance() {
return new get_all_tables_args();
}
- protected get_all_tables_result getResult(I iface, get_all_tables_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_all_tables_result getResult(I iface, get_all_tables_args args) throws org.apache.thrift.TException {
get_all_tables_result result = new get_all_tables_result();
try {
result.success = iface.get_all_tables(args.db_name);
@@ -5868,16 +5946,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_args> {
+ public static class get_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_args> {
public get_table() {
super("get_table");
}
- protected get_table_args getEmptyArgsInstance() {
+ public get_table_args getEmptyArgsInstance() {
return new get_table_args();
}
- protected get_table_result getResult(I iface, get_table_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_table_result getResult(I iface, get_table_args args) throws org.apache.thrift.TException {
get_table_result result = new get_table_result();
try {
result.success = iface.get_table(args.dbname, args.tbl_name);
@@ -5890,16 +5972,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_table_objects_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_objects_by_name_args> {
+ public static class get_table_objects_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_objects_by_name_args> {
public get_table_objects_by_name() {
super("get_table_objects_by_name");
}
- protected get_table_objects_by_name_args getEmptyArgsInstance() {
+ public get_table_objects_by_name_args getEmptyArgsInstance() {
return new get_table_objects_by_name_args();
}
- protected get_table_objects_by_name_result getResult(I iface, get_table_objects_by_name_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_table_objects_by_name_result getResult(I iface, get_table_objects_by_name_args args) throws org.apache.thrift.TException {
get_table_objects_by_name_result result = new get_table_objects_by_name_result();
try {
result.success = iface.get_table_objects_by_name(args.dbname, args.tbl_names);
@@ -5914,16 +6000,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_table_names_by_filter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_names_by_filter_args> {
+ public static class get_table_names_by_filter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_names_by_filter_args> {
public get_table_names_by_filter() {
super("get_table_names_by_filter");
}
- protected get_table_names_by_filter_args getEmptyArgsInstance() {
+ public get_table_names_by_filter_args getEmptyArgsInstance() {
return new get_table_names_by_filter_args();
}
- protected get_table_names_by_filter_result getResult(I iface, get_table_names_by_filter_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_table_names_by_filter_result getResult(I iface, get_table_names_by_filter_args args) throws org.apache.thrift.TException {
get_table_names_by_filter_result result = new get_table_names_by_filter_result();
try {
result.success = iface.get_table_names_by_filter(args.dbname, args.filter, args.max_tables);
@@ -5938,16 +6028,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_table_args> {
+ public static class alter_table<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_table_args> {
public alter_table() {
super("alter_table");
}
- protected alter_table_args getEmptyArgsInstance() {
+ public alter_table_args getEmptyArgsInstance() {
return new alter_table_args();
}
- protected alter_table_result getResult(I iface, alter_table_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_table_result getResult(I iface, alter_table_args args) throws org.apache.thrift.TException {
alter_table_result result = new alter_table_result();
try {
iface.alter_table(args.dbname, args.tbl_name, args.new_tbl);
@@ -5960,16 +6054,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_table_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_table_with_environment_context_args> {
+ public static class alter_table_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_table_with_environment_context_args> {
public alter_table_with_environment_context() {
super("alter_table_with_environment_context");
}
- protected alter_table_with_environment_context_args getEmptyArgsInstance() {
+ public alter_table_with_environment_context_args getEmptyArgsInstance() {
return new alter_table_with_environment_context_args();
}
- protected alter_table_with_environment_context_result getResult(I iface, alter_table_with_environment_context_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_table_with_environment_context_result getResult(I iface, alter_table_with_environment_context_args args) throws org.apache.thrift.TException {
alter_table_with_environment_context_result result = new alter_table_with_environment_context_result();
try {
iface.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context);
@@ -5982,16 +6080,20 @@ public class ThriftHiveMetastore {
}
}
- private static class add_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_partition_args> {
+ public static class add_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_partition_args> {
public add_partition() {
super("add_partition");
}
- protected add_partition_args getEmptyArgsInstance() {
+ public add_partition_args getEmptyArgsInstance() {
return new add_partition_args();
}
- protected add_partition_result getResult(I iface, add_partition_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public add_partition_result getResult(I iface, add_partition_args args) throws org.apache.thrift.TException {
add_partition_result result = new add_partition_result();
try {
result.success = iface.add_partition(args.new_part);
@@ -6006,16 +6108,20 @@ public class ThriftHiveMetastore {
}
}
- private static class add_partition_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_partition_with_environment_context_args> {
+ public static class add_partition_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_partition_with_environment_context_args> {
public add_partition_with_environment_context() {
super("add_partition_with_environment_context");
}
- protected add_partition_with_environment_context_args getEmptyArgsInstance() {
+ public add_partition_with_environment_context_args getEmptyArgsInstance() {
return new add_partition_with_environment_context_args();
}
- protected add_partition_with_environment_context_result getResult(I iface, add_partition_with_environment_context_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public add_partition_with_environment_context_result getResult(I iface, add_partition_with_environment_context_args args) throws org.apache.thrift.TException {
add_partition_with_environment_context_result result = new add_partition_with_environment_context_result();
try {
result.success = iface.add_partition_with_environment_context(args.new_part, args.environment_context);
@@ -6030,16 +6136,20 @@ public class ThriftHiveMetastore {
}
}
- private static class add_partitions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_partitions_args> {
+ public static class add_partitions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_partitions_args> {
public add_partitions() {
super("add_partitions");
}
- protected add_partitions_args getEmptyArgsInstance() {
+ public add_partitions_args getEmptyArgsInstance() {
return new add_partitions_args();
}
- protected add_partitions_result getResult(I iface, add_partitions_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public add_partitions_result getResult(I iface, add_partitions_args args) throws org.apache.thrift.TException {
add_partitions_result result = new add_partitions_result();
try {
result.success = iface.add_partitions(args.new_parts);
@@ -6055,16 +6165,20 @@ public class ThriftHiveMetastore {
}
}
- private static class append_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, append_partition_args> {
+ public static class append_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, append_partition_args> {
public append_partition() {
super("append_partition");
}
- protected append_partition_args getEmptyArgsInstance() {
+ public append_partition_args getEmptyArgsInstance() {
return new append_partition_args();
}
- protected append_partition_result getResult(I iface, append_partition_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public append_partition_result getResult(I iface, append_partition_args args) throws org.apache.thrift.TException {
append_partition_result result = new append_partition_result();
try {
result.success = iface.append_partition(args.db_name, args.tbl_name, args.part_vals);
@@ -6079,16 +6193,20 @@ public class ThriftHiveMetastore {
}
}
- private static class append_partition_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, append_partition_by_name_args> {
+ public static class append_partition_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, append_partition_by_name_args> {
public append_partition_by_name() {
super("append_partition_by_name");
}
- protected append_partition_by_name_args getEmptyArgsInstance() {
+ public append_partition_by_name_args getEmptyArgsInstance() {
return new append_partition_by_name_args();
}
- protected append_partition_by_name_result getResult(I iface, append_partition_by_name_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public append_partition_by_name_result getResult(I iface, append_partition_by_name_args args) throws org.apache.thrift.TException {
append_partition_by_name_result result = new append_partition_by_name_result();
try {
result.success = iface.append_partition_by_name(args.db_name, args.tbl_name, args.part_name);
@@ -6103,16 +6221,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_partition_args> {
+ public static class drop_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_partition_args> {
public drop_partition() {
super("drop_partition");
}
- protected drop_partition_args getEmptyArgsInstance() {
+ public drop_partition_args getEmptyArgsInstance() {
return new drop_partition_args();
}
- protected drop_partition_result getResult(I iface, drop_partition_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_partition_result getResult(I iface, drop_partition_args args) throws org.apache.thrift.TException {
drop_partition_result result = new drop_partition_result();
try {
result.success = iface.drop_partition(args.db_name, args.tbl_name, args.part_vals, args.deleteData);
@@ -6126,16 +6248,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_partition_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_partition_by_name_args> {
+ public static class drop_partition_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_partition_by_name_args> {
public drop_partition_by_name() {
super("drop_partition_by_name");
}
- protected drop_partition_by_name_args getEmptyArgsInstance() {
+ public drop_partition_by_name_args getEmptyArgsInstance() {
return new drop_partition_by_name_args();
}
- protected drop_partition_by_name_result getResult(I iface, drop_partition_by_name_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_partition_by_name_result getResult(I iface, drop_partition_by_name_args args) throws org.apache.thrift.TException {
drop_partition_by_name_result result = new drop_partition_by_name_result();
try {
result.success = iface.drop_partition_by_name(args.db_name, args.tbl_name, args.part_name, args.deleteData);
@@ -6149,16 +6275,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_args> {
+ public static class get_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_args> {
public get_partition() {
super("get_partition");
}
- protected get_partition_args getEmptyArgsInstance() {
+ public get_partition_args getEmptyArgsInstance() {
return new get_partition_args();
}
- protected get_partition_result getResult(I iface, get_partition_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partition_result getResult(I iface, get_partition_args args) throws org.apache.thrift.TException {
get_partition_result result = new get_partition_result();
try {
result.success = iface.get_partition(args.db_name, args.tbl_name, args.part_vals);
@@ -6171,16 +6301,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partition_with_auth<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_with_auth_args> {
+ public static class get_partition_with_auth<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_with_auth_args> {
public get_partition_with_auth() {
super("get_partition_with_auth");
}
- protected get_partition_with_auth_args getEmptyArgsInstance() {
+ public get_partition_with_auth_args getEmptyArgsInstance() {
return new get_partition_with_auth_args();
}
- protected get_partition_with_auth_result getResult(I iface, get_partition_with_auth_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partition_with_auth_result getResult(I iface, get_partition_with_auth_args args) throws org.apache.thrift.TException {
get_partition_with_auth_result result = new get_partition_with_auth_result();
try {
result.success = iface.get_partition_with_auth(args.db_name, args.tbl_name, args.part_vals, args.user_name, args.group_names);
@@ -6193,16 +6327,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partition_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_by_name_args> {
+ public static class get_partition_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_by_name_args> {
public get_partition_by_name() {
super("get_partition_by_name");
}
- protected get_partition_by_name_args getEmptyArgsInstance() {
+ public get_partition_by_name_args getEmptyArgsInstance() {
return new get_partition_by_name_args();
}
- protected get_partition_by_name_result getResult(I iface, get_partition_by_name_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partition_by_name_result getResult(I iface, get_partition_by_name_args args) throws org.apache.thrift.TException {
get_partition_by_name_result result = new get_partition_by_name_result();
try {
result.success = iface.get_partition_by_name(args.db_name, args.tbl_name, args.part_name);
@@ -6215,16 +6353,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_args> {
+ public static class get_partitions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_args> {
public get_partitions() {
super("get_partitions");
}
- protected get_partitions_args getEmptyArgsInstance() {
+ public get_partitions_args getEmptyArgsInstance() {
return new get_partitions_args();
}
- protected get_partitions_result getResult(I iface, get_partitions_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partitions_result getResult(I iface, get_partitions_args args) throws org.apache.thrift.TException {
get_partitions_result result = new get_partitions_result();
try {
result.success = iface.get_partitions(args.db_name, args.tbl_name, args.max_parts);
@@ -6237,16 +6379,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions_with_auth<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_with_auth_args> {
+ public static class get_partitions_with_auth<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_with_auth_args> {
public get_partitions_with_auth() {
super("get_partitions_with_auth");
}
- protected get_partitions_with_auth_args getEmptyArgsInstance() {
+ public get_partitions_with_auth_args getEmptyArgsInstance() {
return new get_partitions_with_auth_args();
}
- protected get_partitions_with_auth_result getResult(I iface, get_partitions_with_auth_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partitions_with_auth_result getResult(I iface, get_partitions_with_auth_args args) throws org.apache.thrift.TException {
get_partitions_with_auth_result result = new get_partitions_with_auth_result();
try {
result.success = iface.get_partitions_with_auth(args.db_name, args.tbl_name, args.max_parts, args.user_name, args.group_names);
@@ -6259,16 +6405,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partition_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_names_args> {
+ public static class get_partition_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_names_args> {
public get_partition_names() {
super("get_partition_names");
}
- protected get_partition_names_args getEmptyArgsInstance() {
+ public get_partition_names_args getEmptyArgsInstance() {
return new get_partition_names_args();
}
- protected get_partition_names_result getResult(I iface, get_partition_names_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partition_names_result getResult(I iface, get_partition_names_args args) throws org.apache.thrift.TException {
get_partition_names_result result = new get_partition_names_result();
try {
result.success = iface.get_partition_names(args.db_name, args.tbl_name, args.max_parts);
@@ -6279,16 +6429,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions_ps<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_ps_args> {
+ public static class get_partitions_ps<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_ps_args> {
public get_partitions_ps() {
super("get_partitions_ps");
}
- protected get_partitions_ps_args getEmptyArgsInstance() {
+ public get_partitions_ps_args getEmptyArgsInstance() {
return new get_partitions_ps_args();
}
- protected get_partitions_ps_result getResult(I iface, get_partitions_ps_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partitions_ps_result getResult(I iface, get_partitions_ps_args args) throws org.apache.thrift.TException {
get_partitions_ps_result result = new get_partitions_ps_result();
try {
result.success = iface.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts);
@@ -6301,16 +6455,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions_ps_with_auth<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_ps_with_auth_args> {
+ public static class get_partitions_ps_with_auth<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_ps_with_auth_args> {
public get_partitions_ps_with_auth() {
super("get_partitions_ps_with_auth");
}
- protected get_partitions_ps_with_auth_args getEmptyArgsInstance() {
+ public get_partitions_ps_with_auth_args getEmptyArgsInstance() {
return new get_partitions_ps_with_auth_args();
}
- protected get_partitions_ps_with_auth_result getResult(I iface, get_partitions_ps_with_auth_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partitions_ps_with_auth_result getResult(I iface, get_partitions_ps_with_auth_args args) throws org.apache.thrift.TException {
get_partitions_ps_with_auth_result result = new get_partitions_ps_with_auth_result();
try {
result.success = iface.get_partitions_ps_with_auth(args.db_name, args.tbl_name, args.part_vals, args.max_parts, args.user_name, args.group_names);
@@ -6323,16 +6481,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partition_names_ps<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_names_ps_args> {
+ public static class get_partition_names_ps<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_names_ps_args> {
public get_partition_names_ps() {
super("get_partition_names_ps");
}
- protected get_partition_names_ps_args getEmptyArgsInstance() {
+ public get_partition_names_ps_args getEmptyArgsInstance() {
return new get_partition_names_ps_args();
}
- protected get_partition_names_ps_result getResult(I iface, get_partition_names_ps_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partition_names_ps_result getResult(I iface, get_partition_names_ps_args args) throws org.apache.thrift.TException {
get_partition_names_ps_result result = new get_partition_names_ps_result();
try {
result.success = iface.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts);
@@ -6345,16 +6507,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions_by_filter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_by_filter_args> {
+ public static class get_partitions_by_filter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_by_filter_args> {
public get_partitions_by_filter() {
super("get_partitions_by_filter");
}
- protected get_partitions_by_filter_args getEmptyArgsInstance() {
+ public get_partitions_by_filter_args getEmptyArgsInstance() {
return new get_partitions_by_filter_args();
}
- protected get_partitions_by_filter_result getResult(I iface, get_partitions_by_filter_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partitions_by_filter_result getResult(I iface, get_partitions_by_filter_args args) throws org.apache.thrift.TException {
get_partitions_by_filter_result result = new get_partitions_by_filter_result();
try {
result.success = iface.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts);
@@ -6367,16 +6533,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions_by_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_by_names_args> {
+ public static class get_partitions_by_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_by_names_args> {
public get_partitions_by_names() {
super("get_partitions_by_names");
}
- protected get_partitions_by_names_args getEmptyArgsInstance() {
+ public get_partitions_by_names_args getEmptyArgsInstance() {
return new get_partitions_by_names_args();
}
- protected get_partitions_by_names_result getResult(I iface, get_partitions_by_names_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partitions_by_names_result getResult(I iface, get_partitions_by_names_args args) throws org.apache.thrift.TException {
get_partitions_by_names_result result = new get_partitions_by_names_result();
try {
result.success = iface.get_partitions_by_names(args.db_name, args.tbl_name, args.names);
@@ -6389,16 +6559,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_partition_args> {
+ public static class alter_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_partition_args> {
public alter_partition() {
super("alter_partition");
}
- protected alter_partition_args getEmptyArgsInstance() {
+ public alter_partition_args getEmptyArgsInstance() {
return new alter_partition_args();
}
- protected alter_partition_result getResult(I iface, alter_partition_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_partition_result getResult(I iface, alter_partition_args args) throws org.apache.thrift.TException {
alter_partition_result result = new alter_partition_result();
try {
iface.alter_partition(args.db_name, args.tbl_name, args.new_part);
@@ -6411,16 +6585,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_partitions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_partitions_args> {
+ public static class alter_partitions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_partitions_args> {
public alter_partitions() {
super("alter_partitions");
}
- protected alter_partitions_args getEmptyArgsInstance() {
+ public alter_partitions_args getEmptyArgsInstance() {
return new alter_partitions_args();
}
- protected alter_partitions_result getResult(I iface, alter_partitions_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_partitions_result getResult(I iface, alter_partitions_args args) throws org.apache.thrift.TException {
alter_partitions_result result = new alter_partitions_result();
try {
iface.alter_partitions(args.db_name, args.tbl_name, args.new_parts);
@@ -6433,16 +6611,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_partition_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_partition_with_environment_context_args> {
+ public static class alter_partition_with_environment_context<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_partition_with_environment_context_args> {
public alter_partition_with_environment_context() {
super("alter_partition_with_environment_context");
}
- protected alter_partition_with_environment_context_args getEmptyArgsInstance() {
+ public alter_partition_with_environment_context_args getEmptyArgsInstance() {
return new alter_partition_with_environment_context_args();
}
- protected alter_partition_with_environment_context_result getResult(I iface, alter_partition_with_environment_context_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_partition_with_environment_context_result getResult(I iface, alter_partition_with_environment_context_args args) throws org.apache.thrift.TException {
alter_partition_with_environment_context_result result = new alter_partition_with_environment_context_result();
try {
iface.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context);
@@ -6455,16 +6637,20 @@ public class ThriftHiveMetastore {
}
}
- private static class rename_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, rename_partition_args> {
+ public static class rename_partition<I extends Iface> extends org.apache.thrift.ProcessFunction<I, rename_partition_args> {
public rename_partition() {
super("rename_partition");
}
- protected rename_partition_args getEmptyArgsInstance() {
+ public rename_partition_args getEmptyArgsInstance() {
return new rename_partition_args();
}
- protected rename_partition_result getResult(I iface, rename_partition_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public rename_partition_result getResult(I iface, rename_partition_args args) throws org.apache.thrift.TException {
rename_partition_result result = new rename_partition_result();
try {
iface.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part);
@@ -6477,16 +6663,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_config_value<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_config_value_args> {
+ public static class get_config_value<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_config_value_args> {
public get_config_value() {
super("get_config_value");
}
- protected get_config_value_args getEmptyArgsInstance() {
+ public get_config_value_args getEmptyArgsInstance() {
return new get_config_value_args();
}
- protected get_config_value_result getResult(I iface, get_config_value_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_config_value_result getResult(I iface, get_config_value_args args) throws org.apache.thrift.TException {
get_config_value_result result = new get_config_value_result();
try {
result.success = iface.get_config_value(args.name, args.defaultValue);
@@ -6497,16 +6687,20 @@ public class ThriftHiveMetastore {
}
}
- private static class partition_name_to_vals<I extends Iface> extends org.apache.thrift.ProcessFunction<I, partition_name_to_vals_args> {
+ public static class partition_name_to_vals<I extends Iface> extends org.apache.thrift.ProcessFunction<I, partition_name_to_vals_args> {
public partition_name_to_vals() {
super("partition_name_to_vals");
}
- protected partition_name_to_vals_args getEmptyArgsInstance() {
+ public partition_name_to_vals_args getEmptyArgsInstance() {
return new partition_name_to_vals_args();
}
- protected partition_name_to_vals_result getResult(I iface, partition_name_to_vals_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public partition_name_to_vals_result getResult(I iface, partition_name_to_vals_args args) throws org.apache.thrift.TException {
partition_name_to_vals_result result = new partition_name_to_vals_result();
try {
result.success = iface.partition_name_to_vals(args.part_name);
@@ -6517,16 +6711,20 @@ public class ThriftHiveMetastore {
}
}
- private static class partition_name_to_spec<I extends Iface> extends org.apache.thrift.ProcessFunction<I, partition_name_to_spec_args> {
+ public static class partition_name_to_spec<I extends Iface> extends org.apache.thrift.ProcessFunction<I, partition_name_to_spec_args> {
public partition_name_to_spec() {
super("partition_name_to_spec");
}
- protected partition_name_to_spec_args getEmptyArgsInstance() {
+ public partition_name_to_spec_args getEmptyArgsInstance() {
return new partition_name_to_spec_args();
}
- protected partition_name_to_spec_result getResult(I iface, partition_name_to_spec_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public partition_name_to_spec_result getResult(I iface, partition_name_to_spec_args args) throws org.apache.thrift.TException {
partition_name_to_spec_result result = new partition_name_to_spec_result();
try {
result.success = iface.partition_name_to_spec(args.part_name);
@@ -6537,16 +6735,20 @@ public class ThriftHiveMetastore {
}
}
- private static class markPartitionForEvent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markPartitionForEvent_args> {
+ public static class markPartitionForEvent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markPartitionForEvent_args> {
public markPartitionForEvent() {
super("markPartitionForEvent");
}
- protected markPartitionForEvent_args getEmptyArgsInstance() {
+ public markPartitionForEvent_args getEmptyArgsInstance() {
return new markPartitionForEvent_args();
}
- protected markPartitionForEvent_result getResult(I iface, markPartitionForEvent_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public markPartitionForEvent_result getResult(I iface, markPartitionForEvent_args args) throws org.apache.thrift.TException {
markPartitionForEvent_result result = new markPartitionForEvent_result();
try {
iface.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType);
@@ -6567,16 +6769,20 @@ public class ThriftHiveMetastore {
}
}
- private static class isPartitionMarkedForEvent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isPartitionMarkedForEvent_args> {
+ public static class isPartitionMarkedForEvent<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isPartitionMarkedForEvent_args> {
public isPartitionMarkedForEvent() {
super("isPartitionMarkedForEvent");
}
- protected isPartitionMarkedForEvent_args getEmptyArgsInstance() {
+ public isPartitionMarkedForEvent_args getEmptyArgsInstance() {
return new isPartitionMarkedForEvent_args();
}
- protected isPartitionMarkedForEvent_result getResult(I iface, isPartitionMarkedForEvent_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public isPartitionMarkedForEvent_result getResult(I iface, isPartitionMarkedForEvent_args args) throws org.apache.thrift.TException {
isPartitionMarkedForEvent_result result = new isPartitionMarkedForEvent_result();
try {
result.success = iface.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType);
@@ -6598,16 +6804,20 @@ public class ThriftHiveMetastore {
}
}
- private static class add_index<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_index_args> {
+ public static class add_index<I extends Iface> extends org.apache.thrift.ProcessFunction<I, add_index_args> {
public add_index() {
super("add_index");
}
- protected add_index_args getEmptyArgsInstance() {
+ public add_index_args getEmptyArgsInstance() {
return new add_index_args();
}
- protected add_index_result getResult(I iface, add_index_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public add_index_result getResult(I iface, add_index_args args) throws org.apache.thrift.TException {
add_index_result result = new add_index_result();
try {
result.success = iface.add_index(args.new_index, args.index_table);
@@ -6622,16 +6832,20 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_index<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_index_args> {
+ public static class alter_index<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_index_args> {
public alter_index() {
super("alter_index");
}
- protected alter_index_args getEmptyArgsInstance() {
+ public alter_index_args getEmptyArgsInstance() {
return new alter_index_args();
}
- protected alter_index_result getResult(I iface, alter_index_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public alter_index_result getResult(I iface, alter_index_args args) throws org.apache.thrift.TException {
alter_index_result result = new alter_index_result();
try {
iface.alter_index(args.dbname, args.base_tbl_name, args.idx_name, args.new_idx);
@@ -6644,16 +6858,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_index_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_index_by_name_args> {
+ public static class drop_index_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_index_by_name_args> {
public drop_index_by_name() {
super("drop_index_by_name");
}
- protected drop_index_by_name_args getEmptyArgsInstance() {
+ public drop_index_by_name_args getEmptyArgsInstance() {
return new drop_index_by_name_args();
}
- protected drop_index_by_name_result getResult(I iface, drop_index_by_name_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_index_by_name_result getResult(I iface, drop_index_by_name_args args) throws org.apache.thrift.TException {
drop_index_by_name_result result = new drop_index_by_name_result();
try {
result.success = iface.drop_index_by_name(args.db_name, args.tbl_name, args.index_name, args.deleteData);
@@ -6667,16 +6885,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_index_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_index_by_name_args> {
+ public static class get_index_by_name<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_index_by_name_args> {
public get_index_by_name() {
super("get_index_by_name");
}
- protected get_index_by_name_args getEmptyArgsInstance() {
+ public get_index_by_name_args getEmptyArgsInstance() {
return new get_index_by_name_args();
}
- protected get_index_by_name_result getResult(I iface, get_index_by_name_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_index_by_name_result getResult(I iface, get_index_by_name_args args) throws org.apache.thrift.TException {
get_index_by_name_result result = new get_index_by_name_result();
try {
result.success = iface.get_index_by_name(args.db_name, args.tbl_name, args.index_name);
@@ -6689,16 +6911,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_indexes<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_indexes_args> {
+ public static class get_indexes<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_indexes_args> {
public get_indexes() {
super("get_indexes");
}
- protected get_indexes_args getEmptyArgsInstance() {
+ public get_indexes_args getEmptyArgsInstance() {
return new get_indexes_args();
}
- protected get_indexes_result getResult(I iface, get_indexes_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_indexes_result getResult(I iface, get_indexes_args args) throws org.apache.thrift.TException {
get_indexes_result result = new get_indexes_result();
try {
result.success = iface.get_indexes(args.db_name, args.tbl_name, args.max_indexes);
@@ -6711,16 +6937,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_index_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_index_names_args> {
+ public static class get_index_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_index_names_args> {
public get_index_names() {
super("get_index_names");
}
- protected get_index_names_args getEmptyArgsInstance() {
+ public get_index_names_args getEmptyArgsInstance() {
return new get_index_names_args();
}
- protected get_index_names_result getResult(I iface, get_index_names_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_index_names_result getResult(I iface, get_index_names_args args) throws org.apache.thrift.TException {
get_index_names_result result = new get_index_names_result();
try {
result.success = iface.get_index_names(args.db_name, args.tbl_name, args.max_indexes);
@@ -6731,16 +6961,20 @@ public class ThriftHiveMetastore {
}
}
- private static class update_table_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, update_table_column_statistics_args> {
+ public static class update_table_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, update_table_column_statistics_args> {
public update_table_column_statistics() {
super("update_table_column_statistics");
}
- protected update_table_column_statistics_args getEmptyArgsInstance() {
+ public update_table_column_statistics_args getEmptyArgsInstance() {
return new update_table_column_statistics_args();
}
- protected update_table_column_statistics_result getResult(I iface, update_table_column_statistics_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public update_table_column_statistics_result getResult(I iface, update_table_column_statistics_args args) throws org.apache.thrift.TException {
update_table_column_statistics_result result = new update_table_column_statistics_result();
try {
result.success = iface.update_table_column_statistics(args.stats_obj);
@@ -6758,16 +6992,20 @@ public class ThriftHiveMetastore {
}
}
- private static class update_partition_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, update_partition_column_statistics_args> {
+ public static class update_partition_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, update_partition_column_statistics_args> {
public update_partition_column_statistics() {
super("update_partition_column_statistics");
}
- protected update_partition_column_statistics_args getEmptyArgsInstance() {
+ public update_partition_column_statistics_args getEmptyArgsInstance() {
return new update_partition_column_statistics_args();
}
- protected update_partition_column_statistics_result getResult(I iface, update_partition_column_statistics_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public update_partition_column_statistics_result getResult(I iface, update_partition_column_statistics_args args) throws org.apache.thrift.TException {
update_partition_column_statistics_result result = new update_partition_column_statistics_result();
try {
result.success = iface.update_partition_column_statistics(args.stats_obj);
@@ -6785,16 +7023,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_table_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_column_statistics_args> {
+ public static class get_table_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_table_column_statistics_args> {
public get_table_column_statistics() {
super("get_table_column_statistics");
}
- protected get_table_column_statistics_args getEmptyArgsInstance() {
+ public get_table_column_statistics_args getEmptyArgsInstance() {
return new get_table_column_statistics_args();
}
- protected get_table_column_statistics_result getResult(I iface, get_table_column_statistics_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_table_column_statistics_result getResult(I iface, get_table_column_statistics_args args) throws org.apache.thrift.TException {
get_table_column_statistics_result result = new get_table_column_statistics_result();
try {
result.success = iface.get_table_column_statistics(args.db_name, args.tbl_name, args.col_name);
@@ -6811,16 +7053,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partition_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_column_statistics_args> {
+ public static class get_partition_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partition_column_statistics_args> {
public get_partition_column_statistics() {
super("get_partition_column_statistics");
}
- protected get_partition_column_statistics_args getEmptyArgsInstance() {
+ public get_partition_column_statistics_args getEmptyArgsInstance() {
return new get_partition_column_statistics_args();
}
- protected get_partition_column_statistics_result getResult(I iface, get_partition_column_statistics_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_partition_column_statistics_result getResult(I iface, get_partition_column_statistics_args args) throws org.apache.thrift.TException {
get_partition_column_statistics_result result = new get_partition_column_statistics_result();
try {
result.success = iface.get_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name);
@@ -6837,16 +7083,20 @@ public class ThriftHiveMetastore {
}
}
- private static class delete_partition_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, delete_partition_column_statistics_args> {
+ public static class delete_partition_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, delete_partition_column_statistics_args> {
public delete_partition_column_statistics() {
super("delete_partition_column_statistics");
}
- protected delete_partition_column_statistics_args getEmptyArgsInstance() {
+ public delete_partition_column_statistics_args getEmptyArgsInstance() {
return new delete_partition_column_statistics_args();
}
- protected delete_partition_column_statistics_result getResult(I iface, delete_partition_column_statistics_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public delete_partition_column_statistics_result getResult(I iface, delete_partition_column_statistics_args args) throws org.apache.thrift.TException {
delete_partition_column_statistics_result result = new delete_partition_column_statistics_result();
try {
result.success = iface.delete_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name);
@@ -6864,16 +7114,20 @@ public class ThriftHiveMetastore {
}
}
- private static class delete_table_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, delete_table_column_statistics_args> {
+ public static class delete_table_column_statistics<I extends Iface> extends org.apache.thrift.ProcessFunction<I, delete_table_column_statistics_args> {
public delete_table_column_statistics() {
super("delete_table_column_statistics");
}
- protected delete_table_column_statistics_args getEmptyArgsInstance() {
+ public delete_table_column_statistics_args getEmptyArgsInstance() {
return new delete_table_column_statistics_args();
}
- protected delete_table_column_statistics_result getResult(I iface, delete_table_column_statistics_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public delete_table_column_statistics_result getResult(I iface, delete_table_column_statistics_args args) throws org.apache.thrift.TException {
delete_table_column_statistics_result result = new delete_table_column_statistics_result();
try {
result.success = iface.delete_table_column_statistics(args.db_name, args.tbl_name, args.col_name);
@@ -6891,16 +7145,20 @@ public class ThriftHiveMetastore {
}
}
- private static class create_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_role_args> {
+ public static class create_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_role_args> {
public create_role() {
super("create_role");
}
- protected create_role_args getEmptyArgsInstance() {
+ public create_role_args getEmptyArgsInstance() {
return new create_role_args();
}
- protected create_role_result getResult(I iface, create_role_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public create_role_result getResult(I iface, create_role_args args) throws org.apache.thrift.TException {
create_role_result result = new create_role_result();
try {
result.success = iface.create_role(args.role);
@@ -6912,16 +7170,20 @@ public class ThriftHiveMetastore {
}
}
- private static class drop_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_role_args> {
+ public static class drop_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_role_args> {
public drop_role() {
super("drop_role");
}
- protected drop_role_args getEmptyArgsInstance() {
+ public drop_role_args getEmptyArgsInstance() {
return new drop_role_args();
}
- protected drop_role_result getResult(I iface, drop_role_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public drop_role_result getResult(I iface, drop_role_args args) throws org.apache.thrift.TException {
drop_role_result result = new drop_role_result();
try {
result.success = iface.drop_role(args.role_name);
@@ -6933,16 +7195,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_role_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_role_names_args> {
+ public static class get_role_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_role_names_args> {
public get_role_names() {
super("get_role_names");
}
- protected get_role_names_args getEmptyArgsInstance() {
+ public get_role_names_args getEmptyArgsInstance() {
return new get_role_names_args();
}
- protected get_role_names_result getResult(I iface, get_role_names_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_role_names_result getResult(I iface, get_role_names_args args) throws org.apache.thrift.TException {
get_role_names_result result = new get_role_names_result();
try {
result.success = iface.get_role_names();
@@ -6953,16 +7219,20 @@ public class ThriftHiveMetastore {
}
}
- private static class grant_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, grant_role_args> {
+ public static class grant_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, grant_role_args> {
public grant_role() {
super("grant_role");
}
- protected grant_role_args getEmptyArgsInstance() {
+ public grant_role_args getEmptyArgsInstance() {
return new grant_role_args();
}
- protected grant_role_result getResult(I iface, grant_role_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public grant_role_result getResult(I iface, grant_role_args args) throws org.apache.thrift.TException {
grant_role_result result = new grant_role_result();
try {
result.success = iface.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option);
@@ -6974,16 +7244,20 @@ public class ThriftHiveMetastore {
}
}
- private static class revoke_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, revoke_role_args> {
+ public static class revoke_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, revoke_role_args> {
public revoke_role() {
super("revoke_role");
}
- protected revoke_role_args getEmptyArgsInstance() {
+ public revoke_role_args getEmptyArgsInstance() {
return new revoke_role_args();
}
- protected revoke_role_result getResult(I iface, revoke_role_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public revoke_role_result getResult(I iface, revoke_role_args args) throws org.apache.thrift.TException {
revoke_role_result result = new revoke_role_result();
try {
result.success = iface.revoke_role(args.role_name, args.principal_name, args.principal_type);
@@ -6995,16 +7269,20 @@ public class ThriftHiveMetastore {
}
}
- private static class list_roles<I extends Iface> extends org.apache.thrift.ProcessFunction<I, list_roles_args> {
+ public static class list_roles<I extends Iface> extends org.apache.thrift.ProcessFunction<I, list_roles_args> {
public list_roles() {
super("list_roles");
}
- protected list_roles_args getEmptyArgsInstance() {
+ public list_roles_args getEmptyArgsInstance() {
return new list_roles_args();
}
- protected list_roles_result getResult(I iface, list_roles_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public list_roles_result getResult(I iface, list_roles_args args) throws org.apache.thrift.TException {
list_roles_result result = new list_roles_result();
try {
result.success = iface.list_roles(args.principal_name, args.principal_type);
@@ -7015,16 +7293,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_privilege_set<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_privilege_set_args> {
+ public static class get_privilege_set<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_privilege_set_args> {
public get_privilege_set() {
super("get_privilege_set");
}
- protected get_privilege_set_args getEmptyArgsInstance() {
+ public get_privilege_set_args getEmptyArgsInstance() {
return new get_privilege_set_args();
}
- protected get_privilege_set_result getResult(I iface, get_privilege_set_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_privilege_set_result getResult(I iface, get_privilege_set_args args) throws org.apache.thrift.TException {
get_privilege_set_result result = new get_privilege_set_result();
try {
result.success = iface.get_privilege_set(args.hiveObject, args.user_name, args.group_names);
@@ -7035,16 +7317,20 @@ public class ThriftHiveMetastore {
}
}
- private static class list_privileges<I extends Iface> extends org.apache.thrift.ProcessFunction<I, list_privileges_args> {
+ public static class list_privileges<I extends Iface> extends org.apache.thrift.ProcessFunction<I, list_privileges_args> {
public list_privileges() {
super("list_privileges");
}
- protected list_privileges_args getEmptyArgsInstance() {
+ public list_privileges_args getEmptyArgsInstance() {
return new list_privileges_args();
}
- protected list_privileges_result getResult(I iface, list_privileges_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public list_privileges_result getResult(I iface, list_privileges_args args) throws org.apache.thrift.TException {
list_privileges_result result = new list_privileges_result();
try {
result.success = iface.list_privileges(args.principal_name, args.principal_type, args.hiveObject);
@@ -7055,16 +7341,20 @@ public class ThriftHiveMetastore {
}
}
- private static class grant_privileges<I extends Iface> extends org.apache.thrift.ProcessFunction<I, grant_privileges_args> {
+ public static class grant_privileges<I extends Iface> extends org.apache.thrift.ProcessFunction<I, grant_privileges_args> {
public grant_privileges() {
super("grant_privileges");
}
- protected grant_privileges_args getEmptyArgsInstance() {
+ public grant_privileges_args getEmptyArgsInstance() {
return new grant_privileges_args();
}
- protected grant_privileges_result getResult(I iface, grant_privileges_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public grant_privileges_result getResult(I iface, grant_privileges_args args) throws org.apache.thrift.TException {
grant_privileges_result result = new grant_privileges_result();
try {
result.success = iface.grant_privileges(args.privileges);
@@ -7076,16 +7366,20 @@ public class ThriftHiveMetastore {
}
}
- private static class revoke_privileges<I extends Iface> extends org.apache.thrift.ProcessFunction<I, revoke_privileges_args> {
+ public static class revoke_privileges<I extends Iface> extends org.apache.thrift.ProcessFunction<I, revoke_privileges_args> {
public revoke_privileges() {
super("revoke_privileges");
}
- protected revoke_privileges_args getEmptyArgsInstance() {
+ public revoke_privileges_args getEmptyArgsInstance() {
return new revoke_privileges_args();
}
- protected revoke_privileges_result getResult(I iface, revoke_privileges_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public revoke_privileges_result getResult(I iface, revoke_privileges_args args) throws org.apache.thrift.TException {
revoke_privileges_result result = new revoke_privileges_result();
try {
result.success = iface.revoke_privileges(args.privileges);
@@ -7097,16 +7391,20 @@ public class ThriftHiveMetastore {
}
}
- private static class set_ugi<I extends Iface> extends org.apache.thrift.ProcessFunction<I, set_ugi_args> {
+ public static class set_ugi<I extends Iface> extends org.apache.thrift.ProcessFunction<I, set_ugi_args> {
public set_ugi() {
super("set_ugi");
}
- protected set_ugi_args getEmptyArgsInstance() {
+ public set_ugi_args getEmptyArgsInstance() {
return new set_ugi_args();
}
- protected set_ugi_result getResult(I iface, set_ugi_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public set_ugi_result getResult(I iface, set_ugi_args args) throws org.apache.thrift.TException {
set_ugi_result result = new set_ugi_result();
try {
result.success = iface.set_ugi(args.user_name, args.group_names);
@@ -7117,16 +7415,20 @@ public class ThriftHiveMetastore {
}
}
- private static class get_delegation_token<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_delegation_token_args> {
+ public static class get_delegation_token<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_delegation_token_args> {
public get_delegation_token() {
super("get_delegation_token");
}
- protected get_delegation_token_args getEmptyArgsInstance() {
+ public get_delegation_token_args getEmptyArgsInstance() {
return new get_delegation_token_args();
}
- protected get_delegation_token_result getResult(I iface, get_delegation_token_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_delegation_token_result getResult(I iface, get_delegation_token_args args) throws org.apache.thrift.TException {
get_delegation_token_result result = new get_delegation_token_result();
try {
result.success = iface.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name);
@@ -7137,16 +7439,20 @@ public class ThriftHiveMetastore {
}
}
- private static class renew_delegation_token<I extends Iface> extends org.apache.thrift.ProcessFunction<I, renew_delegation_token_args> {
+ public static class renew_delegation_token<I extends Iface> extends org.apache.thrift.ProcessFunction<I, renew_delegation_token_args> {
public renew_delegation_token() {
super("renew_delegation_token");
}
- protected renew_delegation_token_args getEmptyArgsInstance() {
+ public renew_delegation_token_args getEmptyArgsInstance() {
return new renew_delegation_token_args();
}
- protected renew_delegation_token_result getResult(I iface, renew_delegation_token_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public renew_delegation_token_result getResult(I iface, renew_delegation_token_args args) throws org.apache.thrift.TException {
renew_delegation_token_result result = new renew_delegation_token_result();
try {
result.success = iface.renew_delegation_token(args.token_str_form);
@@ -7158,16 +7464,20 @@ public class ThriftHiveMetastore {
}
}
- private static class cancel_delegation_token<I extends Iface> extends org.apache.thrift.ProcessFunction<I, cancel_delegation_token_args> {
+ public static class cancel_delegation_token<I extends Iface> extends org.apache.thrift.ProcessFunction<I, cancel_delegation_token_args> {
public cancel_delegation_token() {
super("cancel_delegation_token");
}
- protected cancel_delegation_token_args getEmptyArgsInstance() {
+ public cancel_delegation_token_args getEmptyArgsInstance() {
return new cancel_delegation_token_args();
}
- protected cancel_delegation_token_result getResult(I iface, cancel_delegation_token_args args) throws org.apache.thrift.TException {
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public cancel_delegation_token_result getResult(I iface, cancel_delegation_token_args args) throws org.apache.thrift.TException {
cancel_delegation_token_result result = new cancel_delegation_token_result();
try {
iface.cancel_delegation_token(args.token_str_form);
@@ -7185,6 +7495,12 @@ public class ThriftHiveMetastore {
private static final org.apache.thrift.protocol.TField DATABASE_FIELD_DESC = new org.apache.thrift.protocol.TField("database", 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 create_database_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new create_database_argsTupleSchemeFactory());
+ }
+
private Database database; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -7246,7 +7562,6 @@ public class ThriftHiveMetastore {
}
// 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);
@@ -7405,43 +7720,11 @@ public class ThriftHiveMetastore {
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
- org.apache.thrift.protocol.TField field;
- iprot.readStructBegin();
- while (true)
- {
- field = iprot.readFieldBegin();
- if (field.type == org.apache.thrift.protocol.TType.STOP) {
- break;
- }
- switch (field.id) {
- case 1: // DATABASE
- if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
- this.database = new Database();
- this.database.read(iprot);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
- }
- break;
- default:
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
- }
- iprot.readFieldEnd();
- }
- iprot.readStructEnd();
- validate();
+ schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
- validate();
-
- oprot.writeStructBegin(STRUCT_DESC);
- if (this.database != null) {
- oprot.writeFieldBegin(DATABASE_FIELD_DESC);
- this.database.write(oprot);
- oprot.writeFieldEnd();
- }
- oprot.writeFieldStop();
- oprot.writeStructEnd();
+ schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
@@ -7462,6 +7745,10 @@ public class ThriftHiveMetastore {
public void validate() throws org.apache.thrift.TException {
// check for required fields
+ // check for sub-struct validity
+ if (database != null) {
+ database.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -7480,6 +7767,90 @@ public class ThriftHiveMetastore {
}
}
[... 37936 lines stripped ...]