private Joiner(Index fromIndex, IndexCursor toCursor) { _fromIndex = fromIndex; _fromCols = _fromIndex.GetColumns(); _entryValues = new object[_fromCols.Count]; _toCursor = toCursor; }
public _Iterable_268(IndexCursor _enclosing, ICollection <string> columnNames, object [] entryValues) { this._enclosing = _enclosing; this.columnNames = columnNames; this.entryValues = entryValues; }
/// <summary> /// Creates a new Joiner based on the given index which backs a foreign-key /// relationship. /// </summary> /// <remarks> /// Creates a new Joiner based on the given index which backs a foreign-key /// relationship. The table of the given index will be the "from" table and /// the table on the other end of the relationship will be the "to" table. /// </remarks> /// <param name="fromIndex">the index backing one side of a foreign-key relationship</param> /// <exception cref="System.IO.IOException"></exception> public static HealthMarketScience.Jackcess.Joiner Create(Index fromIndex) { Index toIndex = fromIndex.GetReferencedIndex(); IndexCursor toCursor = IndexCursor.CreateCursor(toIndex.GetTable(), toIndex); // text lookups are always case-insensitive toCursor.SetColumnMatcher(CaseInsensitiveColumnMatcher.INSTANCE); return(new HealthMarketScience.Jackcess.Joiner(fromIndex, toCursor)); }
internal RowEntryIterator(IndexCursor _enclosing, ICollection <string> columnNames, object[] rowValues) : base(_enclosing, columnNames) { this._enclosing = _enclosing; this._rowValues = rowValues; try { this._hasNext = this._enclosing.FindRowByEntryImpl(rowValues, true); this._validRow = this._hasNext.Value; } catch (IOException e) { throw new InvalidOperationException(e.ToString()); } }
internal ReverseIndexDirHandler(IndexCursor _enclosing) : base(_enclosing) { this._enclosing = _enclosing; }
internal ForwardIndexDirHandler(IndexCursor _enclosing) : base(_enclosing) { this._enclosing = _enclosing; }