All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.qst.table.JoinBase Maven / Gradle / Ivy

There is a newer version: 0.37.4
Show newest version
//
// 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