com.bigdata.relation.rule.eval
Class ChunkTrace

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

public class ChunkTrace
extends Object

Utility class that may be used to trace the chunks accepted for join processing for each predicate. The output has the form

 n[m]
 
where n is the evaluation order of the predicate and m is the #of elements in the chunk.

Version:
$Id: ChunkTrace.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
protected static int col
          Zero to enable the System.err trace of chunks accepted for each join dimension -or- -1 to disable.
 
Constructor Summary
ChunkTrace()
           
 
Method Summary
static void chunk(int orderIndex, Object[] chunk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

col

protected static int col
Zero to enable the System.err trace of chunks accepted for each join dimension -or- -1 to disable. This field is the column count of the output and is used to wrap the output so as to not cause eclipse undue distress with long lines.

Note: This is static so that it will count for all concurrent JoinTask for some JoinMasterTask, at least those running in the same JVM.

Constructor Detail

ChunkTrace

public ChunkTrace()
Method Detail

chunk

public static final void chunk(int orderIndex,
                               Object[] chunk)


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