Class BaseSelector
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseSelector
-
- Direct Known Subclasses:
LuceneSelector
public class BaseSelector extends java.lang.Object implements Selector
- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description BaseSelector(QName type, java.lang.String alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlias()
The alias or name for the selector This must be unique across all selectors in the queryJoinType
getJoinType()
Selector
getSelector(java.lang.String name)
java.util.List<java.util.Set<java.lang.String>>
getSelectorGroups(FunctionEvaluationContext functionContext)
java.util.Map<java.lang.String,Selector>
getSelectors()
QName
getType()
The qname of the type or aspect to selectvoid
setJoinType(JoinType joinType)
java.lang.String
toString()
-
-
-
Constructor Detail
-
BaseSelector
public BaseSelector(QName type, java.lang.String alias)
-
-
Method Detail
-
getAlias
public java.lang.String getAlias()
Description copied from interface:Selector
The alias or name for the selector This must be unique across all selectors in the query
-
getJoinType
public JoinType getJoinType()
- Specified by:
getJoinType
in interfaceSource
-
setJoinType
public void setJoinType(JoinType joinType)
- Specified by:
setJoinType
in interfaceSource
-
getType
public QName getType()
Description copied from interface:Selector
The qname of the type or aspect to select
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getSelectors
public java.util.Map<java.lang.String,Selector> getSelectors()
- Specified by:
getSelectors
in interfaceSource
-
getSelector
public Selector getSelector(java.lang.String name)
- Specified by:
getSelector
in interfaceSource
-
getSelectorGroups
public java.util.List<java.util.Set<java.lang.String>> getSelectorGroups(FunctionEvaluationContext functionContext)
- Specified by:
getSelectorGroups
in interfaceSource
-
-