Пример #1
0
 OrcConfDetails(OrcConf value, string attribute,
                string hiveConfName,
                object defaultValue,
                string description)
 {
     this.value        = value;
     this.attribute    = attribute;
     this.hiveConfName = hiveConfName;
     this.defaultValue = defaultValue;
     this.description  = description;
 }
Пример #2
0
 internal static OrcConfDetails Get(OrcConf orcConf)
 {
     return details[(int)orcConf];
 }
Пример #3
0
 OrcConfDetails(OrcConf value, string attribute,
         string hiveConfName,
         object defaultValue,
         string description)
 {
     this.value = value;
     this.attribute = attribute;
     this.hiveConfName = hiveConfName;
     this.defaultValue = defaultValue;
     this.description = description;
 }
Пример #4
0
 public static double getDouble(this OrcConf orcConf, Configuration conf)
 {
     return(OrcConfDetails.details[(int)orcConf].getDouble(null, conf));
 }
Пример #5
0
 public static string getString(this OrcConf orcConf, Configuration conf)
 {
     return(OrcConfDetails.details[(int)orcConf].getString(null, conf));
 }
Пример #6
0
 public static bool getBoolean(this OrcConf orcConf, Configuration conf)
 {
     return(OrcConfDetails.details[(int)orcConf].getBoolean(null, conf));
 }
Пример #7
0
 public static string getString(this OrcConf orcConf, Properties tbl, Configuration conf)
 {
     return(OrcConfDetails.details[(int)orcConf].getString(tbl, conf));
 }
Пример #8
0
 public static string getDescription(this OrcConf orcConf)
 {
     return(OrcConfDetails.details[(int)orcConf].attribute);
 }
Пример #9
0
 public static object getDefaultValue(this OrcConf orcConf)
 {
     return(OrcConfDetails.details[(int)orcConf].defaultValue);
 }
Пример #10
0
 public static string getHiveConfName(this OrcConf orcConf)
 {
     return(OrcConfDetails.details[(int)orcConf].hiveConfName);
 }
Пример #11
0
 internal static OrcConfDetails Get(OrcConf orcConf)
 {
     return(details[(int)orcConf]);
 }