-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/integrate object initialization upon parsing #3499
Feature/integrate object initialization upon parsing #3499
Conversation
backend/src/main/java/com/bakdata/conquery/io/jackson/Initializing.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
if (dataset == null) { | ||
// TODO remove this as the dataset can be derived from the storage and does not need to be explicitly declared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noch offen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wird jetzt über den Storage aufgelöst
int2ext = mapIndex.getIndex(new MapIndexKey(resolvedURI, internalColumn, externalTemplate)); | ||
MapIndexKey key = new MapIndexKey(resolvedURI, internalColumn, externalTemplate); | ||
try { | ||
int2ext = mapIndex.getIndex(key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
das heißt die werden jetzt schon beim reinladen initialisiert? Das halte ich für keine gute Idee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dadurch wird der Upload endlos verlangsamt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich kann das nach hinten verlagern, aber das parsen der Mappings ist normalerweise sehr fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nicht wenn man es seriell macht was ja dadurch implizit passiert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich probiere es mal mit einem wrap in ComputableFuture
…ture/integrate-object-initialization-upon-parsing # Conflicts: # backend/src/main/java/com/bakdata/conquery/mode/NamespaceHandler.java # backend/src/main/java/com/bakdata/conquery/models/worker/DatasetRegistry.java # backend/src/main/java/com/bakdata/conquery/models/worker/Namespace.java # backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminDatasetProcessor.java # backend/src/test/java/com/bakdata/conquery/integration/json/ConqueryTestSpec.java # backend/src/test/java/com/bakdata/conquery/models/datasets/concepts/tree/GroovyIndexedTest.java
…alization-upon-parsing
…alization-upon-parsing # Conflicts: # backend/src/test/java/com/bakdata/conquery/integration/json/ConqueryTestSpec.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mir fehlen nur dass die Exceptions gelogged werden.
backend/src/main/java/com/bakdata/conquery/models/config/XodusStoreFactory.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/index/IndexService.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/index/MapInternToExternMapper.java
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/index/MapInternToExternMapper.java
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/index/MapInternToExternMapper.java
Show resolved
Hide resolved
backend/src/main/java/com/bakdata/conquery/models/index/MapInternToExternMapper.java
Show resolved
Hide resolved
…ation more visible to the developer
backend/src/main/java/com/bakdata/conquery/models/index/IndexCreationException.java
Outdated
Show resolved
Hide resolved
…reationException.java corrects failure message Co-authored-by: awildturtok <[email protected]>
…alization-upon-parsing # Conflicts: # backend/src/main/java/com/bakdata/conquery/models/datasets/concepts/tree/TreeConcept.java
Next step towards caching.
Objects that are deserialized by jackson can be initialized automatically by jackson. This allows transparent and uniform initialization for deserialized object independent of if they stem from the api or storage