public PartitionPipe( PartitionStreamable <TPartitionKey, TPayload> stream, IStreamObserver <PartitionKey <TPartitionKey>, TPayload> observer) : base(stream, observer) { this.keySelector = stream.KeySelector; this.keySelectorFunc = this.keySelector.Compile(); this.partitionLag = stream.PartitionLag; this.l1Pool = MemoryManager.GetMemoryPool <PartitionKey <TPartitionKey>, TPayload>(stream.Properties.IsColumnar); }
public PartitionPipe( PartitionStreamable <TPartitionKey, TPayload> stream, IStreamObserver <PartitionKey <TPartitionKey>, TPayload> observer) : base(stream, observer) { this.keyComparerGetHashCode = EqualityComparerExpression <TPartitionKey> .DefaultGetHashCodeFunction; this.keySelector = stream.KeySelector; this.keySelectorFunc = this.keySelector.Compile(); this.partitionLag = stream.PartitionLag; this.l1Pool = MemoryManager.GetMemoryPool <PartitionKey <TPartitionKey>, TPayload>(stream.Properties.IsColumnar); }