本文整理汇总了Java中org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger类的典型用法代码示例。如果您正苦于以下问题:Java PigLogger类的具体用法?Java PigLogger怎么用?Java PigLogger使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PigLogger类属于org.apache.pig.backend.hadoop.executionengine.physicalLayer包,在下文中一共展示了PigLogger类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: warn
import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
public static void warn(Object o, String msg, PigWarning warningEnum,
Log log) {
PigLogger pigLogger = PhysicalOperator.getPigLogger();
if(pigLogger != null) {
pigLogger.warn(o, msg, warningEnum);
} else {
log.warn(msg);
}
}
示例2: getPigLogger
import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
public PigLogger getPigLogger() {
return pigLogger;
}
示例3: StatusCallbackListenerImpl
import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
public StatusCallbackListenerImpl(PigLogger logger) {
this.logger = logger;
}
示例4: setPigLogger
import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
/**
* Set the PigLogger object. Called by Pig to provide a reference
* to the UDF.
* @param pigLogger PigLogger object.
*/
public final void setPigLogger(PigLogger pigLogger) {
this.pigLogger = pigLogger;
}
示例5: setPigLogger
import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
/**
* Set the PigLogger object. Called by Pig to provide a reference
* to the UDF.
* @param pigLogger PigLogger object.
*/
public final void setPigLogger(PigLogger pigLogger) {
this.pigLogger = pigLogger;
}