org.LexGrid.LexBIG.Impl.dataAccess
Class MetaDataQuery

java.lang.Object
  extended by org.LexGrid.LexBIG.Impl.dataAccess.MetaDataQuery

public class MetaDataQuery
extends java.lang.Object

Class to make Lucene Query snippits for a metadata query.

Version:
subversion $Revision: $ checked in on $Date: $
Author:
Dan Armbrust, Kevin Peterson

Constructor Summary
MetaDataQuery()
           
 
Method Summary
static org.apache.lucene.search.Query makeCodingSchemeRestriction(AbsoluteCodingSchemeVersionReference acsvr)
           
static org.apache.lucene.search.Query makePropertyParentRestriction(java.lang.String[] propertyParents)
           
static org.apache.lucene.search.Query makePropertyRestriction(java.lang.String[] properties)
           
static org.apache.lucene.search.Query makeValueRestriction(java.lang.String matchText, java.lang.String matchAlgorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataQuery

public MetaDataQuery()
Method Detail

makeCodingSchemeRestriction

public static org.apache.lucene.search.Query makeCodingSchemeRestriction(AbsoluteCodingSchemeVersionReference acsvr)
                                                                  throws LBParameterException
Throws:
LBParameterException

makePropertyRestriction

public static org.apache.lucene.search.Query makePropertyRestriction(java.lang.String[] properties)
                                                              throws LBParameterException
Throws:
LBParameterException

makePropertyParentRestriction

public static org.apache.lucene.search.Query makePropertyParentRestriction(java.lang.String[] propertyParents)
                                                                    throws LBParameterException
Throws:
LBParameterException

makeValueRestriction

public static org.apache.lucene.search.Query makeValueRestriction(java.lang.String matchText,
                                                                  java.lang.String matchAlgorithm)
                                                           throws LBParameterException
Throws:
LBParameterException

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.