DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Provides a set of extension methods to ITable and IMutableTable objects. More...
Static Public Member Functions | |
static DataObject | GetValue (this ITable table, int rowIndex, ObjectName columnName) |
static DataObject | GetValue (this ITable table, int rowIndex, string columnName) |
static DataObject | GetLastValue (this ITable table, int columnOffset) |
static DataObject | GetLastValue (this ITable table, string columnName) |
static DataObject[] | GetLastValues (this ITable table, int[] columnOffsets) |
static DataObject | GetFirstValue (this ITable table, int columnOffset) |
static DataObject | GetFirstValue (this ITable table, string columnName) |
static DataObject[] | GetFirstValues (this ITable table, int[] columnOffsets) |
static DataObject | GetSingleValue (this ITable table, int columnOffset) |
static DataObject | GetSingleValue (this ITable table, string columnName) |
static DataObject[] | GetSingleValues (this ITable table, int[] columnOffsets) |
static Row | GetRow (this ITable table, int rowNumber) |
static IEnumerable< int > | FindKeys (this ITable table, int[] columnOffsets, DataObject[] keyValue) |
static int | IndexOfColumn (this ITable table, string columnName) |
static int | IndexOfColumn (this ITable table, ObjectName columnName) |
static IEnumerable< int > | SelectRowsEqual (this ITable table, int columnIndex, DataObject value) |
static IEnumerable< int > | SelectRowsEqual (this ITable table, string columnName, DataObject value) |
static IEnumerable< int > | SelectNotEqual (this ITable table, int columnOffset, DataObject value) |
static IEnumerable< int > | SelectNotEqual (this ITable table, int columnOffset, ISqlObject value) |
static IEnumerable< int > | SelectRowsEqual (this ITable table, int columnIndex1, DataObject value1, int columnIndex2, DataObject value2) |
static IEnumerable< int > | SelectRowsRange (this ITable table, int column, IndexRange[] ranges) |
static IEnumerable< int > | SelectRowsGreater (this ITable table, int columnOffset, DataObject value) |
static IEnumerable< int > | SelectRowsGreater (this ITable table, int columnOffset, ISqlObject value) |
static IEnumerable< int > | SelectRowsGreaterOrEqual (this ITable table, int columnOffset, DataObject value) |
static IEnumerable< int > | SelectRowsGreaterOrEqual (this ITable table, int columnOffset, ISqlObject value) |
static IEnumerable< int > | SelecRowsLess (this ITable table, int columnOffset, DataObject value) |
static IEnumerable< int > | SelecRowsLess (this ITable table, int columnOffset, ISqlObject value) |
static IEnumerable< int > | SelectRowsLessOrEqual (this ITable table, int columnOffset, DataObject value) |
static IEnumerable< int > | SelectRowsLessOrEqual (this ITable table, int columnOffset, ISqlObject value) |
static IEnumerable< int > | SelectAllRows (this ITable table, int columnOffset) |
static IEnumerable< int > | SelectAllRows (this ITable table) |
static IEnumerable< int > | SelectLast (this ITable table, int columnOffset) |
static IEnumerable< int > | SelectFirst (this ITable table, int columnOffset) |
static IEnumerable< int > | SelectRows (this ITable table, IVariableResolver resolver, IRequest context, SqlBinaryExpression expression) |
static IEnumerable< int > | SelectRows (this ITable table, int[] columnOffsets, SqlExpressionType op, DataObject[] values) |
static IEnumerable< int > | SelectRowsBetween (this ITable table, int column, DataObject minCell, DataObject maxCell) |
static IEnumerable< int > | SelectRows (this ITable table, int column, SqlExpressionType op, DataObject value) |
static IEnumerable< int > | Search (this ITable table, int column, string pattern) |
static IEnumerable< int > | Search (this ITable table, int column, string pattern, char escapeChar) |
static ITable | SelectEqual (this ITable table, int columnIndex, DataObject value) |
static ITable | SelectEqual (this ITable table, string columnName, DataObject value) |
static ITable | SelectAll (this ITable table, int columnOffset) |
static ITable | Select (this ITable table, IRequest context, SqlExpression expression) |
static ITable | SimpleSelect (this ITable table, IRequest context, ObjectName columnName, SqlExpressionType op, SqlExpression exp) |
static ITable | ExhaustiveSelect (this ITable table, IRequest context, SqlExpression expression) |
static IEnumerable< int > | SelectFromPattern (this ITable table, int column, SqlExpressionType op, DataObject ob) |
static ITable | EmptySelect (this ITable table) |
static ITable | DistinctBy (this ITable table, int[] columns) |
static ITable | DistinctBy (this ITable table, ObjectName[] columnNames) |
static ITable | SelectRange (this ITable thisTable, ObjectName columnName, IndexRange[] ranges) |
static bool | AllRowsMatchColumnValue (this ITable table, int columnOffset, SqlExpressionType op, DataObject value) |
static ITable | SelectAnyAllNonCorrelated (this ITable table, ObjectName[] leftColumns, SqlExpressionType op, ITable rightTable) |
static ITable | Union (this ITable thisTable, ITable otherTable) |
static IEnumerable< int > | SelectRowsIn (this ITable table, ITable other, int column1, int column2) |
This implements the in command. More... | |
static IEnumerable< int > | SelectRowsIn (this ITable table, ITable other, int[] t1Cols, int[] t2Cols) |
A multi-column version of IN . More... | |
static IEnumerable< int > | SelectRowsNotIn (this ITable table, ITable other, int col1, int col2) |
This implements the not in command. More... | |
static IEnumerable< int > | SelectRowsNotIn (this ITable table, ITable other, int[] t1Cols, int[] t2Cols) |
A multi-column version of NOT IN. More... | |
static ITable | NotIn (this ITable table, ITable otherTable, int[] tableColumns, int[] otherColumns) |
static ITable | Composite (this ITable table, ITable other, CompositeFunction function, bool all) |
static ITable | Execept (this ITable table, ITable other, bool all) |
static ITable | Intersect (this ITable table, ITable other, bool all) |
static ITable | Join (this ITable table, ITable otherTable, bool quick) |
static ITable | NaturalJoin (this ITable table, ITable otherTable) |
static ITable | Join (this ITable table, IRequest context, ITable other, ObjectName columnName, SqlExpressionType operatorType, SqlExpression expression) |
static ITable | SimpleJoin (this ITable thisTable, IRequest context, ITable other, SqlBinaryExpression binary) |
static ITable | OuterJoin (this ITable table, ITable rightTable) |
static ITable | EquiJoin (this ITable table, IRequest context, ITable other, ObjectName[] leftColumns, ObjectName[] rightColumns) |
static IEnumerable< int > | OrderRowsByColumns (this ITable table, int[] columns) |
static ITable | OrderBy (this ITable table, int[] columns) |
static ITable | OrderBy (this ITable table, int columnIndex, bool ascending) |
static ITable | OrderBy (this ITable table, ObjectName columnName, bool ascending) |
static ITable | OrderBy (this ITable table, ObjectName[] columnNames, bool[] ascending) |
static ITable | OrderBy (this ITable table, string columnName, bool ascending) |
static ITable | Subset (this ITable table, ObjectName[] columnNames, ObjectName[] aliases) |
static bool | Exists (this ITable table, int columnOffset, DataObject value) |
static bool | Exists (this ITable table, int columnOffset1, DataObject value1, int columnOffset2, DataObject value2) |
static ITable | ColumnMerge (this ITable table, ITable other) |
static Dictionary< string, ISqlObject > | ToDictionary (this ITable table) |
Static Private Member Functions | |
static DataObject | MakeObject (this ITable table, int columnOffset, ISqlObject value) |
static ITable | AsVirtual (this ITable table, Func< IEnumerable< int >> selector) |
Provides a set of extension methods to ITable and IMutableTable objects.
Definition at line 34 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 747 of file TableQueryExtensions.cs.
|
inlinestaticprivate |
Definition at line 1380 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1384 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1067 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 662 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 695 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 655 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1259 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1071 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 586 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1372 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1376 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 104 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 61 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 66 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 70 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 45 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 50 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 54 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 98 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 77 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 83 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 87 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 37 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 41 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 146 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 153 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1075 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1083 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1135 of file TableQueryExtensions.cs.
|
inlinestaticprivate |
Definition at line 138 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1131 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1063 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1309 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1323 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1336 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1344 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1354 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1299 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1218 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 325 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 329 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 215 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 219 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 476 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 472 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 231 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 235 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 752 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 463 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 468 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 243 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 620 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 239 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 174 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 178 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 705 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 247 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 272 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 292 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 280 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 166 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 170 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 182 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 199 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 203 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 207 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 211 of file TableQueryExtensions.cs.
|
inlinestatic |
This implements the in
command.
table | |
other | |
column1 | |
column2 |
Definition at line 921 of file TableQueryExtensions.cs.
|
inlinestatic |
A multi-column version of IN
.
table | |
other | |
t1Cols | |
t2Cols |
Definition at line 991 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 223 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 227 of file TableQueryExtensions.cs.
|
inlinestatic |
This implements the not in
command.
table | |
other | |
col1 | |
col2 |
Issue: This will be less efficient than in if table has many rows and other has few rows.
Definition at line 1010 of file TableQueryExtensions.cs.
|
inlinestatic |
A multi-column version of NOT IN.
table1 | |
other | |
t1Cols | |
t2Cols |
Definition at line 1056 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 195 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1168 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 499 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1360 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 1402 of file TableQueryExtensions.cs.
|
inlinestatic |
Definition at line 882 of file TableQueryExtensions.cs.