/** * Determines if the connector has been configured. * * @param job the Hadoop context for the configured job * @return true if the connector has been configured, false otherwise * @since 1.5.0 * @see #setConnectorInfo(JobConf, String, AuthenticationToken) */ protected static Boolean isConnectorInfoSet(JobConf job) { return InputConfigurator.isConnectorInfoSet(CLASS, job); }
/** * Determines if the connector has been configured. * * @param context the Hadoop context for the configured job * @return true if the connector has been configured, false otherwise * @since 1.5.0 * @see #setConnectorInfo(Job, String, AuthenticationToken) */ protected static Boolean isConnectorInfoSet(JobContext context) { return InputConfigurator.isConnectorInfoSet(CLASS, context.getConfiguration()); }