teragrep / pth_06

Teragrep Datasource for Apache Spark
GNU Affero General Public License v3.0
0 stars 5 forks source link

Refactor else-if statement usage in cfe_39integration-rebase branch #35

Open Tiihott opened 4 months ago

Tiihott commented 4 months ago

Description The else-if statement usage is problematic in ArchiveMicroStreamReader.java, as the number of else-if statements doubles with every new datasource added (8 statements with 3 datasources). Refactoring is thus needed for that section of the code. DatasourceOffset.java and SerializedDatasourceOffset.java will need refactoring to achieve this.