Exemple #1
0
        private static IteratorInput[] GetIteratorInput(RowBufferEntry[] allEntries, RowBufferEntry[] neededEntries)
        {
            IteratorInput[] result = new IteratorInput[neededEntries.Length];

            for (int i = 0; i < neededEntries.Length; i++)
            {
                result[i]             = new IteratorInput();
                result[i].SourceIndex = Array.IndexOf(allEntries, neededEntries[i]);
            }

            return(result);
        }
Exemple #2
0
		private static IteratorInput[] GetIteratorInput(RowBufferEntry[] allEntries, RowBufferEntry[] neededEntries)
		{
			IteratorInput[] result = new IteratorInput[neededEntries.Length];

			for (int i = 0; i < neededEntries.Length; i++)
			{
				result[i] = new IteratorInput();
				result[i].SourceIndex = Array.IndexOf(allEntries, neededEntries[i]);
			}

			return result;
		}