Uses of Interface
org.modeshape.graph.query.QueryResults.Columns

Packages that use QueryResults.Columns
org.modeshape.graph The ModeShape Graph API defines the types that allow you to work with content organized as a graph. 
org.modeshape.graph.query The Query API provides a mechanism for building and executing queries. 
org.modeshape.graph.query.process This package defines the QueryProcessor interface, which is responsible for constructing for each query a tree of ProcessingComponent objects that each are responsible for processing a specific aspect of the query and returning the tuples to the parent component. 
org.modeshape.graph.request Sometimes its useful to work with a graph using objects that represent individual commands on the graph. 
org.modeshape.jcr.query   
 

Uses of QueryResults.Columns in org.modeshape.graph
 

Constructors in org.modeshape.graph with parameters of type QueryResults.Columns
Graph.AccessQueryProcessor(String graphSourceName, String workspaceName, QueryContext context, QueryResults.Columns columns, PlanNode accessNode)
           
 

Uses of QueryResults.Columns in org.modeshape.graph.query
 

Methods in org.modeshape.graph.query that return QueryResults.Columns
 QueryResults.Columns QueryResults.getColumns()
          Get the description of the columns contained in these results.
 QueryResults.Columns QueryResults.Columns.joinWith(QueryResults.Columns columns)
          Obtain a new definition for the query results that is a combination of the these columns and the supplied columns, where the columns from this object appear first, followed by columns from the supplied set.
 QueryResults.Columns QueryResults.Columns.subSelect(Column... columns)
          Obtain a new definition for the query results that can be used to reference the same tuples that use this columns definition, but that defines a subset of the columns in this definition.
 QueryResults.Columns QueryResults.Columns.subSelect(List<Column> columns)
          Obtain a new definition for the query results that can be used to reference the same tuples that use this columns definition, but that defines a subset of the columns in this definition.
 

Methods in org.modeshape.graph.query with parameters of type QueryResults.Columns
 boolean QueryResults.Columns.includes(QueryResults.Columns other)
          Determine whether this mapping includes all of the columns (and locations) in the supplied mapping.
 boolean QueryResults.Columns.isUnionCompatible(QueryResults.Columns other)
          Determine whether this column and the other are union-compatible (that is, having the same columns).
 QueryResults.Columns QueryResults.Columns.joinWith(QueryResults.Columns columns)
          Obtain a new definition for the query results that is a combination of the these columns and the supplied columns, where the columns from this object appear first, followed by columns from the supplied set.
 

Uses of QueryResults.Columns in org.modeshape.graph.query.process
 

Classes in org.modeshape.graph.query.process that implement QueryResults.Columns
 class FullTextSearchResultColumns
          A specialization of QueryResultColumns that can be used to represent results containing only the Location of the node and the
 class QueryResultColumns
          Defines the columns associated with the results of a query.
 

Methods in org.modeshape.graph.query.process that return QueryResults.Columns
protected  QueryResults.Columns DependentQueryComponent.colunnsOfDependentQuery()
          Get the columns definition for the results from the right component that is dependent upon the left.
protected  QueryResults.Columns DependentQueryComponent.colunnsOfIndependentQuery()
          Get the columns definition for the results from the left, independent query that is processed first.
protected  QueryResults.Columns QueryProcessor.createColumnsFor(PlanNode node, QueryResults.Columns projectedColumns)
           
 QueryResults.Columns QueryResults.getColumns()
          Get the description of the columns contained in these results.
 QueryResults.Columns ProcessingComponent.getColumns()
          Get the column definitions.
 QueryResults.Columns QueryResultColumns.joinWith(QueryResults.Columns rightColumns)
          Obtain a new definition for the query results that is a combination of the these columns and the supplied columns, where the columns from this object appear first, followed by columns from the supplied set.
protected  QueryResults.Columns JoinComponent.leftColunns()
          Get the columns definition for the results from the left side of the join.
protected  QueryResults.Columns JoinComponent.rightColumns()
          Get the columns definition for the results from the right side of the join.
 QueryResults.Columns QueryResultColumns.subSelect(Column... columns)
          Obtain a new definition for the query results that can be used to reference the same tuples that use this columns definition, but that defines a subset of the columns in this definition.
 QueryResults.Columns QueryResultColumns.subSelect(List<Column> columns)
          Obtain a new definition for the query results that can be used to reference the same tuples that use this columns definition, but that defines a subset of the columns in this definition.
 

Methods in org.modeshape.graph.query.process with parameters of type QueryResults.Columns
protected abstract  ProcessingComponent QueryProcessor.createAccessComponent(QueryCommand originalQuery, QueryContext context, PlanNode accessNode, QueryResults.Columns resultColumns, SelectComponent.Analyzer analyzer)
          Create the ProcessingComponent that processes a single PlanNode.Type.ACCESS branch of a query plan.
protected  SelectComponent.ConstraintChecker SelectComponent.createChecker(TypeSystem types, Schemata schemata, QueryResults.Columns columns, Constraint constraint, Map<String,Object> variables, SelectComponent.Analyzer analyzer)
          Create the constraint evaluator that is used by the SelectComponent to evaluate the supplied criteria.
protected  SelectComponent.ConstraintChecker SelectComponent.createChecker(TypeSystem types, Schemata schemata, QueryResults.Columns columns, ProcessingComponent.DynamicOperation dynamicOperation, Operator operator, StaticOperand staticOperand)
           
protected  QueryResults.Columns QueryProcessor.createColumnsFor(PlanNode node, QueryResults.Columns projectedColumns)
           
protected  ProcessingComponent QueryProcessor.createComponent(QueryCommand originalQuery, QueryContext context, PlanNode node, QueryResults.Columns columns, SelectComponent.Analyzer analyzer)
          Method that is called to build up the ProcessingComponent objects that correspond to the optimized query plan.
protected  ProcessingComponent.DynamicOperation ProcessingComponent.createDynamicOperation(TypeSystem typeSystem, Schemata schemata, QueryResults.Columns columns, DynamicOperand operand)
          Create a ProcessingComponent.DynamicOperation instance that is able to evaluate the supplied DynamicOperand.
protected static JoinComponent.TupleMerger JoinComponent.createMerger(QueryResults.Columns joinColumns, QueryResults.Columns leftColumns, QueryResults.Columns rightColumns)
          Create a JoinComponent.TupleMerger implementation that will combine a tuple fitting the left columns with a tuple fitting the right columns.
protected  Comparator<Object[]> ProcessingComponent.createSortComparator(QueryContext context, QueryResults.Columns columns)
           
protected  Comparator<Object[]> SortValuesComponent.createSortComparator(QueryContext context, QueryResults.Columns columns, List<Ordering> orderings, Map<SelectorName,SelectorName> sourceNamesByAlias)
           
protected  Comparator<Object[]> SortValuesComponent.createSortComparator(QueryContext context, QueryResults.Columns columns, Ordering ordering, Map<SelectorName,SelectorName> sourceNamesByAlias)
           
 boolean QueryResultColumns.includes(QueryResults.Columns other)
          Determine whether this mapping includes all of the columns (and locations) in the supplied mapping.
protected  boolean MergeJoinComponent.isSameTuple(QueryResults.Columns columns, Object[] tuple1, Object[] tuple2)
           
 boolean QueryResultColumns.isUnionCompatible(QueryResults.Columns other)
          Determine whether this column and the other are union-compatible (that is, having the same columns).
 QueryResults.Columns QueryResultColumns.joinWith(QueryResults.Columns rightColumns)
          Obtain a new definition for the query results that is a combination of the these columns and the supplied columns, where the columns from this object appear first, followed by columns from the supplied set.
protected static boolean SetOperationComponent.unionCompatible(QueryResults.Columns columns, Iterable<ProcessingComponent> sources)
           
 

Constructors in org.modeshape.graph.query.process with parameters of type QueryResults.Columns
AbstractAccessComponent(QueryContext context, QueryResults.Columns columns, PlanNode accessNode)
           
DelegatingComponent(ProcessingComponent delegate, QueryResults.Columns overridingColumns)
           
ExceptComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
IntersectComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
NoResultsComponent(QueryContext context, QueryResults.Columns columns)
           
ProcessingComponent(QueryContext context, QueryResults.Columns columns)
           
QueryResults.TupleCursor(QueryResults.Columns columns, Iterator<Object[]> iterator)
           
QueryResults(QueryResults.Columns columns, QueryResults.Statistics statistics)
          Create an empty QueryResults object for the supplied context, command, and result columns.
QueryResults(QueryResults.Columns columns, QueryResults.Statistics statistics, List<Object[]> tuples)
          Create a results object for the supplied context, command, and result columns and with the supplied tuples.
QueryResults(QueryResults.Columns columns, QueryResults.Statistics statistics, List<Object[]> tuples, Problems problems, String plan)
          Create a results object for the supplied context, command, and result columns and with the supplied tuples.
QueryResults(QueryResults.Columns columns, QueryResults.Statistics statistics, Problems problems)
          Create an empty QueryResults object for the supplied context, command, and result columns.
SetOperationComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
UnionComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
 

Uses of QueryResults.Columns in org.modeshape.graph.request
 

Methods in org.modeshape.graph.request that return QueryResults.Columns
protected  QueryResults.Columns SearchRequest.columns()
          Get the specification of the columns for the results.
 QueryResults.Columns FullTextSearchRequest.getResultColumns()
          Get the specification of the columns for the results.
 QueryResults.Columns AccessQueryRequest.resultColumns()
          Get the specification of the columns for the results.
 

Methods in org.modeshape.graph.request with parameters of type QueryResults.Columns
protected  void SearchRequest.doSetResults(QueryResults.Columns resultColumns, List<Object[]> tuples, QueryResults.Statistics statistics)
          Set the results for this request.
 void FullTextSearchRequest.setResults(QueryResults.Columns resultColumns, List<Object[]> tuples, QueryResults.Statistics statistics)
          Set the results for this request.
 

Constructors in org.modeshape.graph.request with parameters of type QueryResults.Columns
AccessQueryRequest(String workspace, SelectorName tableName, QueryResults.Columns resultColumns, List<Constraint> andedConstraints, Limit limit, Schemata schemata, Map<String,Object> variables)
          Create a new request to execute the supplied query against the name workspace.
 

Uses of QueryResults.Columns in org.modeshape.jcr.query
 

Fields in org.modeshape.jcr.query declared as QueryResults.Columns
protected  QueryResults.Columns JcrQueryResult.QueryResultRowIterator.columns
           
 



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