Debian Codegraph @

src/main/org/h2/expression/aggregate/AggregateDataBinarySet.java

raw
1 /*
2 * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0,
3 * and the EPL 1.0 (https://h2database.com/html/license.html).
4 * Initial Developer: H2 Group
5 */
6 package org.h2.expression.aggregate;
7
8 import org.h2.engine.SessionLocal;
9 import org.h2.message.DbException;
10 import org.h2.value.Value;
11
12 /**
13 * Aggregate data of binary set functions.
14 */
15 abstract class AggregateDataBinarySet extends AggregateData {
16
17 abstract void add(SessionLocal session, Value yValue, Value xValue);
18
19 @Override
20 final void add(SessionLocal session, Value v) {
21 throw DbException.getInternalError();
22 }
23
24 }