org.gcube.opensearch.opensearchdatasource.processor
Class GcqlProcessor
java.lang.Object
org.gcube.opensearch.opensearchdatasource.processor.GcqlProcessor
- Direct Known Subclasses:
- OpenSearchGcqlProcessor
public abstract class GcqlProcessor
- extends Object
This class wraps the functionality needed to process
a gCQL query and produce data that can be used by a
resource that is implemented in a specific technology
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
presentableFields
protected List<String> presentableFields
searchableFields
protected List<String> searchableFields
GcqlProcessor
public GcqlProcessor()
parseQuery
public abstract search.library.util.cql.query.tree.GCQLNode parseQuery(String gCQLQuery)
throws Exception
- Throws:
Exception
processQuery
public abstract GcqlQueryContainer processQuery(List<String> presentableFields,
List<String> searchableFields)
throws Exception
- Throws:
Exception
findPresentable
protected String findPresentable(String proj)
splitTerms
public static String[] splitTerms(String term)
removeQuotes
public static String removeQuotes(String term)
Copyright © 2013. All Rights Reserved.