com.bigdata.relation.rule.eval
Class RuleLog

java.lang.Object
  extended by com.bigdata.relation.rule.eval.RuleLog

public class RuleLog
extends Object

Class defines the log on which rule execution statistics are written. This covers both query evaluation and mutation operations such as fixed point closure of a rule set.

Version:
$Id: RuleLog.java 3448 2010-08-18 20:55:58Z thompsonbry $
Author:
Bryan Thompson

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
RuleLog()
           
 
Method Summary
static void log(IRule rule, IRuleState ruleState, JoinStats[] joinStats)
          Log distributed join execution statistics using a CSV format.
static void log(RuleStats stats)
          Log rule execution statistics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final transient org.apache.log4j.Logger log
Constructor Detail

RuleLog

public RuleLog()
Method Detail

log

public static void log(RuleStats stats)
Log rule execution statistics.

Parameters:
stats - The rule execution statistics.

log

public static void log(IRule rule,
                       IRuleState ruleState,
                       JoinStats[] joinStats)
Log distributed join execution statistics using a CSV format.

Parameters:
rule - The IRule whose JoinStats are being reported.
ruleState - Contains details about evaluation order for the IPredicates in the tail of the rule, the access paths that were used, etc.
joinStats - The statistics for the distributed join tasks for each join dimension in the rule.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.