public class JoinQuery extends Object implements MultiColumnQuery
JoinQuery implements a query that performs a join.| Constructor and Description |
|---|
JoinQuery(MultiColumnQuery left,
MultiColumnQuery right,
JoinType joinType,
JoinConditionImpl joinCondition,
NamespaceMappings nsMappings,
HierarchyManager hmgr)
Creates a new join query.
|
| Modifier and Type | Method and Description |
|---|---|
MultiColumnQueryHits |
execute(JackrabbitIndexSearcher searcher,
Ordering[] orderings,
long resultFetchHint)
Executes this query and returns multi column query hits.
|
public JoinQuery(MultiColumnQuery left, MultiColumnQuery right, JoinType joinType, JoinConditionImpl joinCondition, NamespaceMappings nsMappings, HierarchyManager hmgr)
left - the left side of the query.right - the right side of the query.joinType - the join type.joinCondition - the join condition.nsMappings - namespace mappings of this indexhmgr - the hierarchy manager of the workspace.public MultiColumnQueryHits execute(JackrabbitIndexSearcher searcher, Ordering[] orderings, long resultFetchHint) throws IOException
execute in interface MultiColumnQuerysearcher - the index searcher.orderings - the orderings.resultFetchHint - the result fetch hint.IOException - if an error occurs while executing the query.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.