We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b1b36 commit b8fd33cCopy full SHA for b8fd33c
1 file changed
backend/src/main/java/com/bakdata/conquery/models/query/ManagedQuery.java
@@ -85,9 +85,9 @@ public Stream<EntityResult> streamResults(OptionalLong maybeLimit) {
85
@Override
86
public synchronized OptionalLong resultRowCount() {
87
ExecutionManager executionManager = getExecutionManager();
88
- Optional<ExecutionManager.ExecutionInfo> executionInfo = executionManager.tryGetExecutionInfo(getId());
+ Optional<ExecutionManager.InternalExecutionInfo> executionInfo = executionManager.tryGetExecutionInfo(getId());
89
90
- return executionInfo.map(ExecutionManager.InternalExecutionInfo.class::cast)
+ return executionInfo
91
.map(ExecutionManager.InternalExecutionInfo::getResultCount)
92
.map(OptionalLong::of)
93
.orElse(OptionalLong.empty());
0 commit comments