コード例 #1
0
 /**
  * Fetches all {@link InputTableConfig}s that have been set on the given Hadoop job.
  *
  * @param job the Hadoop job instance to be configured
  * @return the {@link InputTableConfig} objects set on the job
  * @since 1.6.0
  */
 public static Map<String, InputTableConfig> getInputTableConfigs(JobConf job) {
   return InputConfigurator.getInputTableConfigs(CLASS, job);
 }
コード例 #2
0
 /**
  * Fetches all {@link InputTableConfig}s that have been set on the given job.
  *
  * @param context the Hadoop job instance to be configured
  * @return the {@link InputTableConfig} objects for the job
  * @since 1.6.0
  */
 protected static Map<String, InputTableConfig> getInputTableConfigs(JobContext context) {
   return InputConfigurator.getInputTableConfigs(CLASS, context.getConfiguration());
 }