| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class ScanQueryContext extends QueryContext |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * The maximum number of rows returned when time ordering is used. Overrides the identically named config. |
||
| 10 | * Default: druid.query.scan.maxRowsQueuedForOrdering |
||
| 11 | * |
||
| 12 | * @param int $maxRowsQueuedForOrdering |
||
| 13 | * |
||
| 14 | * @return $this |
||
| 15 | */ |
||
| 16 | 5 | public function setMaxRowsQueuedForOrdering(int $maxRowsQueuedForOrdering): self |
|
| 17 | { |
||
| 18 | 5 | $this->properties['maxRowsQueuedForOrdering'] = $maxRowsQueuedForOrdering; |
|
| 19 | |||
| 20 | 5 | return $this; |
|
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The maximum number of segments scanned per historical when time ordering is used. Overrides the identically |
||
| 25 | * named config. |
||
| 26 | * Default: druid.query.scan.maxSegmentPartitionsOrderedInMemory |
||
| 27 | * |
||
| 28 | * @param int $maxSegmentPartitionsOrderedInMemory |
||
| 29 | * |
||
| 30 | * @return $this |
||
| 31 | */ |
||
| 32 | 1 | public function setMaxSegmentPartitionsOrderedInMemory(int $maxSegmentPartitionsOrderedInMemory): self |
|
| 37 | } |
||
| 38 | } |