org.apache.oodt.cas.filemgr.tools
Class QueryTool

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.tools.QueryTool

public final class QueryTool
extends Object

Version:
$Revision: 9683 $

A tool to return product ids given a Query against the File Manager.

Author:
mattmann, bfoster

Constructor Summary
QueryTool(URL fmUrl)
           
 
Method Summary
 void generateCASQuery(Query casQuery, org.apache.lucene.search.Query luceneQuery)
           
static void main(String[] args)
           
static org.apache.lucene.search.Query parseQuery(String query)
           
 List query(Query query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTool

public QueryTool(URL fmUrl)
          throws InstantiationException
Throws:
InstantiationException
Method Detail

parseQuery

public static org.apache.lucene.search.Query parseQuery(String query)

query

public List query(Query query)

generateCASQuery

public void generateCASQuery(Query casQuery,
                             org.apache.lucene.search.Query luceneQuery)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 1999-2011 Apache OODT. All Rights Reserved.