com.raritantechnologies.verity
Class VerityQueryManager
java.lang.Object
com.raritantechnologies.verity.VerityQueryManager
- public class VerityQueryManager
- extends java.lang.Object
Manages the execution a queries on a Verity K2 Server.
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan, Glenn Robitaille
|
Method Summary |
VerityResultSet |
executeQuery(java.lang.String k2ServerSpec,
java.lang.String query,
java.lang.String[] collections,
java.lang.String[] collFields,
SourceLoginInfo[] searchSources,
int docCount,
int recStart,
int maxDocCount,
java.lang.String sortSpec)
Executes a query. |
java.lang.String[] |
getFields(java.lang.String k2ServerSpec,
java.lang.String[] collections)
|
boolean |
validate(ILoginInfo user)
ISecurityManager implementation: Check if we get a valid Ticket from Verity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerityQueryManager
public VerityQueryManager()
executeQuery
public VerityResultSet executeQuery(java.lang.String k2ServerSpec,
java.lang.String query,
java.lang.String[] collections,
java.lang.String[] collFields,
SourceLoginInfo[] searchSources,
int docCount,
int recStart,
int maxDocCount,
java.lang.String sortSpec)
throws QueryProcessorException
- Executes a query. The IResultSet is a set of result records.
- Throws:
QueryException
QueryProcessorException
validate
public boolean validate(ILoginInfo user)
- ISecurityManager implementation: Check if we get a valid Ticket from Verity
getFields
public java.lang.String[] getFields(java.lang.String k2ServerSpec,
java.lang.String[] collections)