public class org.apache.hadoop.hive.metastore.properties.HMSPropertyManager extends org.apache.hadoop.hive.metastore.properties.PropertyManager
{
private static final java.lang.String CLUSTER_PREFIX;
private static final java.lang.String DATABASE_PREFIX;
private static final java.lang.String TABLE_PREFIX;
private static final java.util.Map MOP;
private static final java.util.Map MOS;
public static final org.apache.hadoop.hive.metastore.properties.PropertyType MAINTENANCE_OPERATION;
public static final org.apache.hadoop.hive.metastore.properties.PropertyType MAINTENANCE_STATUS;
public static final org.apache.hadoop.hive.metastore.properties.PropertySchema CLUSTER_SCHEMA;
public static final org.apache.hadoop.hive.metastore.properties.PropertySchema DATABASE_SCHEMA;
public static final org.apache.hadoop.hive.metastore.properties.PropertySchema TABLE_SCHEMA;
private static final org.apache.hadoop.hive.metastore.properties.PropertySchema[] SCHEMAS;
public static org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpType findOpType(int)
{
java.util.Map v;
int v;
java.lang.Object v;
java.lang.Integer v;
v := @parameter: int;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: java.util.Map MOP>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
return v;
}
public static org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpStatus findOpStatus(int)
{
java.util.Map v;
int v;
java.lang.Object v;
java.lang.Integer v;
v := @parameter: int;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: java.util.Map MOS>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
return v;
}
public void <init>(java.lang.String, org.apache.hadoop.hive.metastore.properties.PropertyStore)
{
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager v;
java.lang.Object v;
org.apache.hadoop.hive.metastore.properties.PropertyStore v;
java.lang.String v;
v := @this: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager;
v := @parameter: java.lang.String;
v := @parameter: org.apache.hadoop.hive.metastore.properties.PropertyStore;
v = staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object)>(v);
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertyManager: void <init>(java.lang.String,org.apache.hadoop.hive.metastore.properties.PropertyStore)>(v, v);
return;
}
public void <init>(org.apache.hadoop.hive.metastore.properties.PropertyStore)
{
org.apache.hadoop.hive.metastore.properties.PropertyStore v;
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager v;
v := @this: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager;
v := @parameter: org.apache.hadoop.hive.metastore.properties.PropertyStore;
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: void <init>(java.lang.String,org.apache.hadoop.hive.metastore.properties.PropertyStore)>("hms", v);
return;
}
public static void declareClusterProperty(java.lang.String, org.apache.hadoop.hive.metastore.properties.PropertyType, java.lang.Object)
{
org.apache.hadoop.hive.metastore.properties.PropertySchema v;
org.apache.hadoop.hive.metastore.properties.PropertyType v;
java.lang.Object v;
java.lang.String v;
v := @parameter: java.lang.String;
v := @parameter: org.apache.hadoop.hive.metastore.properties.PropertyType;
v := @parameter: java.lang.Object;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema CLUSTER_SCHEMA>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertySchema: boolean declareProperty(java.lang.String,org.apache.hadoop.hive.metastore.properties.PropertyType,java.lang.Object)>(v, v, v);
return;
}
public static void declareDatabaseProperty(java.lang.String, org.apache.hadoop.hive.metastore.properties.PropertyType, java.lang.Object)
{
org.apache.hadoop.hive.metastore.properties.PropertySchema v;
org.apache.hadoop.hive.metastore.properties.PropertyType v;
java.lang.Object v;
java.lang.String v;
v := @parameter: java.lang.String;
v := @parameter: org.apache.hadoop.hive.metastore.properties.PropertyType;
v := @parameter: java.lang.Object;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema DATABASE_SCHEMA>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertySchema: boolean declareProperty(java.lang.String,org.apache.hadoop.hive.metastore.properties.PropertyType,java.lang.Object)>(v, v, v);
return;
}
public static void declareTableProperty(java.lang.String, org.apache.hadoop.hive.metastore.properties.PropertyType, java.lang.Object)
{
org.apache.hadoop.hive.metastore.properties.PropertySchema v;
org.apache.hadoop.hive.metastore.properties.PropertyType v;
java.lang.Object v;
java.lang.String v;
v := @parameter: java.lang.String;
v := @parameter: org.apache.hadoop.hive.metastore.properties.PropertyType;
v := @parameter: java.lang.Object;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema TABLE_SCHEMA>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertySchema: boolean declareProperty(java.lang.String,org.apache.hadoop.hive.metastore.properties.PropertyType,java.lang.Object)>(v, v, v);
return;
}
public org.apache.hadoop.hive.metastore.properties.PropertySchema getSchema(java.lang.String)
{
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager v;
org.apache.hadoop.hive.metastore.properties.PropertySchema v, v, v;
byte v;
int v;
java.lang.String v;
boolean v, v, v;
v := @this: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager;
v := @parameter: java.lang.String;
v = -1;
v = virtualinvoke v.<java.lang.String: int hashCode()>();
lookupswitch(v)
{
case 110115790: goto label;
case 872092154: goto label;
case 1789464955: goto label;
default: goto label;
};
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("cluster");
if v == 0 goto label;
v = 0;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("database");
if v == 0 goto label;
v = 1;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("table");
if v == 0 goto label;
v = 2;
label:
tableswitch(v)
{
case 0: goto label;
case 1: goto label;
case 2: goto label;
default: goto label;
};
label:
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema CLUSTER_SCHEMA>;
return v;
label:
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema DATABASE_SCHEMA>;
return v;
label:
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema TABLE_SCHEMA>;
return v;
label:
return null;
}
protected org.apache.hadoop.hive.metastore.properties.PropertySchema schemaOf(java.lang.String[])
{
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager v;
org.apache.hadoop.hive.metastore.properties.PropertySchema v;
java.lang.String[] v;
org.apache.hadoop.hive.metastore.properties.PropertySchema[] v, v;
int v, v, v, v, v;
v := @this: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager;
v := @parameter: java.lang.String[];
v = lengthof v;
if v <= 0 goto label;
v = lengthof v;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema[] SCHEMAS>;
v = lengthof v;
if v >= v goto label;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema[] SCHEMAS>;
v = lengthof v;
v = v - 1;
v = v[v];
goto label;
label:
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema TABLE_SCHEMA>;
label:
return v;
}
protected int getMapNameLength(java.lang.String[])
{
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager v;
int v;
java.lang.String[] v;
org.apache.hadoop.hive.metastore.properties.PropertySchema[] v;
v := @this: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager;
v := @parameter: java.lang.String[];
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema[] SCHEMAS>;
v = lengthof v;
return v;
}
static void <clinit>()
{
org.apache.hadoop.hive.metastore.properties.PropertySchema v, v, v, v, v, v;
java.util.HashMap v, v;
int v, v;
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpType[] v, v;
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpStatus[] v, v;
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$1 v;
org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$2 v;
org.apache.hadoop.hive.metastore.properties.PropertySchema[] v;
java.util.function.Consumer v, v;
java.util.stream.Stream v, v;
java.util.TreeMap v, v, v;
org.apache.hadoop.hive.metastore.properties.PropertyType v, v;
staticinvoke <org.apache.hadoop.hive.metastore.properties.PropertyManager: boolean declare(java.lang.String,java.lang.Class)>("hms", class "Lorg/apache/hadoop/hive/metastore/properties/HMSPropertyManager;");
v = new java.util.HashMap;
v = staticinvoke <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpType: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpType[] values()>();
v = lengthof v;
specialinvoke v.<java.util.HashMap: void <init>(int)>(v);
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: java.util.Map MOP> = v;
v = staticinvoke <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpType: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpType[] values()>();
v = staticinvoke <java.util.Arrays: java.util.stream.Stream stream(java.lang.Object[])>(v);
v = staticinvoke <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$lambda_static_0__28: java.util.function.Consumer bootstrap$()>();
interfaceinvoke v.<java.util.stream.Stream: void forEach(java.util.function.Consumer)>(v);
v = new java.util.HashMap;
v = staticinvoke <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpStatus: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpStatus[] values()>();
v = lengthof v;
specialinvoke v.<java.util.HashMap: void <init>(int)>(v);
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: java.util.Map MOS> = v;
v = staticinvoke <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpStatus: org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$MaintenanceOpStatus[] values()>();
v = staticinvoke <java.util.Arrays: java.util.stream.Stream stream(java.lang.Object[])>(v);
v = staticinvoke <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$lambda_static_1__29: java.util.function.Consumer bootstrap$()>();
interfaceinvoke v.<java.util.stream.Stream: void forEach(java.util.function.Consumer)>(v);
v = new org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$1;
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$1: void <init>(java.lang.String)>("MaintenanceOperation");
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertyType MAINTENANCE_OPERATION> = v;
v = new org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$2;
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager$2: void <init>(java.lang.String)>("MaintenanceStatus");
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertyType MAINTENANCE_STATUS> = v;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertyType MAINTENANCE_OPERATION>;
staticinvoke <org.apache.hadoop.hive.metastore.properties.PropertyType: boolean register(org.apache.hadoop.hive.metastore.properties.PropertyType)>(v);
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertyType MAINTENANCE_STATUS>;
staticinvoke <org.apache.hadoop.hive.metastore.properties.PropertyType: boolean register(org.apache.hadoop.hive.metastore.properties.PropertyType)>(v);
v = new java.util.TreeMap;
specialinvoke v.<java.util.TreeMap: void <init>()>();
v = new org.apache.hadoop.hive.metastore.properties.PropertySchema;
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertySchema: void <init>(java.lang.String,int,java.util.Map)>("cluster", 1, v);
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema CLUSTER_SCHEMA> = v;
v = new java.util.TreeMap;
specialinvoke v.<java.util.TreeMap: void <init>()>();
v = new org.apache.hadoop.hive.metastore.properties.PropertySchema;
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertySchema: void <init>(java.lang.String,int,java.util.Map)>("database", 1, v);
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema DATABASE_SCHEMA> = v;
v = new java.util.TreeMap;
specialinvoke v.<java.util.TreeMap: void <init>()>();
v = new org.apache.hadoop.hive.metastore.properties.PropertySchema;
specialinvoke v.<org.apache.hadoop.hive.metastore.properties.PropertySchema: void <init>(java.lang.String,int,java.util.Map)>("table", 1, v);
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema TABLE_SCHEMA> = v;
v = newarray (org.apache.hadoop.hive.metastore.properties.PropertySchema)[3];
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema CLUSTER_SCHEMA>;
v[0] = v;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema DATABASE_SCHEMA>;
v[1] = v;
v = <org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema TABLE_SCHEMA>;
v[2] = v;
<org.apache.hadoop.hive.metastore.properties.HMSPropertyManager: org.apache.hadoop.hive.metastore.properties.PropertySchema[] SCHEMAS> = v;
return;
}
}