Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
6 | class HdfsInputSource implements InputSourceInterface |
||
7 | { |
||
8 | /** |
||
9 | * HDFS paths. Can be either a JSON array or comma-separated string of paths. Wildcards like * are supported in |
||
10 | * these paths. Empty files located under one of the given paths will be skipped. |
||
11 | * |
||
12 | * @var string[]|string |
||
13 | */ |
||
14 | protected $paths; |
||
15 | |||
16 | /** |
||
17 | * HdfsInputSource constructor. |
||
18 | * |
||
19 | * @param string[]|string $paths HDFS paths. Can be either a JSON array or comma-separated string of paths. Wildcards |
||
20 | * like * are supported in these paths. Empty files located under one of the given paths |
||
21 | * will be skipped. |
||
22 | */ |
||
23 | 1 | public function __construct($paths) |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return array<string,string|string[]> |
||
30 | */ |
||
31 | 1 | public function toArray(): array |
|
38 | } |