public class CatalogDataSourceFilter extends SelectionFilter implements SingleAttributeFilter
expressionString, filterString
filterId
CLASS_PROPERTY, VIEWKEY_PROPERTY
Constructor and Description |
---|
CatalogDataSourceFilter() |
CatalogDataSourceFilter(java.lang.String collectionKey) |
Modifier and Type | Method and Description |
---|---|
void |
applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.types.Request query,
java.lang.String stateName,
javax.portlet.PortletRequest request) |
java.lang.String |
getAttributeKey()
Gets the attribute key that this filter uses.
|
PropertyType |
getAttributeType()
Gets the attribute type that this filter uses.
|
protected com.endeca.mdex.eql_parser.types.ExpressionBase |
getExpression(javax.portlet.PortletRequest request)
gets the LQL expression in object form
|
java.lang.String |
getSourceCollectionKey()
Gets the source collection for the single attribute (if applicable).
|
void |
setAttributeKey(java.lang.String attrKey) |
void |
setAttributeType(PropertyType attributeType) |
void |
setSourceCollectionKey(java.lang.String collectionKey) |
applyToDiscoveryServiceQuery
getExpression, getExpressionString, initialize, initializeFromJSON, setExpression, setExpressionString, toString
beforeQueryStateAdd, beforeQueryStateRemove, getFilterId, isBaseFilter, setBaseFilter, toGroovyFilter, toSparkSqlFilter
clone, equals, equals, getCompareString, getName, getStateNameOverride, getVersion, getViewKey, hashCode, isInvalid, setInvalid, setName, setStateNameOverride, setVersion, setViewKey, upgrade
public CatalogDataSourceFilter()
public CatalogDataSourceFilter(java.lang.String collectionKey)
public void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.types.Request query, java.lang.String stateName, javax.portlet.PortletRequest request) throws QueryFunctionUnsupportedException
applyToDiscoveryServiceQuery
in class QueryFunction
QueryFunctionUnsupportedException
protected com.endeca.mdex.eql_parser.types.ExpressionBase getExpression(javax.portlet.PortletRequest request)
public java.lang.String getAttributeKey()
SingleAttributeFilter
getAttributeKey
in interface SingleAttributeFilter
public void setAttributeKey(java.lang.String attrKey)
setAttributeKey
in interface SingleAttributeFilter
public java.lang.String getSourceCollectionKey()
SingleAttributeFilter
getSourceCollectionKey
in interface SingleAttributeFilter
public void setSourceCollectionKey(java.lang.String collectionKey)
setSourceCollectionKey
in interface SingleAttributeFilter
public PropertyType getAttributeType()
SingleAttributeFilter
getAttributeType
in interface SingleAttributeFilter
public void setAttributeType(PropertyType attributeType)
setAttributeType
in interface SingleAttributeFilter
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.