com.bigdata.counters.render
Class TabDelimitedHistoryTableRenderer

java.lang.Object
  extended by com.bigdata.counters.render.HistoryTableRenderer
      extended by com.bigdata.counters.render.TabDelimitedHistoryTableRenderer
All Implemented Interfaces:
IRenderer

public class TabDelimitedHistoryTableRenderer
extends HistoryTableRenderer

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

Field Summary
 
Fields inherited from class com.bigdata.counters.render.HistoryTableRenderer
formatter, pattern, t
 
Constructor Summary
TabDelimitedHistoryTableRenderer(HistoryTable tbl, Pattern pattern, ValueFormatter formatter)
           
 
Method Summary
 void render(Writer w)
          Generate the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabDelimitedHistoryTableRenderer

public TabDelimitedHistoryTableRenderer(HistoryTable tbl,
                                        Pattern pattern,
                                        ValueFormatter formatter)
Parameters:
tbl -
pattern - Used to identify capturing groups and extract column labels.
formatter -
Method Detail

render

public void render(Writer w)
            throws IOException
Generate the table.

The table has one column for each counter having history data. The 1st header row of the table has the counter path. The seconds header row has just the counter name. The data rows are the samples from each period of the history for each counter.

Parameters:
w - Where to write the data.
Throws:
IOException


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