Exemplo n.º 1
0
 internal PartitionedStream(int partitionCount, IComparer <TKey> keyComparer, System.Linq.Parallel.OrdinalIndexState indexState)
 {
     this.m_partitions  = new QueryOperatorEnumerator <TElement, TKey> [partitionCount];
     this.m_keyComparer = keyComparer;
     this.m_indexState  = indexState;
 }
 protected void SetOrdinalIndexState(System.Linq.Parallel.OrdinalIndexState indexState)
 {
     this.m_indexState = indexState;
 }
 private UnaryQueryOperator(QueryOperator <TInput> child, bool outputOrdered, QuerySettings settings) : base(outputOrdered, settings)
 {
     this.m_indexState = System.Linq.Parallel.OrdinalIndexState.Shuffled;
     this.m_child      = child;
 }
Exemplo n.º 4
0
 internal BinaryQueryOperator(QueryOperator <TLeftInput> leftChild, QueryOperator <TRightInput> rightChild) : base(false, leftChild.SpecifiedQuerySettings.Merge(rightChild.SpecifiedQuerySettings))
 {
     this.m_indexState = System.Linq.Parallel.OrdinalIndexState.Shuffled;
     this.m_leftChild  = leftChild;
     this.m_rightChild = rightChild;
 }
Exemplo n.º 5
0
 public OrderingQueryOperator(QueryOperator <TSource> child, bool orderOn) : base(orderOn, child.SpecifiedQuerySettings)
 {
     this.m_child             = child;
     this.m_ordinalIndexState = this.m_child.OrdinalIndexState;
     this.m_orderOn           = orderOn;
 }
Exemplo n.º 6
0
 internal QueryExecutionOption(QueryOperator <TSource> source, QuerySettings settings) : base(source.OutputOrdered, settings.Merge(source.SpecifiedQuerySettings))
 {
     this.m_child      = source;
     this.m_indexState = this.m_child.OrdinalIndexState;
 }