当前位置: 首页>>代码示例>>Java>>正文


Java PigLogger类代码示例

本文整理汇总了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); 
    }           
}
 
开发者ID:sigmoidanalytics,项目名称:spork-streaming,代码行数:11,代码来源:LogUtils.java

示例2: getPigLogger

import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
public PigLogger getPigLogger() {
    return pigLogger;
}
 
开发者ID:sigmoidanalytics,项目名称:spork-streaming,代码行数:4,代码来源:EvalFunc.java

示例3: StatusCallbackListenerImpl

import org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger; //导入依赖的package包/类
public StatusCallbackListenerImpl(PigLogger logger) {
	this.logger = logger;
}
 
开发者ID:pcodding,项目名称:hadoop_ctakes,代码行数:4,代码来源:PROCESSPAGE.java

示例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;
}
 
开发者ID:sigmoidanalytics,项目名称:spork-streaming,代码行数:9,代码来源:EvalFunc.java

示例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;
}
 
开发者ID:sigmoidanalytics,项目名称:spork,代码行数:9,代码来源:EvalFunc.java


注:本文中的org.apache.pig.backend.hadoop.executionengine.physicalLayer.PigLogger类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。