com.espertech.esper.epl.join.plan
Class NStreamQueryPlanBuilder.BestChainResult

java.lang.Object
  extended by com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.BestChainResult
Enclosing class:
NStreamQueryPlanBuilder

public static class NStreamQueryPlanBuilder.BestChainResult
extends java.lang.Object

Encapsulates the chain information.


Constructor Summary
NStreamQueryPlanBuilder.BestChainResult(int depth, int[] chain)
          Ctor.
 
Method Summary
 int[] getChain()
          Returns chain of stream numbers.
 int getDepth()
          Returns depth of lookups via index in chain.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NStreamQueryPlanBuilder.BestChainResult

public NStreamQueryPlanBuilder.BestChainResult(int depth,
                                               int[] chain)
Ctor.

Parameters:
depth - - depth this chain resolves into a indexed lookup
chain - - chain for nested lookup
Method Detail

getDepth

public int getDepth()
Returns depth of lookups via index in chain.

Returns:
depth

getChain

public int[] getChain()
Returns chain of stream numbers.

Returns:
array of stream numbers

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com