DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Attributes | List of all members
Deveel.Data.Text.SearchResult Class Reference

Public Member Functions

 SearchResult (string query, int capacity)
 
void AddScore (int rowIndex, double score)
 
double GetScore (int rowIndex)
 

Properties

string Query [get]
 

Private Attributes

string query
 
Hashtable results
 

Detailed Description

Definition at line 20 of file SearchResult.cs.

Constructor & Destructor Documentation

Deveel.Data.Text.SearchResult.SearchResult ( string  query,
int  capacity 
)
inline

Definition at line 22 of file SearchResult.cs.

22  {
23  this.query = query;
24  results = new Hashtable(capacity);
25  }

Member Function Documentation

void Deveel.Data.Text.SearchResult.AddScore ( int  rowIndex,
double  score 
)
inline

Definition at line 40 of file SearchResult.cs.

40  {
41  results.Add(rowIndex, score);
42  }
double Deveel.Data.Text.SearchResult.GetScore ( int  rowIndex)
inline

Definition at line 44 of file SearchResult.cs.

44  {
45  return (double)results[rowIndex];
46  }

Member Data Documentation

string Deveel.Data.Text.SearchResult.query
private

Definition at line 29 of file SearchResult.cs.

Hashtable Deveel.Data.Text.SearchResult.results
private

Definition at line 30 of file SearchResult.cs.

Property Documentation

string Deveel.Data.Text.SearchResult.Query
get

Definition at line 34 of file SearchResult.cs.


The documentation for this class was generated from the following file: