org.jboss.dna.graph.query.process
Class IntersectComponent

java.lang.Object
  extended by org.jboss.dna.graph.query.process.ProcessingComponent
      extended by org.jboss.dna.graph.query.process.SetOperationComponent
          extended by org.jboss.dna.graph.query.process.IntersectComponent

public class IntersectComponent
extends SetOperationComponent


Constructor Summary
IntersectComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
 
Method Summary
 List<Object[]> execute()
          Execute this stage of processing and return the resulting tuples that each conform to the columns.
 
Methods inherited from class org.jboss.dna.graph.query.process.ProcessingComponent
close, getColumns, getContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntersectComponent

public IntersectComponent(QueryContext context,
                          QueryResults.Columns columns,
                          Iterable<ProcessingComponent> sources,
                          boolean alreadySorted,
                          boolean all)
Method Detail

execute

public List<Object[]> execute()
Execute this stage of processing and return the resulting tuples that each conform to the columns.

Specified by:
execute in class ProcessingComponent
Returns:
the list of tuples, where each tuple corresonds to the columns; never null
See Also:
ProcessingComponent.execute()


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.