Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.k_int.IR
Class IRQuery  view IRQuery download IRQuery.java

java.lang.Object
  extended bycom.k_int.IR.IRQuery

public class IRQuery
extends java.lang.Object

A Generic Information Retrieval Query


Field Summary
 java.util.Vector collections
          The collections to be searched
 java.util.Hashtable hints
          Hints might contain instructions on where to look for an answer, or the general subject area of the enquiry so that we can try and decide on some resources to route this particular enquiry to.
 QueryModel query
          A model of what the search is actually trying to find.
private static java.lang.String SORT_SYNTAX_PREFIX
          The string used to syntax used to indicate that the query object contains a PREFIX string
 java.lang.Object sorting
          Requested sorting instruction
 java.lang.String sorting_syntax
          What kind of object is the sorting instruction
 
Constructor Summary
IRQuery()
           
IRQuery(QueryModel query, java.lang.String coll)
           
IRQuery(QueryModel query, java.lang.String[] colls)
           
IRQuery(QueryModel query, java.util.Vector colls)
          Construct a new query.
 
Method Summary
 java.util.Vector getCollections()
           
 QueryModel getQueryModel()
           
 void setCollections(java.util.Vector collections)
           
 void setQueryModel(QueryModel query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SORT_SYNTAX_PREFIX

private static final java.lang.String SORT_SYNTAX_PREFIX
The string used to syntax used to indicate that the query object contains a PREFIX string

See Also:
Constant Field Values

collections

public java.util.Vector collections
The collections to be searched


query

public QueryModel query
A model of what the search is actually trying to find. Whatever the class is, it must implement the QueryModel interface so other components can convert the syntax of the expression into an RPN Tree. Default class will be PrefixString.


sorting_syntax

public java.lang.String sorting_syntax
What kind of object is the sorting instruction


sorting

public java.lang.Object sorting
Requested sorting instruction


hints

public java.util.Hashtable hints
Hints might contain instructions on where to look for an answer, or the general subject area of the enquiry so that we can try and decide on some resources to route this particular enquiry to.

Constructor Detail

IRQuery

public IRQuery()

IRQuery

public IRQuery(QueryModel query,
               java.lang.String[] colls)

IRQuery

public IRQuery(QueryModel query,
               java.lang.String coll)

IRQuery

public IRQuery(QueryModel query,
               java.util.Vector colls)
Construct a new query.

Method Detail

getQueryModel

public QueryModel getQueryModel()

setQueryModel

public void setQueryModel(QueryModel query)

getCollections

public java.util.Vector getCollections()

setCollections

public void setCollections(java.util.Vector collections)