
io.deephaven.qst.table.JoinBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-qst Show documentation
Show all versions of deephaven-qst Show documentation
The Deephaven Query Syntax Tree POJOs
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.qst.table;
import io.deephaven.api.JoinAddition;
import org.immutables.value.Value.Check;
public abstract class JoinBase extends TableBase implements Join {
@Check
final void checkAdditions() {
if (additions().stream().map(JoinAddition::newColumn).distinct().count() != additions()
.size()) {
throw new IllegalArgumentException(
"Invalid join additions, must not use the same output column multiple times.");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy