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

Defines a row stored in the search engine index. More...

Inheritance diagram for Deveel.Data.Text.SearchTextRow:

Public Member Functions

 SearchTextRow (int rowIndex)
 
void SetValue (string columnName, string value)
 
string GetValue (string columnName)
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 

Properties

int RowIndex [get]
 Gets the index of the row in the database system coresponding to the row indexed by the search engine. More...
 

Private Member Functions

 SearchTextRow (SerializationInfo info, StreamingContext context)
 

Private Attributes

int rowIndex
 
Hashtable columns
 

Detailed Description

Defines a row stored in the search engine index.

Definition at line 25 of file SearchTextRow.cs.

Constructor & Destructor Documentation

Deveel.Data.Text.SearchTextRow.SearchTextRow ( int  rowIndex)
inline

Definition at line 27 of file SearchTextRow.cs.

27  {
28  this.rowIndex = rowIndex;
29  }
Deveel.Data.Text.SearchTextRow.SearchTextRow ( SerializationInfo  info,
StreamingContext  context 
)
inlineprivate

Definition at line 31 of file SearchTextRow.cs.

31  {
32  columns = (Hashtable) info.GetValue("Columns", typeof (Hashtable));
33  rowIndex = info.GetInt32("RowIndex");
34  }

Member Function Documentation

void Deveel.Data.Text.SearchTextRow.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)
inline

Definition at line 77 of file SearchTextRow.cs.

77  {
78  info.AddValue("Columns", columns, typeof (Hashtable));
79  info.AddValue("RowIndex", rowIndex);
80  }
string Deveel.Data.Text.SearchTextRow.GetValue ( string  columnName)
inline

Definition at line 65 of file SearchTextRow.cs.

65  {
66  if (columnName == null)
67  throw new ArgumentNullException("columnName");
68  if (columnName.Length == 0)
69  throw new ArgumentException();
70 
71  if (columns == null)
72  return null;
73 
74  return columns[columnName] as string;
75  }
void Deveel.Data.Text.SearchTextRow.SetValue ( string  columnName,
string  value 
)
inline

Definition at line 53 of file SearchTextRow.cs.

53  {
54  if (columnName == null)
55  throw new ArgumentNullException("columnName");
56  if (columnName.Length == 0)
57  throw new ArgumentException();
58 
59  if (columns == null)
60  columns = new Hashtable();
61 
62  columns[columnName] = value;
63  }

Member Data Documentation

Hashtable Deveel.Data.Text.SearchTextRow.columns
private

Definition at line 39 of file SearchTextRow.cs.

int Deveel.Data.Text.SearchTextRow.rowIndex
private

Definition at line 38 of file SearchTextRow.cs.

Property Documentation

int Deveel.Data.Text.SearchTextRow.RowIndex
get

Gets the index of the row in the database system coresponding to the row indexed by the search engine.

Definition at line 47 of file SearchTextRow.cs.


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