org.gcube.indexmanagement.gcqlwrapper
Class GcqlProcessor

java.lang.Object
  extended by org.gcube.indexmanagement.gcqlwrapper.GcqlProcessor
Direct Known Subclasses:
BDBGcqlProcessor, GeoGcqlProcessor, LuceneGcqlProcessor

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

Author:
bill

Field Summary
protected  RRadaptor adaptor
           
protected  ArrayList<String> presentableFields
           
protected  ArrayList<String> searchableFields
           
 
Constructor Summary
GcqlProcessor()
           
 
Method Summary
protected  String findPresentable(String proj)
           
abstract  GcqlQueryContainer processQuery(ArrayList<String> presentableFields, ArrayList<String> searchableFields, String gCQLQuery, RRadaptor adaptor)
           
protected static String removeQuotes(String term)
           
protected static String[] splitTerms(String term)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

presentableFields

protected ArrayList<String> presentableFields

searchableFields

protected ArrayList<String> searchableFields

adaptor

protected RRadaptor adaptor
Constructor Detail

GcqlProcessor

public GcqlProcessor()
Method Detail

processQuery

public abstract GcqlQueryContainer processQuery(ArrayList<String> presentableFields,
                                                ArrayList<String> searchableFields,
                                                String gCQLQuery,
                                                RRadaptor adaptor)
                                         throws Exception
Throws:
Exception

findPresentable

protected String findPresentable(String proj)

splitTerms

protected static String[] splitTerms(String term)

removeQuotes

protected static String removeQuotes(String term)


Copyright © 2012. All Rights Reserved.