virtual void setInputStream(unsigned index, CThorInput &_input, bool consumerOrdered) override { PARENT::setInputStream(index, _input, consumerOrdered); // JCSMORE - not sure why you ever want a look ahead on a sink like this? if (!isFastThrough(input)) setLookAhead(0, createRowStreamLookAhead(this, inputStream, queryRowInterfaces(input), INDEXWRITE_SMART_BUFFER_SIZE, true, false, RCUNBOUND, this, &container.queryJob().queryIDiskUsage())); }
virtual void setInputStream(unsigned index, CThorInput &_input, bool consumerOrdered) override { PARENT::setInputStream(index, _input, consumerOrdered); setLookAhead(0, createRowStreamLookAhead(this, inputStream, queryRowInterfaces(input), INDEXWRITE_SMART_BUFFER_SIZE, true, false, RCUNBOUND, this, &container.queryJob().queryIDiskUsage())); }
virtual void setInputStream(unsigned index, CThorInput &_input, bool consumerOrdered) override { PARENT::setInputStream(index, _input, consumerOrdered); if (global) // only want lookahead if global (hence serial) setLookAhead(0, createRowStreamLookAhead(this, inputStream, queryRowInterfaces(input), ENTH_SMART_BUFFER_SIZE, true, false, RCUNBOUND, NULL, &container.queryJob().queryIDiskUsage())); }
virtual void setInputStream(unsigned index, CThorInput &_input, bool consumerOrdered) override { PARENT::setInputStream(index, _input, consumerOrdered); inputCounter->setInputStream(inputStream); setLookAhead(0, createRowStreamLookAhead(this, inputCounter.get(), queryRowInterfaces(input), CHOOSESETSPLUS_SMART_BUFFER_SIZE, true, false, RCUNBOUND, this, &container.queryJob().queryIDiskUsage())); // read all input }
virtual void setInputStream(unsigned index, CThorInput &_input, bool consumerOrdered) override { PARENT::setInputStream(index, _input, consumerOrdered); if (!isFastThrough(input)) setLookAhead(0, createRowStreamLookAhead(this, inputStream, queryRowInterfaces(input), CHOOSESETS_SMART_BUFFER_SIZE, isSmartBufferSpillNeeded(this), false, RCUNBOUND, NULL, &container.queryJob().queryIDiskUsage())); }
void CDiskWriteSlaveActivityBase::setInputStream(unsigned index, CThorInput &_input, bool consumerOrdered) { PARENT::setInputStream(index, _input, consumerOrdered); if (dlfn.isExternal() && !firstNode()) setLookAhead(0, createRowStreamLookAhead(this, inputStream, queryRowInterfaces(input), PROCESS_SMART_BUFFER_SIZE, isSmartBufferSpillNeeded(this), grouped, RCUNBOUND, NULL, &container.queryJob().queryIDiskUsage())); }