ModeShape Distribution 3.3.0.Final

org.modeshape.jcr.query.process
Class ProjectComponent

java.lang.Object
  extended by org.modeshape.jcr.query.process.ProcessingComponent
      extended by org.modeshape.jcr.query.process.DelegatingComponent
          extended by org.modeshape.jcr.query.process.ProjectComponent

public class ProjectComponent
extends DelegatingComponent

A ProcessingComponent implementation that performs a PROJECT operation to reduce the columns that appear in the results.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modeshape.jcr.query.process.ProcessingComponent
ProcessingComponent.DynamicOperation
 
Constructor Summary
ProjectComponent(ProcessingComponent delegate, List<Column> columns)
           
 
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.modeshape.jcr.query.process.DelegatingComponent
close, delegate
 
Methods inherited from class org.modeshape.jcr.query.process.ProcessingComponent
createDynamicOperation, createSortComparator, emptyTuples, getColumns, getContext, getLocationIndexes, problems
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectComponent

public ProjectComponent(ProcessingComponent delegate,
                        List<Column> columns)
Method Detail

execute

public List<Object[]> execute()
Description copied from class: ProcessingComponent
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

ModeShape Distribution 3.3.0.Final

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