DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Private Attributes | List of all members
Deveel.Data.Index.ColumnIndex.SubsetIndexComparer Class Reference
Inheritance diagram for Deveel.Data.Index.ColumnIndex.SubsetIndexComparer:
Deveel.Data.Index.IIndexComparer< int >

Public Member Functions

 SubsetIndexComparer (DataObject[] subsetList)
 
int CompareValue (int index, DataObject val)
 
int Compare (int index1, int index2)
 
- Public Member Functions inherited from Deveel.Data.Index.IIndexComparer< int >
int CompareValue (T index, DataObject value)
 Compares a value contained in the underlying index at the given position and the More...
 
int Compare (T index1, T index2)
 Comnpares two values referenced by the indices given. More...
 

Private Attributes

readonly DataObject[] subsetList
 

Detailed Description

Definition at line 319 of file ColumnIndex.cs.

Constructor & Destructor Documentation

Deveel.Data.Index.ColumnIndex.SubsetIndexComparer.SubsetIndexComparer ( DataObject[]  subsetList)
inline

Definition at line 322 of file ColumnIndex.cs.

322  {
323  this.subsetList = subsetList;
324  }

Member Function Documentation

int Deveel.Data.Index.ColumnIndex.SubsetIndexComparer.Compare ( int  index1,
int  index2 
)
inline

Definition at line 331 of file ColumnIndex.cs.

331  {
332  throw new NotSupportedException("Shouldn't be called!");
333  }
int Deveel.Data.Index.ColumnIndex.SubsetIndexComparer.CompareValue ( int  index,
DataObject  val 
)
inline

Definition at line 326 of file ColumnIndex.cs.

326  {
327  var cell = subsetList[index];
328  return cell.CompareTo(val);
329  }
int CompareTo(DataObject other)
Definition: DataObject.cs:131

Member Data Documentation

readonly DataObject [] Deveel.Data.Index.ColumnIndex.SubsetIndexComparer.subsetList
private

Definition at line 320 of file ColumnIndex.cs.


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