org.gcube.opensearch.opensearchlibrary.urlelements.extensions.time
Class TimeURLElement
java.lang.Object
org.gcube.opensearch.opensearchlibrary.urlelements.URLElementDecorator
org.gcube.opensearch.opensearchlibrary.urlelements.extensions.time.TimeURLElement
- All Implemented Interfaces:
- URLElement
public class TimeURLElement
- extends URLElementDecorator
|
Method Summary |
QueryBuilder |
getQueryBuilder()
Constructs and returns a QueryBuilder object that can be used to construct queries based
on the template contained in this query element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeURLElement
public TimeURLElement(Element url,
URLElement el)
getQueryBuilder
public QueryBuilder getQueryBuilder()
throws Exception
- Constructs and returns a QueryBuilder object that can be used to construct queries based
on the template contained in this query element. The exact type of QueryBuilder returned
depends on the type of the present URLElement instance
- Specified by:
getQueryBuilder in interface URLElement- Overrides:
getQueryBuilder in class URLElementDecorator
- Returns:
- A query builder that can be used to construct search queries
- Throws:
Exception - In case of other error during QueryBuilder construction- See Also:
URLElement.getQueryBuilder()
Copyright © 2013. All Rights Reserved.