net.esper.filter
Class IndexTreePath

java.lang.Object
  extended by net.esper.filter.IndexTreePath

public class IndexTreePath
extends Object

Encapsulates the information required by IndexTreeBuilder to maintain the filter parameter tree structure when filters are added and removed from the tree.


Constructor Summary
IndexTreePath()
          Constructor.
 
Method Summary
 void add(FilterParamIndexBase index, Object filteredForValue)
          Add an index to end of the list representing a path through indexes.
 Pair<FilterParamIndexBase,Object> removeFirst()
          Remove and return first index.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexTreePath

public IndexTreePath()
Constructor.

Method Detail

add

public final void add(FilterParamIndexBase index,
                      Object filteredForValue)
Add an index to end of the list representing a path through indexes.

Parameters:
index - to add
filteredForValue - is the value the index filters

removeFirst

public final Pair<FilterParamIndexBase,Object> removeFirst()
Remove and return first index.

Returns:
first index

toString

public final String toString()
Overrides:
toString in class Object