com.google.visualization.datasource.query.engine
Class AggregationPath

java.lang.Object
  extended by com.google.visualization.datasource.query.engine.AggregationPath

public class AggregationPath
extends java.lang.Object

An ordered list of values representing a path in an aggregation tree, from the root to a node. Only the values are stored, not the nodes themselves.

Author:
Yoav G.

Constructor Summary
AggregationPath()
          Construct an empty path.
 
Method Summary
 void add(Value value)
          Adds a value to this path.
 java.util.List<Value> getValues()
          Returns the list of values.
 void reverse()
          Reverses this path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationPath

public AggregationPath()
Construct an empty path.

Method Detail

add

public void add(Value value)
Adds a value to this path.

Parameters:
value - The value to add.

getValues

public java.util.List<Value> getValues()
Returns the list of values. This list is immutable.

Returns:
The list of values. This list is immutable.

reverse

public void reverse()
Reverses this path.



Copyright © 2009 Google. All Rights Reserved.