-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multi mapping string selects (#3613)
Implementation of mappable Selects that produce multiple output values from a single intermediate value. Values are output unique. This feature is enabled by `com.bakdata.conquery.models.index.MapInternToExternMapper#allowMultiple` which will change the selects using the Mapping from `STRING` to `LIST[STRING]`. You can use this feature to associate multiple values with a single key via CSV-mapping.
- Loading branch information
1 parent
e0dc145
commit 3c49cfa
Showing
44 changed files
with
653 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
backend/src/main/java/com/bakdata/conquery/models/index/AbstractIndexKey.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
backend/src/main/java/com/bakdata/conquery/models/index/Index.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
package com.bakdata.conquery.models.index; | ||
|
||
import java.util.Collection; | ||
import java.util.Map; | ||
import javax.annotation.CheckForNull; | ||
|
||
public interface Index<T extends IndexKey<? extends Index<T>>> { | ||
public interface Index<V> { | ||
|
||
void put(String key, Map<String, String> templateToConcrete); | ||
|
||
int size(); | ||
|
||
void finalizer(); | ||
|
||
@CheckForNull | ||
V external(String key); | ||
|
||
@CheckForNull | ||
Collection<V> externalMultiple(String key); | ||
|
||
} |
Oops, something went wrong.